[ensembl-dev] 5 prime UTR coordinates
Nick Fankhauser
lists at nyk.ch
Fri Mar 9 10:51:58 GMT 2012
Hi!
I'm trying to get the coordinates of the 5' UTRs of all transcripts of a
given gene. But the "start" method can't be located for the UTR object.
Is there a different approach that makes it possible to retrieve the
UTR's coordinates?
This is what I tried:
foreach my $transcript ( @{ $gene->get_all_Transcripts() } ) {
my $utr5 = $transcript->five_prime_utr();
next if not defined $utr5;
my $start5 = $utr5->start();
my $end5 = $utr5->end();
}
Thanks!
Nick Fankhauser
---
http://www.ccspmd.ethz.ch/people/fniklaus
More information about the Dev
mailing list