[ensembl-dev] Converting genomic coordinates to transcript coordinates

Will McLaren wm2 at ebi.ac.uk
Wed Jan 26 13:10:30 GMT 2011


Hi Gavin,

You will need a transcript mapper object:

my $tm = $transcript->get_TranscriptMapper;

my @coords = $tm->genomic2cdna($start, $end, $strand);

This returns a list of Bio::EnsEMBL::Mapper::Coordinate and
Bio::EnsEMBL::Mapper::Gap
objects.

Cheers

Will

On 26 January 2011 12:46, Oliver, Gavin <gavin.oliver at almacgroup.com> wrote:

>  Hi,
>
>
>
> I’m guessing the answer will be transfer or transform but can someone
> advise on the fastest way to convert feature start/end coordinates from
> genomic to transcript-based?  I don’t want to mistakenly do it in an
> unnecessarily time/resource-consuming manner.
>
>
>
> Best,
>
>
>
> Gavin
>
>
>
> *  *
>
> The contents of this message and any attachments to it are confidential and
> may be legally privileged. If you have received this message in error, you
> should delete it from your system immediately and advise the sender.
>
>
>
> Almac Group (UK) Limited, registered no. NI061368.  Almac Sciences
> Limited, registered no. NI041550.  Almac Discovery Limited, registered no.
> NI046249.  Almac Pharma Services Limited, registered no. NI045055.  Almac
> Clinical Services Limited, registered no. NI041905.  Almac Clinical
> Technologies Limited, registered no. NI061202.  Almac Diagnostics Limited,
> registered no. NI043067.  All preceding companies are registered in
> Northern Ireland with a registered office address of Almac House, 20 Seagoe
> Industrial Estate, Craigavon, BT63 5QD, UK.
>
>
>
> Almac Sciences (Scotland) Limited, registered in Scotland no. SC154034.
>
>
>
> Almac Clinical Services LLC, Almac Clinical Technologies LLC, Almac
> Diagnostics LLC, Almac Pharma Services LLC and Almac Sciences LLC are
> Delaware limited liability companies and Almac Group Incorporated is a
> Delaware Corporation.  More information on the Almac Group can be found on
> the Almac website: www.almacgroup.com
>
> _______________________________________________
> Dev mailing list
> Dev at ensembl.org
> http://lists.ensembl.org/mailman/listinfo/dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20110126/35db59e9/attachment.html>


More information about the Dev mailing list