|
|
| Don't ask to ask, just ask | |
| PerlMonks |
Re: Get random unique lines from fileby Cristoforo (Chaplain) |
| on Aug 17, 2012 at 21:25 UTC ( #988099=note: print w/ replies, xml ) | Need Help?? |
|
Look at the BioPerl package, (in particular Bio::SeqIO and Bio::Seq). Bio::SeqIO provides a method for opening a FASTA file and Bio::Seq provides methods to access the particular info you're after. Chris Update: I just now realized that doesn't solve the problem of getting the random lines you want. :-(
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||