I have already converted the user input of the DNA code (A,T,G,C) to the RNA code (A,U,G,C) . It was pretty easy.
RNA_Code=DNA_Code.replace('T','U')
Now the next thing I need to do is convert the RNA_Code to this add-on. This means that I need to replace A with U, U with A, G with C and C with G, but all at the same time.
if i say
RNA_Code.replace('A','U') RNA_Code.replace('U','A')
it converts all As to Us, and then all Us to As, but I stayed with everyone for both.
I need something like AUUUGCGGCAAA and convert it to UAAACGCCGUUU .
Any ideas on how to do this? (3.3)
source share