Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Get random unique lines from file

by Cristoforo (Deacon)
on Aug 17, 2012 at 21:25 UTC ( #988099=note: print w/ replies, xml ) Need Help??

in reply to Get random unique lines from file

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.


Update: I just now realized that doesn't solve the problem of getting the random lines you want.  :-(

Comment on Re: Get random unique lines from file

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://988099]
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: (10)
As of 2015-11-26 10:26 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (697 votes), past polls