in reply to Re^2: parsing blast output
in thread parsing blast output
First one thing that might be helpful here is to do a $|=1; at the top of the program, this turns Autoflush on. This slows the output down a bit, but until you get this working, this might be a good idea to do.
I'm not familiar with the module that you are using, but one suggestion is to see if you can give this Bio thing a filehandle instead of a text filepath. If that's true, then you open the output file, use the handle for your printing and give the handle to Bio for its printing. This is the easiest thing if this module allows it.(eg. open say $outhandle to the $out filepath (open ($outhandle, ">", "path) or die .....) In Perl you can use a scalar as a filehandle instead of a bareword like OUT)..
Anyway before speculating about more complex scenarios, try the simple approach first.
|
|---|