Skip to content

Commit

Permalink
Merge pull request #105 from Ecogenomics/master
Browse files Browse the repository at this point in the history
mmap-file fixed
  • Loading branch information
pchaumeil authored Mar 18, 2019
2 parents 2bd8a00 + 0c8fb02 commit edca6e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions gtdbtk/VERSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
0.2.2
- Fix support for writing to a scratch file using pplacer (--mmap-file options).
0.2.1
- remove Perl dependencies
- remove Biolib,mpdl3,jinja dependencies
Expand Down
11 changes: 6 additions & 5 deletions gtdbtk/classify.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,12 @@ def place_genomes(self,
pplacer_json_out = os.path.join(
pplacer_out_dir, 'pplacer.{}.json'.format(marker_set_id))

cmd = 'pplacer -j {} -c {} -o {} {} > {} 2>&1'.format(self.cpus,
pplacer_ref_pkg,
pplacer_json_out,
user_msa_file,
pplacer_out)
cmd = 'pplacer -j {} -c {}{} -o {} {} > {}'.format(self.cpus,
pplacer_ref_pkg,
pplacer_mmap_file,
pplacer_json_out,
user_msa_file,
pplacer_out)

os.system(cmd)

Expand Down

0 comments on commit edca6e2

Please sign in to comment.