Skip to content

Commit

Permalink
Merge pull request #178 from sarah872/master
Browse files Browse the repository at this point in the history
Update metaphlan2krona.py
  • Loading branch information
abmiguez authored Jul 20, 2022
2 parents 5c3f386 + bf471e4 commit 4e8f573
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaphlan/utils/metaphlan2krona.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def main():

x_cells = x.split('\t')
lineage = '\t'.join(x_cells[0:(len(x_cells) -1)])
abundance = float(x_cells[-1].rstrip('\n'))
abundance = float(x_cells[-2].rstrip('\n'))

metaPhLan_FH.write('%s\n'%(str(abundance) + '\t' + lineage))

Expand Down

0 comments on commit 4e8f573

Please sign in to comment.