Bio::Map::MappableAn object representing a generic map element that can have multiple locations in several maps. | |
Download |
Bio::Map::Mappable Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Sendu Bala
- Publisher web site:
- http://search.cpan.org/~sendu/
Bio::Map::Mappable Tags
Bio::Map::Mappable Description
An object representing a generic map element that can have multiple locations in several maps. Bio::Map::Mappable is a Perl object representing a generic map element that can have multiple locations in several maps.SYNOPSIS # a map element in two different positions on the same map $map1 = new Bio::Map::SimpleMap (); $position1 = new Bio::Map::Position (-map => $map1, -value => 100); $position2 = new Bio::Map::Position (-map => $map1, -value => 200); $mappable = new Bio::Map::Mappable (-positions => ); # add another position on a different map $map2 = new Bio::Map::SimpleMap (); $position3 = new Bio::Map::Position (-map => $map2, $value => 50); $mappable->add_position($position3); # get all the places our map element is found, on a particular map of interest foreach $pos ($mappable->get_positions($map1)) { print $pos->value, " "; }This object handles the notion of a generic map element. Mappables are entities with one or more positions on one or more maps.This object is a pure perl implementation of Bio::Map::MappableI. That interface implements some of its own methods so check the docs there for those. Requirements: · Perl
Bio::Map::Mappable Related Software