GenOO::Data::File::BED - Object implementing methods for accessing bed formatted files (http://genome.ucsc.edu/FAQ/FAQformat#format1)
# Object that manages a bed file. # To initialize my $bed_file = GenOO::Data::File::BED->new({ FILE => undef, EXTRA_INFO => undef, });
This object offers methods to read a bed file line by line.
# Create object my $bed_file = GenOO::Data::File::BED->new({ FILE => 't/sample_data/sample.bed.gz' }); # Read one record at a time my $record = $bed_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.