Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Loading only portions of a file at any given time

by 1nickt (Canon)
on Nov 30, 2017 at 13:38 UTC ( [id://1204590]=note: print w/replies, xml ) Need Help??


in reply to Loading only portions of a file at any given time

Hi, if you won't know which header section you need until you start parsing the second file, I'd think you'd have a hard time doing what you want efficiently on the fly. Can you simply break your FASTA file into separate files in advance, one per header?


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Loading only portions of a file at any given time
by TJCooper (Beadle) on Nov 30, 2017 at 13:43 UTC
    Indeed, I found that to be the main issue when trying to think of a way to do this. I could definitely split the FASTA file beforehand, although I try to minimise the amount of steps required to run a script hence the question! Thanks for your input.

Log In?
Username:
Password:

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

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

    No recent polls found