NAME

GenOO::Data::File::SAM - Object implementing methods for accessing SAM formatted files

SYNOPSIS

# Object that manages a sam file.

# To initialize
my $sam_file = GenOO::Data::File::SAM->new(
    file            => undef,
);

DESCRIPTION

This object implements methods to read a sam file line by line.

EXAMPLES

# 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();