[Bioperl-l] Using IO::Filter::gzip with Bio::SeqIO

Ewan Birney birney at ebi.ac.uk
Fri Feb 14 08:03:31 EST 2003



On Thu, 13 Feb 2003, Michael Muratet wrote:

> Greetings
>
> Has anyone tried/succeeded in using one of the IO filters with SeqIO to read
> sequences from gziped (like they come from Genbank) files?

surely


  open(F,"gunzip -c $filename |");

  $seqin = Bio::SeqIO->new( -format => $format, -fh => \*F);

works fine...



>
> Could I have an example? I can't get it to work.
>
> Thanks
>
> Mike
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at bioperl.org
> http://bioperl.org/mailman/listinfo/bioperl-l
>



More information about the Bioperl-l mailing list