Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
[Tux]: ELISHIVA, erix, Discipulus, afoken DBD::CSV now pushed. Try wget https://github. com/perl5-dbi/DBD- CSV/archive/ a26beac1.tar.gz -O DBD-CSV-0.50_01- a26beac1.tgz

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-05-29 06:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?