Commit dc3bebe2 authored by Jordan Eckhoff's avatar Jordan Eckhoff

A FASTA file sent to me by Danfox Davies (Which also prompted the last commit)...

A FASTA file sent to me by Danfox Davies (Which also prompted the last commit) made me realize I had a typo in my mRNA -> Protein massive elif-statement, which has now been fixed
parent 942069e0
......@@ -32,25 +32,25 @@ for a in range(0,len(Sequences)):
Sequences[a].Seq + '\n',
Sequences[a].CodeType + '\n')
W = IS_Fasta_Sequence.Sequence_Forward_Translate(Sequences[0],1,'Protein')
W = IS_Fasta_Sequence.Sequence_Forward_Translate(Sequences[0],0,'Protein')
print(W.Meta + '\n',
W.Seq + '\n',
W.CodeType + '\n')
X = IS_Fasta_Sequence.Sequence_Forward_Translate(Sequences[1],1,'Protein')
X = IS_Fasta_Sequence.Sequence_Forward_Translate(Sequences[1],0,'Protein')
print(X.Meta + '\n',
X.Seq + '\n',
X.CodeType + '\n')
Y = IS_Fasta_Sequence.Sequence_Forward_Translate(Sequences[2],1,'Protein')
Y = IS_Fasta_Sequence.Sequence_Forward_Translate(Sequences[2],0,'Protein')
print(Y.Meta + '\n',
Y.Seq + '\n',
Y.CodeType + '\n')
Z = IS_Fasta_Sequence.Sequence_Forward_Translate(Sequences[3],1,'Protein')
Z = IS_Fasta_Sequence.Sequence_Forward_Translate(Sequences[3],0,'Protein')
print(Z.Meta + '\n',
Z.Seq + '\n',
......@@ -99,7 +99,7 @@ def Sequence_Forward_Translate(Sequence,FrameNo=0,DesiredType='Protein'):
AminoAcid = 'E'
elif Codon in ['UUU','UUC']:
AminoAcid = 'F'
elif Codon in ['GGU','GCC','GCA','GCG']:
elif Codon in ['GGU','GGC','GGA','GGG']:
AminoAcid = 'G'
elif Codon in ['CAU','CAC']:
AminoAcid = 'H'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment