Skip to content
Snippets Groups Projects
Commit 51f74854 authored by Laros's avatar Laros
Browse files

Fixed a bug that was introduced while adding IVS and EX notations:

- The `*' (after STOP codon) was not interpreted in one case.

Fixed a bug that was introduced while adding the intron (and upstream and
downstream) notation check:
- Checks were not working for transcripts on the minus strand.



git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/trunk@82 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
parent 9b3c60d2
No related branches found
No related tags found
No related merge requests found
......@@ -87,6 +87,7 @@ def __checkIntronPosition(main, offset, transcript) :
if offset :
#print main_g, offset, rnaList
offset *= transcript.CM.orientation # Correct for minus strand.
if main_g in rnaList : # The main coordinate is a splice site.
if rnaList.index(main_g) % 2 == 0 : # Splice donor.
if offset > 0 : # So the sign must be '+'.
......@@ -972,7 +973,8 @@ def __normal2g(RawVar, transcript) :
if RawVar.EndLoc :
if not RawVar.EndLoc.PtLoc.Main.isdigit() : # For ? in a position.
return None, None
end_g = int(RawVar.EndLoc.PtLoc.MainSgn + RawVar.EndLoc.PtLoc.Main)
end_g = transcript.CM.main2int(
RawVar.EndLoc.PtLoc.MainSgn + RawVar.EndLoc.PtLoc.Main)
#if
......
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