Skip to content

Commit 2fb0b75

Browse files
authored
Merge pull request #126 from brwnj/fixes-annotation-bug
Fixes annotation bug
2 parents f2c7bb0 + 2c5b8ae commit 2fb0b75

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

samplot/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env python
2-
__version__ = "1.1.0"
2+
__version__ = "1.1.1"

samplot/samplot_vcf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,6 @@ def vcf(parser):
468468
print("Skipping {} at {}:{}-{}, variant length greater than max_mb".format(
469469
svtype, variant.chrom, variant.start, variant.stop),file=sys.stderr)
470470
continue
471-
472471
if (variant.stop - variant.start < args.min_bp) and translocation_chrom is None:
473472
if args.debug:
474473
print("Skipping {} at {}:{}-{}, variant length shorter than min_bp".format(
@@ -626,7 +625,7 @@ def vcf(parser):
626625
}
627626
if annotations:
628627
data_dict["overlaps"] = get_overlap(
629-
annotations, variant.chrom, variant.start, variant.stop, translocation_chrom
628+
annotations, variant.chrom, variant.start, variant.stop
630629
)
631630
if dn_row != "":
632631
data_dict["dn"] = ",".join(is_dn)

0 commit comments

Comments
 (0)