3 See the NOTICE file distributed with
this work
for additional information
4 regarding copyright ownership.
6 Licensed under the Apache License, Version 2.0 (the
"License");
7 you may not use
this file except in compliance with the License.
8 You may obtain a copy of the License at
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an
"AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License
for the specific language governing permissions and
16 limitations under the License.
23 Please email comments or questions to the
public Ensembl
24 developers list at <http:
26 Questions may also be sent to the Ensembl help desk at
39 Represents a location on a genetic
map, yac
map, radition hybrid
map,
47 package Bio::EnsEMBL::Map::MapLocation;
54 Arg [1] : (optional)
string $name
55 Arg [2] : (optional)
string $map_name
56 Arg [3] : (optional)
string $chromosome_name
57 Arg [4] : (optional)
string $position
58 Arg [5] : (optional)
float $lod_score
74 my ($caller, $name, $map_name, $chromosome_name, $position, $lod_score) = @_;
76 my $class = ref($caller) || $caller;
78 return bless( {
'map_name' => $map_name,
80 'chromosome_name' => $chromosome_name,
81 'position' => $position,
82 'lod_score' => $lod_score}, $class );
89 Arg [1] :
string $map_name
90 Example : $map_name = $map_location->
map_name;
91 Description: Getter/Setter
for the
map name
101 $self->{
'map_name'} = shift
if(@_);
102 return $self->{
'map_name'};
109 Arg [1] : (optional)
string $name
110 Example : $name = $map_location->name;
111 Description: A name associated with the marker at
this position. For
112 example
if this is a genethon
map location the name will be
113 the synonym of source genethon.
123 $self->{
'name'} = shift
if(@_);
124 return $self->{
'name'};
128 =head2 chromosome_name
130 Arg [1] : (optional)
string $chromosome_name
131 Example : $chr_name = $map_location->chromosome_name;
132 $map_location->chromosome_name(
'X');
133 Description: The name of the chromosome associated with
this map location
143 $self->{
'chromosome_name'} = shift
if(@_);
144 return $self->{
'chromosome_name'};
151 Arg [1] : (optional)
string $position
152 Example : $pos = $map_location->position;
153 Description: Getter/Setter
for the position of
this map location
163 $self->{
'position'} = shift
if(@_);
164 return $self->{
'position'};
171 Arg [1] : (optional)
float $lod
172 Example : $lod = $map_location->lod_score;
173 Description: Getter/Setter
for lod score of
this map location
183 $self->{
'lod_score'} = shift
if(@_);
184 return $self->{
'lod_score'};