diff --git a/inference.py b/inference.py index 58dae2ed8e6a5bb816ed9177e1d36d181fa27de4..146c9c8e1284780a310b5c5ee195c198c1cbe8c8 100644 --- a/inference.py +++ b/inference.py @@ -259,11 +259,12 @@ for feature in Features.values(): # add the sequence of all features # analysing the variations for all the mrna : for mrna_id in mrna_var.keys(): + print("analysis of the variations in the mRNA",mrna_id,":\n") cds_var=mrna_var[mrna_id] for cds_id in cds_var: cds=Features[cds_id] - print("analysis of the variations in the CDS",cds_id,":\n") + print("\nCDS",cds_id,":") frameshift=0 for index, var in enumerate(cds_var[cds_id]): #Â for each variation in the current cds : type_var=var[8] @@ -280,7 +281,7 @@ for mrna_id in mrna_var.keys(): else: length_alt=len(var[10]) - print("variation",index+1, ":") + print("\nvariation",index+1, ":") if posVar[0]<3: print("variation of the start codon, mRNA most likely wont be translated") @@ -354,5 +355,3 @@ for mrna_id in mrna_var.keys(): # possible that it prints too many variations : for ex if we have a snp on the first and the last base of a codon, # while printing the effect of the first snp we aso use the second one. - print("\n") -