The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

GenOO::Data::File::GFF - Object implementing methods for accessing GFF formatted files (http://www.sanger.ac.uk/resources/software/gff/spec.html)

SYNOPSIS

# Object that manages a gff file.

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

DESCRIPTION

This object offers methods to read a gff file line by line.

EXAMPLES

# Create object
my $gff_file = GenOO::Data::File::GFF->new(
      file => 't/sample_data/sample.gff.gz'
);

# Read one record at a time
my $record = $gff_file->next_record();