GenOO::Region - Role that represents a region on a reference sequence
This role when consumed requires specific attributes and provides methods that correspond to a region on a reference sequence.
A region object is an area on another reference sequence. It has a specific start and stop position on the reference and a specific direction (strand). It has methods that combine the direction with the positional information a give positions for the head or the tail of the region. It also offers methods that calculate distances or overlaps with other object that also consume the role.
# Get the location information on the reference sequence $obj_with_role->start; # 10 $obj_with_role->stop; # 20 $obj_with_role->strand; # -1 # Get the head position on the reference sequence $obj_with_role->head_position; # 20
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.