Skip to content

Commit

Permalink
adding region flag to annotatr
Browse files Browse the repository at this point in the history
  • Loading branch information
Melissa Gymrek authored and Melissa Gymrek committed Aug 31, 2024
1 parent a4bf277 commit fd8bfec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions trtools/annotaTR/annotaTR.py
Original file line number Diff line number Diff line change
Expand Up @@ -489,10 +489,10 @@ def main(args):

###### Load reader #######
reader = utils.LoadSingleReader(args.vcf, checkgz=True)
if args.region:
reader = reader(args.region)
if reader is None:
return 1
if args.region:
reader = reader(args.region)
if args.ref_panel is not None:
vcftype = refpanel_vcftype # should be same as refpanel
elif args.vcftype != 'auto':
Expand Down

0 comments on commit fd8bfec

Please sign in to comment.