Skip to content

Commit

Permalink
fix for spoligotype from bam
Browse files Browse the repository at this point in the history
  • Loading branch information
jodyphelan committed Dec 26, 2024
1 parent 5a9644a commit f8a5070
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tbprofiler/spoligotyping.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import logging

def spoligotype(args):
if args.bam:
args.bam_file = args.bam
if "bam_file" in vars(args) and args.bam_file:
result = bam2spoligotype(args.bam_file,args.files_prefix,args.conf,threads=args.threads,max_mem=args.ram)
elif args.read1:
Expand Down

0 comments on commit f8a5070

Please sign in to comment.