in reply to Urgent help required. Need a code to translate a given nucleotide sequence into proteins using codon table.

suchetana:

If it does what you want, then it's fine!

Since you really didn't tell what's wrong or right, I'll leave it to you to decide how fine it is.

I suggest urgently fixing your code tags, then urgently describing the symptoms to your urgent problem. Otherwise, many monks will urgently ignore it.

...roboticus

When your only tool is a hammer, all problems look like your thumb.

  • Comment on Re: Urgent help required. Need a code to translate a given nucleotide sequence into proteins using codon table.

Replies are listed 'Best First'.
Re^2: Urgent help required. Need a code to translate a given nucleotide sequence into proteins using codon table.
by suchetana (Initiate) on Feb 13, 2013 at 19:18 UTC
    See what I have is suppose TATGCATGGCATATATATACGTACGTATGCATATATATGCTAA. I want to find the substring that has ATG......TAA while reading from the first T Then I want it to start reading from the second alphabet and find the substring having ATG...TAA and again then the same thing from T to get ATG....TAA. Also, I then need to store these three substrings in three different scalars/arrays. Then I need to translate them, like if the first three are ATG it should return say M, then it reads the next 3 characters of that substring and say it is CAT. Then it will return X say. Likewise. How do I go about? Please please help