Bio::Das::Segment::Transcript - A transcript model
use Bio::Das; # contact a DAS server using the "elegans" data source my $das = Bio::Das->new('http://www.wormbase.org/db/das' => 'elegans'); # fetch a segment my $segment = $das->segment(-ref=>'CHROMOSOME_I',-start=>10_000,-stop=>20_000); # get the transcripts my @transcript = $segment->features('transcript'); # get the introns and exons from the first transcript my @introns = $transcript->introns; my @exons = $transcript->exons; # get CDS - but this probably doesn't belong here my @cds = $transcript->cds;
A Bio::Das::Segment::Transcript is a subclass of Bio::Das::Segment::Feature that is specialized for representing the union of introns and exons of a transcriptional unit. It inherits all the methods of its parent class, and adds methods for retrieving its component parts.
The feature type of a Bio::Das::Segment::Transcript is "transcript" and its method is "composite."
Bio::Das::Segment::Transcript objects are created by calling the features() method of a Bio::Das::Segment object created earlier. See Bio::Das::Segment for details.
All Bio::Das::Segment::Feature methods are available. In particular, the start() and stop() methods will return the start and end of the most proximal and distal exons.
In addition, this class adds or implements the following methods:
The introns() method returns the introns of the transcript. Each intron is a Bio::Das::Segment::Feature object of type "intron".
This method returns the exons.
This method returns the CDS features associated with the transcript. Since this has more to do with translation than transcription, it is possible that this method will be deprecated in the future.
This is an alias for exons(), and is compatible with the Bio::SeqFeatureI interface.
Lincoln Stein <email@example.com>.
Copyright (c) 2001 Cold Spring Harbor Laboratory
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See DISCLAIMER.txt for disclaimers of warranty.