Marc.Logghe at devgen.com
Fri Jan 23 07:45:24 EST 2004
> -----Original Message-----
> From: KHOUEIRY pierre [mailto:khoueiry at ibsm.cnrs-mrs.fr]
> Sent: Friday, January 23, 2004 1:27 PM
> To: bioperl-l at portal.open-bio.org
> Subject: [Bioperl-l] hi
> Hi all,
> After getting a filehandle from a form by my $file =
> $query->param('seqfile'); I need to pass this file to
> bio::seqio object
> to read every sequence apart and make a certain treatment.
> my $stream = Bio::SeqIO->new(-fh=> \$file, -format=>'fasta'); doesn't
> work and i can't figure the problem
have you tried "my $stream = Bio::SeqIO->new(-fh=> $file, -format=>'fasta')" ?
According to the mail of Gert Thijs, the variable $file should contain a ref to a filehandle already.
More information about the Bioperl-l