[ensembl-dev] Fwd: Help with Bio::EnsEMBL::Mapper Class

Andrés Arturo Lanzós Camaioni andreslanzos at gmail.com
Tue Apr 2 18:30:28 BST 2013


Hi.

My name is Andrés Lanzós and I am using the Ensembl API for the first time.

I want to map genes from primates in a genomic align.

First, I use the method get_Mapper () to transform the coordinates from
each original sequence to the alignment.

$this_mapper = $genomic_align->get_Mapper();


Then, I use the method list_pairs () to find the coordinates for each gene
in the alignment.

my $start0=$this_mapper->list_pairs($gene_id,$gene_start,$gene_end,$type);

But I have a problem with the fourth argument: $type, i do not know which
value to put.

Could yo help me with this?

My final objective is to extract the common regions between the genes for
the different species of the alignment.

Thank you.

Kind regards,
Andrés Lanzós.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20130402/b756783c/attachment.html>


More information about the Dev mailing list