Think about Loose Coupling | |
PerlMonks |
Re: Loading only portions of a file at any given timeby 1nickt (Canon) |
on Nov 30, 2017 at 13:38 UTC ( [id://1204590]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|