Skip to content

Commit

Permalink
bug fix with invocation of MetaBAT
Browse files Browse the repository at this point in the history
  • Loading branch information
donovan-parks committed Oct 23, 2022
1 parent 24dac84 commit 659f611
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions unitem/VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
1.2.3
- bug fix with invocation of MetaBAT

1.2.2
- added option to specify random seed

Expand Down
2 changes: 1 addition & 1 deletion unitem/bin.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def metabat(self, bin_file_out, preset):
self.logger.info(f"Running MetaBAT v1 with the {preset} preset.")
bin_dir = os.path.join(self.output_dir, f'metabat_{preset}')
bin_prefix = os.path.join(bin_dir, f'mb_{preset}')
cmd = 'metabat1 -t {} -s {}-m {} -i {} -a {} -o {} --{}'.format(
cmd = 'metabat1 -t {} -s {} -m {} -i {} -a {} -o {} --{}'.format(
self.cpus,
self.seed,
self.min_contig_len,
Expand Down

0 comments on commit 659f611

Please sign in to comment.