Bio::EnsEMBL::Compara::AlignSlice
Translation
Toolbar
Summary
Bio::EnsEMBL::Compara::AlignSlice::Translation - Extension of the Bio::EnsEMBL::Translation
module for the translations mapped on the AlignSlices
Package variables
No package variables defined.
Included modules
Inherit
Synopsis
The Bio::EnsEMBL::Compara::AlignSlice framework is used to map features between species. As the
original Bio::EnsEMBL::Translation might mapped only partially, this module extends the core
Bio::EnsEMBL::Translation module to allow the storage of the mapping of both start end codons.
Both start and end codons might be mapped no, one or several times. At the moment this module
implements a couple of method only, all_start_codon_mappings and all_end_codon_mappings which
return a reference to an array of Bio::EnsEMBL::Compara::AlignSlice::Slice which correspond to
sub-slices of the original Bio::EnsEMBL::Compara::AlignSlice::Slice.
Actual mapping is done by the Bio::EnsEMBL::Compara::AlignSlice::Slice module, this one only
stores the results.
Description
No description!
Methods
Methods description
Arg [1] : [optional] listref of Bio::EnsEMBL::Compara::AlignSlice::Slice Example : $translation->all_end_codon_mappings($all_end_codon_mappings); Example : my $all_end_codon_mappings = $translation->all_end_codon_mappings(); Description: getter/setter for the results of the mapping of the original end codon on the corresponding Bio::EnsEMBL::Compara::AlignSlice::Slice Returntype : listref of Bio::EnsEMBL::Compara::AlignSlice::Slice Exceptions : |
Arg [1] : [optional] listref of Bio::EnsEMBL::Compara::AlignSlice::Slice Example : $translation->all_start_codon_mappings($all_start_codon_mappings); Example : my $all_start_codon_mappings = $translation->all_start_codon_mappings(); Description: getter/setter for the results of the mapping of the original start codon on the corresponding Bio::EnsEMBL::Compara::AlignSlice::Slice Returntype : listref of Bio::EnsEMBL::Compara::AlignSlice::Slice Exceptions : |
Methods code
sub all_end_codon_mappings
{ my $self = shift(@_);
if (@_) {
$self->{_all_end_codon_mappings} = shift;
}
return $self->{_all_end_codon_mappings};
}
1; } |
sub all_start_codon_mappings
{ my $self = shift(@_);
if (@_) {
$self->{_all_start_codon_mappings} = shift;
}
return $self->{_all_start_codon_mappings}; } |
General documentation
This module inherits attributes and methods from Bio::EnsEMBL::Translation module
Copyright (c) 2006. EnsEMBL Team
You may distribute this module under the same terms as perl itself
This modules is part of the EnsEMBL project (
)
Questions can be posted to the ensembl-dev mailing list:
ensembl-dev@ebi.ac.uk
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _