Skip to content

Commit

Permalink
Update cidder
Browse files Browse the repository at this point in the history
  • Loading branch information
raufs authored Jul 6, 2024
1 parent 476f9b8 commit 9c6f4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cidder
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def cidder_main():
cdhit_result_prefix = outdir + 'CD-HIT_clustering.faa'
cdhit_cluster_file = cdhit_result_prefix + '.clstr'
cdhit_mem = 1000.0*memory
if cdhit_mem < 1:
if cdhit_mem > 0 and cdhit_mem < 1:
cdhit_mem = 1
cdhit_cmd = ['cd-hit', '-d', '0', '-T', str(cpus), '-M', str(cdhit_mem), cd_hit_params, '-i', combined_proteome_faa, '-o', cdhit_result_prefix]
try:
Expand Down

0 comments on commit 9c6f4fe

Please sign in to comment.