Skip to content
Snippets Groups Projects
Commit ccab2888 authored by Vermaat's avatar Vermaat
Browse files

Fix crossmapping on reverse strand if CDS start is exon start

This bug was noticed and reported by S Venkata Suresh Kumar.


git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@503 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
parent d8f97ead
No related branches found
No related tags found
No related merge requests found
......@@ -226,7 +226,7 @@ class Crossmap() :
# CDS start.
i = y - c
# Find CDS start.
while d * (self.RNA[i] - ((i + 1) % 2)) < d * self.CDS[c] :
while d * (self.RNA[i] - ((i + 1) % 2)) < d * self.CDS[c] + c :
i += d
cPos = d * (self.RNA[i] - self.CDS[c] + (d * 2)) # Get the right
# boundary.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment