Skip to content

Commit

Permalink
Merge pull request #30 from jodyphelan/dev
Browse files Browse the repository at this point in the history
updates and bug fixes
  • Loading branch information
jodyphelan authored Jul 12, 2023
2 parents 6d913de + 8083cae commit d65a0ba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ntm_profiler/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ def get_mash_hit(args):
pp.run_cmd(f"mash dist -m 2 {args.species_conf['mash_db']} {reads} | sort -gk3 | head > {args.files_prefix}.mash_dist.txt")
elif args.fasta:
pp.run_cmd(f"mash dist {args.species_conf['mash_db']} {args.fasta} | sort -gk3 | head > {args.files_prefix}.mash_dist.txt")

elif args.bam:
pp.run_cmd(f"samtools fastq {args.bam} | mash dist -m 2 {args.species_conf['mash_db']} - | sort -gk3 | head > {args.files_prefix}.mash_dist.txt")

result = {
"prediction_method":"mash",
"prediction":[],
Expand Down

0 comments on commit d65a0ba

Please sign in to comment.