Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: translating multiple DNA sequence to protein sequence

by yuvraj_ghaly (Sexton)
on Aug 22, 2013 at 09:18 UTC ( [id://1050496]=note: print w/replies, xml ) Need Help??


in reply to Re^2: translating multiple DNA sequence to protein sequence
in thread translating multiple DNA sequence to protein sequence

This won't work when numerous DNA sequences in fasta file

  • Comment on Re^3: translating multiple DNA sequence to protein sequence

Replies are listed 'Best First'.
Re^4: translating multiple DNA sequence to protein sequence
by choroba (Cardinal) on Aug 22, 2013 at 09:25 UTC
    I tested the code with the following data:
    >header1 ATGATCTAGTCGATCGCTAGCTAGATCGCTAGCTG CATGATCTAGTCGATCGCTAGCTAGATCGCTAGCTGC >header2 ATGATCTAGTCGATCGCTAGCTAGATCGCTAGCTGC ATGATCTAGTCGATCGCTAGCTAGATCGCTAGCTGC
    It gives the follwoing output: Please, be more specific and explain what you mean by "won't work".
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

      from the output I concluded that it is only for the ">header1". Moreover, this is not the required output

      the output which i require is something like that:

      >header1 HGADFFADJHGAJFGAFLGJ >header2 HJFSAGJFADGADKJAHGHJ

      The UPPERCASE is the translated sequence of the DNA sequences

        I see both header1 and header2 in the output. Moving one part of the print out of the loop is rather easy, you should study how loops work.
        لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1050496]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-20 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found