Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Beghini committed Apr 21, 2020
1 parent 13ac1f0 commit 46ef712
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion metaphlan/metaphlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,10 @@ def main():
@Ranks:superkingdom|phylum|class|order|family|genus|species|strain\n
@@TAXID\tRANK\tTAXPATH\tTAXPATHSN\tPERCENTAGE\n'''.format(pars["sample_id"]))
if not MPA2_OUTPUT:
outf.write('#clade_name\tNCBI_tax_id\trelative_abundance\tadditional_species\n')
if not pars['use_group_representative']:
outf.write('#clade_name\tNCBI_tax_id\trelative_abundance\tadditional_species\n')
else:
outf.write('#clade_name\tNCBI_tax_id\trelative_abundance\n')

cl2ab, _, tot_nreads = tree.relative_abundances(
pars['tax_lev']+"__" if pars['tax_lev'] != 'a' else None )
Expand Down

0 comments on commit 46ef712

Please sign in to comment.