The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bio::SeqReader - Classes for reading sequence data.

SYNOPSIS

  use Bio::SeqReader;

  # Read a FASTA file from stdin
  my $in = new Bio::SeqReader::Fasta();
  while ( my $so = $in->next() ) {
      . . .
  }

  # Read a FASTQ file from an IO::File filehandle
  my $fh = new IO::File( 'foo.fastq' );
  my $in = new Bio::SeqReader::Fastq( fh => $fh );
  while ( my $so = $in->next() ) {
      . . .
  }

  # Filehandles created by IO::Uncompress::AnyUncompress are compatible with
  # IO::File filehandles.
  my $fh = new IO::Uncompress::AnyUncompress( 'foo.fastq.gz' );
  my $in = new Bio::SeqReader::Fastq( fh => $fh );
  while ( my $so = $in->next() ) {
      . . .
  }

DESCRIPTION

The Bio::SeqReader package provides classes specifically for reading sequence data.

EXPORT

None by default.

SEE ALSO

Bio::SeqReader::Fasta, Bio::SeqReader::FastaRecord, Bio::SeqReader::Fastq, Bio::SeqReader::FastqRecord

AUTHOR

John A. Crow, <jac_at_cpan_dot_org>

COPYRIGHT AND LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.

  Copyright (C) 2012 by John A. Crow.
  Copyright (C) 2012 by National Center for Genome Resources.