Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 making s'mores by the fire in the courtyard of the Monastery: (15)
As of 2016-02-09 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (317 votes), past polls