GenOO::Data::File::SAM - Object implementing methods for accessing SAM formatted files
# Object that manages a sam file. # To initialize my $sam_file = GenOO::Data::File::SAM->new( file => undef, );
This object implements methods to read a sam file line by line.
# Create object my $sam_file = GenOO::Data::File::SAM->new( file => 't/sample_data/sample.sam.gz' ); # Read one record at a time my $sam_record = $sam_file->next_record();
To install GenOO, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GenOO
CPAN shell
perl -MCPAN -e shell install GenOO
For more information on module installation, please visit the detailed CPAN module installation guide.