Bio::SeqReader - Classes for reading sequence data.
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() ) { . . . }
The Bio::SeqReader package provides classes specifically for reading sequence data.
None by default.
Bio::SeqReader::Fasta, Bio::SeqReader::FastaRecord, Bio::SeqReader::Fastq, Bio::SeqReader::FastqRecord
John A. Crow, <jac_at_cpan_dot_org>
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.
To install Bio::SeqReader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::SeqReader
CPAN shell
perl -MCPAN -e shell install Bio::SeqReader
For more information on module installation, please visit the detailed CPAN module installation guide.