Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
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

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 chanting in the Monastery: (3)
As of 2016-09-25 08:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (466 votes). Check out past polls.