sub cdna_coding_start { return 1 }
|
ensembl-hive
2.8.1
|
Inheritance diagram for Bio::EnsEMBL::PredictionTranscript:
Container for single transcript ab initio gene prediction such as
GenScan or SNAP. Is directly storable/retrievable in Ensembl using
PredictionTranscriptAdaptor.
Creation:
my $tran = new Bio::EnsEMBL::PredictionTranscript();
$tran->add_Exon($pred_exon);
my $tran =
new Bio::EnsEMBL::PredictionTranscript( -EXONS => \@pred_exons );
Manipulation:
# Returns an array of PredictionExon objects
my \@pred_exons = \@{ $tran->get_all_Exons };
# Returns the peptide translation as string
my $pep = $tran->translate()->seq();
# Get the exon cdna sequence.
my $cdna = $trans->spliced_seq();
Definition at line 39 of file PredictionTranscript.pm.
| public Bio::EnsEMBL::PredictionTranscript::add_DBEntry | ( | ) |
Undocumented method
Code:
| public Int Bio::EnsEMBL::PredictionTranscript::cdna_coding_end | ( | ) |
Arg [1] : none Example :
Description: Retrieves the position of the coding end of this transcript
in cdna coordinates (relative to the start of the 5prime end of
the transcript, excluding introns, including utrs). This is
always te length of the cdna for prediction transcripts because
they have no UTRs.
Returntype : int
Exceptions : none
Caller : five_prime_utr, get_all_snps, general
Status : Stable
Code:
| public Int Bio::EnsEMBL::PredictionTranscript::cdna_coding_start | ( | ) |
Arg [1] : none Example :
Description: Retrieves the position of the coding start of this transcript
in cdna coordinates (relative to the start of the 5prime end of
the transcript, excluding introns, including utrs). This is
always 1 for prediction transcripts because they have no UTRs.
Returntype : int
Exceptions : none
Caller : five_prime_utr, get_all_snps, general
Status : Stable
Code:
| public Int Bio::EnsEMBL::PredictionTranscript::coding_region_end | ( | ) |
Arg [1] : none Example :
Description: Retrieves the start of the coding region of this prediction
transcript. For prediction transcripts this is always the same
as the end since no UTRs are stored.
By convention, the coding_region_end is always higher than the
value returned by the coding_region_start method.
The value returned by this function is NOT the biological
coding start since on the reverse strand the biological coding
end would be the lower genomic value.
Returntype : int
Exceptions : none
Caller : general
Status : Stable
Code:
| public Int Bio::EnsEMBL::PredictionTranscript::coding_region_start | ( | ) |
Arg [1] : none Example :
Description: Retrieves the start of the coding region of this transcript in
slice coordinates. For prediction transcripts this
is always the start of the transcript (i.e. there is no UTR).
By convention, the coding_region_start is always lower than
the value returned by the coding_end method.
The value returned by this function is NOT the biological
coding start since on the reverse strand the biological coding
start would be the higher genomic value.
Returntype : int
Exceptions : none
Caller : general
Status : Stable
Code:
| public String Bio::EnsEMBL::PredictionTranscript::display_id | ( | ) |
Arg [1] : none Example :
Description: This method returns a string that is considered to be
the 'display' identifier. For prediction transcripts this is
(depending on availability and in this order) the stable Id, the
dbID or an empty string.
Returntype : string
Exceptions : none
Caller : web drawing code
Status : Stable
Code:
| public String Bio::EnsEMBL::PredictionTranscript::display_label | ( | ) |
Arg [1] : string $newval (optional)
The new value to set the display_label attribute to
Example : Description: Getter/Setter for a displayable identifier for this
prediction transcript.
Returntype : string
Exceptions : none
Caller : general
Status : Stable
Code:
| public Bio::EnsEMBL::PredictionTranscript::external_db | ( | ) |
Undocumented method
Code:
| public Bio::EnsEMBL::PredictionTranscript::external_name | ( | ) |
Undocumented method
Code:
| public Bio::EnsEMBL::PredictionTranscript::external_status | ( | ) |
Undocumented method
Code:
| public EMPTY Bio::EnsEMBL::PredictionTranscript::get_all_Attributes | ( | ) |
Arg [1] : none Example :
Description: DOES NOTHING, Returns empty listref. Provided here to prevent
Transcript attributes being returned for PredictionTranscripts.
Returntype : EMPTY listref Bio::EnsEMBL::Attribute
Exceptions : none
Caller : general
Status : At risk
Code:
| public Bio::EnsEMBL::PredictionTranscript::get_all_DBEntries | ( | ) |
Undocumented method
Code:
| public Bio::EnsEMBL::PredictionTranscript::get_all_DBLinks | ( | ) |
Undocumented method
Code:
| public A Bio::EnsEMBL::PredictionTranscript::get_all_Exons | ( | ) |
Arg [1] : none Example :
Description: Returns an listref of the exons in this transcipr in order.
i.e. the first exon in the listref is the 5prime most exon in
the transcript.
Returntype : a list reference to Bio::EnsEMBL::Exon objects
Exceptions : none
Caller : general
Status : Stable
Code:
| public Listref Bio::EnsEMBL::PredictionTranscript::get_all_translateable_Exons | ( | ) |
Arg [1] : none Example :
Description: Retrieves the translateable portion of all exons in this
transcript. For prediction transcripts this means all exons
since no UTRs are stored for them.
Returntype : listref of Bio::EnsEMBL::PredictionExons
Exceptions : none
Caller : general
Status : Stable
Code:
| public Bio::EnsEMBL::PredictionTranscript::is_known | ( | ) |
Undocumented method
Code:
| public Bio::EnsEMBL::PredictionTranscript Bio::EnsEMBL::PredictionTranscript::new | ( | ) |
Arg [-DISPLAY_LABEL]
string - a displayable identifier for this prediction
Arg [...] : See Bio::EnsEMBL::Transcript superclass constructor
Example :Description: Constructor. Creates a new Bio::EnsEMBL::PredictionTranscript object Returntype : Bio::EnsEMBL::PredictionTranscript Exceptions : none Caller : general Status : Stable
Code:
| public String Bio::EnsEMBL::PredictionTranscript::stable_id | ( | ) |
Arg [1] : none Example :
Description: Gets a 'stable' identifier for this prediction transcript. Note
that prediction transcripts do not have true *stable*
identifiers (i.e. identifiers maintained between releases).
This method chains to the display_label method and is intended
to provide polymorphism with the Transcript class.
Returntype : string
Exceptions : none
Caller : general
Status : Stable
Code:
| public Hashref Bio::EnsEMBL::PredictionTranscript::summary_as_hash | ( | ) |
Example :
Description: Retrieves a textual summary of this prediction.
Not inherited from Features.
Returntype : Hashref of arrays of descriptive strings
Exceptions : none
Caller : general
Status : Stable
Code:
| public Bio::EnsEMBL::PredictionTranscript Bio::EnsEMBL::PredictionTranscript::transfer | ( | ) |
Arg 1 : Bio::EnsEMBL::Slice $destination_slice Example :
Description: Moves this PredictionTranscript to the given slice. If this Transcripts has Exons attached, they move as well. If this transcript cannot be moved then undef is returned instead. Returntype : Bio::EnsEMBL::PredictionTranscript Exceptions : none Caller : general Status : Stable
Code:
| public Bio::EnsEMBL::PredictionTranscript Bio::EnsEMBL::PredictionTranscript::transform | ( | ) |
Arg 1 : String $coordinate_system_name Arg [2] : String $coordinate_system_version Example :
Description: Moves this PredictionTranscript to the given coordinate system. If this Transcript has Exons attached, they move as well. A new Transcript is returned or undefined if this PT is not defined in the new coordinate system. Returntype : Bio::EnsEMBL::PredictionTranscript Exceptions : wrong parameters Caller : general Status : Stable
Code:
| public A Bio::EnsEMBL::PredictionTranscript::translate | ( | ) |
Arg [1] : Boolean, emulate the behavior of old bioperl versions where
an incomplete final codon of 2 characters is padded and guessed
Function : Give a peptide translation of all exons currently in
the PT. Gives empty string when none is in.
Returntype: a Bio::Seq as in transcript->translate()
Exceptions: none
Caller : general
Status : Stable
Code:
| public Int Bio::EnsEMBL::PredictionTranscript::translation | ( | ) |
Arg [1] : none Example :
Description: Retrieves a Bio::EnsEMBL::Translation object for this prediction transcript. Note that this translation is generated on the fly and is not stored in the database. The translation always spans the entire transcript (no UTRs; all CDS) and does not have an associated dbID, stable_id or adaptor. Returntype : int Exceptions : none Caller : general Status : Stable
Code: