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 Two regions mapped between different coordinate systems are each
47 package Bio::EnsEMBL::Mapper::Pair;
52 my ( $proto, $from, $to, $ori ) = @_;
54 my $class = ref($proto) || $proto;
57 bless( {
'from' => $from,
'to' => $to,
'ori' => $ori }, $class );
63 from and to represent the two regions
64 which are mapped to each other
65 Function accessor method
74 my ( $self, $value ) = @_;
76 if ( defined($value) ) {
77 $self->{
'to'} = $value;
86 from and to represent the two regions
87 which are mapped to each other
88 Function accessor method
96 my ( $self, $value ) = @_;
98 if ( defined($value) ) {
99 $self->{
'from'} = $value;
102 return $self->{
'from'};
108 Function accessor method
109 relative orientation of the the
119 my ( $self, $value ) = @_;
121 if ( defined($value) ) {
122 $self->{
'ori'} = $value;
125 return $self->{
'ori'};