Skip to content

Commit

Permalink
fetch ref base from correct chromosome for translocation records
Browse files Browse the repository at this point in the history
  • Loading branch information
adamewing committed Oct 3, 2016
1 parent dcc2e28 commit f2d48e0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/makevcf_sv.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ def precise_interval(mutline, ref):
base1 = ref.fetch(chr1, bnd1-1, bnd1)
base2 = ref.fetch(chr2, bnd2-1, bnd2)

assert base1
assert base2, "%s:%d-%d" % (chr2, bnd2-1, bnd2)

alt1 = '%s[%s:%d[' % (base1, chr2, bnd2)
alt2 = ']%s:%d]%s' % (chr1, bnd1, base2)

Expand Down

0 comments on commit f2d48e0

Please sign in to comment.