Skip to content

Commit

Permalink
Fixed missing nreads when using sam as input file
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Beghini authored Aug 27, 2020
1 parent 446ee61 commit 9059751
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metaphlan/metaphlan.py
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,7 @@ def main():
os.remove( pars['inp'] )

if ESTIMATE_UNK and pars['input_type'] == 'sam':
n_metagenome_reads = pars['nreads']
if not n_metagenome_reads and not pars['nreads']:
sys.stderr.write(
"Please provide the size of the metagenome using the "
Expand Down

0 comments on commit 9059751

Please sign in to comment.