Skip to content
Snippets Groups Projects
Commit 05a16d92 authored by Graham McVicker's avatar Graham McVicker
Browse files

changed incorrect PODs

parent 2b407be2
No related branches found
No related tags found
No related merge requests found
......@@ -17,38 +17,31 @@ PredictionTranscript
=head1 DESCRIPTION
Container for single transcript ab initio gene prediction ala GenScan or SNAP.
Is directly storable/retrievable in EnsEMBL using PredictionTranscript Adaptor.
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( $exon );
$tran->add_Exon( $pred_exon );
my $tran = new Bio::EnsEMBL::PredictionTranscript(@exons);
The order of the exons has to be right, as PT cant judge how to sort them.
( no sort as in Bio::EnsEMBL::Transcript )
PredictionTranscript is geared towards the partial retrieve case from db.
Exons can be missing in the middle. For storage though its necessary to
have them all and in contig coord system.
my $tran = new Bio::EnsEMBL::PredictionTranscript(-EXONS => @pred_exons);
Manipulation:
# Returns an array of Exon objects, might contain undef instead of exon.
my @exons = @{$tran->get_all_Exons};
# Returns the peptide translation as string
my $pep = $tran->translate;
# Returns an array of PredictionExon objects
my @pred_exons = @{$tran->get_all_Exons};
# phase padded Exons cdna sequence. Phases usually match.
my $cdna = $trans->get_cdna()
# Returns the peptide translation as string
my $pep = $tran->translate()->seq();
# Get the exon cdna sequence.
my $cdna = $trans->spliced_seq();
=head1 CONTACT
contact EnsEMBL dev <ensembl-dev@ebi.ac.uk> for information
Contact the Ensembl development list <ensembl-dev@ebi.ac.uk> for information
=cut
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment