Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: regex question

by robsv (Curate)
on Feb 07, 2006 at 16:08 UTC ( #528548=note: print w/ replies, xml ) Need Help??


in reply to regex question

Rashmun;
Splitting a string of DNA into triplets... Out of curiosity, do you plan on translating this into protein? If not, ignore me {grin}. If so, have you looked into BioPerl?

use Bio::Seq; my $seq = Bio::Seq->new(-seq => 'atccatccctttaat', -display_id => 'Sequence1', -alphabet => 'dna'); my $prot = $seq->translate; print 'Translated sequence is: ',$prot->seq,"\n";

- robsv


Comment on Re: regex question
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (14)
As of 2015-07-02 09:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls