Bio::EnsEMBL::Mapper Unit
SummaryPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvsRaw content
Summary
Bio::EnsEMBL::Mapper::Unit - One side of a map pair
Package variables
No package variables defined.
Synopsis
Description
Two regions mapped between different coordinate systems are each
represented by a Bio::EnsEMBL::Mapper::Unit and joined together as a
Bio::EnsEMBL::Mapper::Pair.
Methods
endDescriptionCode
idDescriptionCode
new
No description
Code
startDescriptionCode
Methods description
endcode    nextTop
  Arg  1      int $end
the end coordinate of the mapped
region which this object represents
Function accessor method
Returntype int
Exceptions none
Caller Bio::EnsEMBL::Mapper::Unit
Status Stable
idcodeprevnextTop
  Arg  1      int|char $id
the id of the object (e.g. seq_region_name) which is mapped
Function accessor method
Returntype int|char
Exceptions none
Caller Bio::EnsEMBL::Mapper::Unit
Status Stable
startcodeprevnextTop
  Arg  1      int $start
the start coordinate of the mapped
region which this object represents
Function accessor method
Returntype int
Exceptions none
Caller Bio::EnsEMBL::Mapper::Unit
Status Stable
Methods code
enddescriptionprevnextTop
sub end {
  my ( $self, $value ) = @_;

  if ( defined($value) ) {
    $self->{'end'} = $value;
  }

  return $self->{'end'};
}

1;
}
iddescriptionprevnextTop
sub id {
  my ( $self, $value ) = @_;

  if ( defined($value) ) {
    $self->{'id'} = $value;
  }

  return $self->{'id'};
}
newdescriptionprevnextTop
sub new {
  my ( $proto, $id, $start, $end ) = @_;

  my $class = ref($proto) || $proto;

  return
    bless( { 'id' => $id, 'start' => $start, 'end' => $end }, $class );
}
startdescriptionprevnextTop
sub start {
  my ( $self, $value ) = @_;

  if ( defined($value) ) {
    $self->{'start'} = $value;
  }

  return $self->{'start'};
}
General documentation
LICENSETop
  Copyright (c) 1999-2009 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license. For license details, please see /info/about/code_licence.html
CONTACTTop
  Please email comments or questions to the public Ensembl
developers list at <ensembl-dev@ebi.ac.uk>.
Questions may also be sent to the Ensembl help desk at <helpdesk@ensembl.org>.