GenOO::RegionCollection::Type::DoubleHashArray - Object for a collection of GenOO::Region objects, with features
# Object that manages a collection of GenOO::Region objects. # To initialize my $locus_collection = GenOO::RegionCollection::DoubleHashArray->new({ name => undef, species => undef, description => undef, extra => undef, });
The primary data structure of this object is a 2D hash whose primary key is the strand and its secondary key is the reference sequence name. Each such pair of keys correspond to an array reference which stores objects of the class L<GenOO::Region> sorted by start position.
# Print records in FASTA format $locus_collection->print("FASTA",'STDOUT',"/data1/data/UCSC/hg19/chromosomes/"); # ditto $locus_collection->print_in_fasta_format('STDOUT',"/data1/data/UCSC/hg19/chromosomes/");
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.