Bio::EnsEMBL::IdMapping TinyTranslation
SummaryIncluded librariesPackage variablesSynopsisDescriptionGeneral documentationMethods
Toolbar
WebCvsRaw content
Summary
Bio::EnsEMBL::IdMapping::TinyTranslation - lightweight translation object
Package variables
No package variables defined.
Included modules
Bio::EnsEMBL::IdMapping::TinyFeature
Bio::EnsEMBL::Utils::Exception qw ( throw warning )
Inherit
Bio::EnsEMBL::IdMapping::TinyFeature
Synopsis
  if ( my $tl = $tr->translation ) {
my $lightweight_tl =
Bio::EnsEMBL::IdMapping::TinyTranslation->new_fast( [
$tl->dbID, $tl->stable_id,
$tl->version, $tl->created_date,
$tl->modified_date, $tr->dbID,
$tr->translate->seq, ( $tr->is_known ? 1 : 0 ),
] );
}
Description
This is a lightweight translation object for the stable Id mapping. See
the documentation in TinyFeature for general considerations about its
design.
Methods
is_knownDescriptionCode
seqDescriptionCode
transcript_idDescriptionCode
Methods description
is_knowncode    nextTop
  Arg[1]      : (optional) Boolean - the translation's "known" status
Description : Getter/setter for the translation's "known" status.
Return type : Boolean
Exceptions : none
Caller : general
Status : At Risk
: under development
seqcodeprevnextTop
  Arg[1]      : (optional) String - the translation's sequence
Description : Getter/setter for the translation's sequence.
Return type : String
Exceptions : none
Caller : general
Status : At Risk
: under development
transcript_idcodeprevnextTop
  Arg[1]      : (optional) Int - the transcript internal Id ("dbID")
Description : Getter/setter for the transcript internal Id this translation is
attached to.
Return type : Int
Exceptions : none
Caller : general
Status : At Risk
: under development
Methods code
is_knowndescriptionprevnextTop
sub is_known {
  my $self = shift;
  $self->[7] = shift if (@_);
  return $self->[7];
}


1;
}
seqdescriptionprevnextTop
sub seq {
  my $self = shift;
  $self->[6] = shift if (@_);
  return $self->[6];
}
transcript_iddescriptionprevnextTop
sub transcript_id {
  my $self = shift;
  $self->[5] = shift if (@_);
  return $self->[5];
}
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>.