Skip to content
Snippets Groups Projects
Commit 13c4e598 authored by nina.marthe_ird.fr's avatar nina.marthe_ird.fr
Browse files

corrected variation index output

parent 1f2c7f13
No related branches found
No related tags found
No related merge requests found
......@@ -272,7 +272,7 @@ for cds_id in cds_var.keys():
else:
length_alt=len(var[10])
print("variation",index, ":")
print("variation",index+1, ":")
if posVar[0]<=3:
print("variation of the start codon, mRNA most likely wont be translated")
......@@ -335,6 +335,7 @@ for cds_id in cds_var.keys():
len_fragment_before_del=(posVar[0])%3
len_fragment_before_ins=(posVar[1])%3
print(len_fragment_before_ins,len_fragment_before_del)
if frame_shift==0:
# print only the local change.
......
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