Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Get random unique lines from file

by Cristoforo (Curate)
on Aug 17, 2012 at 21:25 UTC ( [id://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.

Chris

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://988099]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-28 14:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found