[Bioperl-l] Losing STDOUT

Ryan Golhar golharam at umdnj.edu
Thu Jan 13 17:59:15 EST 2005


If I open a file using Bio::SearchIO, I'm unable to redirect STDOUT
anymore:

$searchio = new Bio::SearchIO (-format=>'blast', -file=>"myfile.blast");
$hit = $searchio->next_result->next_hit;
print "name", $hit->name, "\n";

This works from the shell.  If you put this in a script and redirect the
output, you don't get anything.  I'm wondering if SearchIO does
something with STDOUT?


-----
Ryan Golhar
Computational Biologist
The Informatics Institute at
The University of Medicine & Dentistry of NJ

Phone: 973-972-5034
Fax: 973-972-7412
Email: golharam at umdnj.edu



More information about the Bioperl-l mailing list