[Bioperl-l] exons

Koray koraydogankaya at gmail.com
Sat Dec 24 08:44:43 UTC 2011


I need an explicit code for getting exon sequences of an mrna or gene
fetched by get_Seq_by_acc or id.

in ensembl it is easy but here it is not easy many ios exists.

for example:

here how can i get such a $gene object from DBs (GeneBank or
EntrezGene) by acc numberor ids?



exons	code	prev	next	Top
 Title   : exons()
 Usage   : @exons = $gene->exons();
           @inital_exons = $gene->exons('Initial');
 Function: Get all exon features or all exons of a specified type of
this gene
           structure.

           Exon type is treated as a case-insensitive regular
expression and
           optional. For consistency, use only the following types:
           initial, internal, terminal, utr, utr5prime, and
utr3prime.
           A special and virtual type is 'coding', which refers to all
types
           except utr.

           This method basically merges the exons returned by
transcripts.

 Returns : An array of Bio::SeqFeature::Gene::ExonI implementing
objects.
 Args    : An optional string specifying the type of exon.



More information about the Bioperl-l mailing list