[ensembl-dev] Fetching Age of Base

Benoit Ballester benoit.ballester at inserm.fr
Tue Apr 9 16:21:05 BST 2024


Dear Ensembl, 

I am trying to get the "age of base" as described here :
https://www.ensembl.org/info/genome/compara/age_of_base.html <https://www.ensembl.org/info/genome/compara/age_of_base.html> 

Basically, for a slice like this, I’d like to get those “age”. 
$slice = $hsap_slice_adaptor->fetch_by_region( 'toplevel', '19' , '1581091','1581269');


It has been a while since I last used the ensembl API (prob ~v60), so I wonder if I could get those values from a core slice (which I doubt), most likely from a compara object, but which one ? Is this something stored in the compara db for human, or computed on the fly from a multiple alignment objet ?

The Doxygen doc is not of much of any help for me I am afraid, as I can’t get much info there. 

Any embryo of code to get me on track would be must appreciated.  

I am on version 111 of core and compara. 

Thanks,

Ben
--
Benoît Ballester, PhD
Inserm U1090, TAGC
Campus de Luminy
13288 Marseille Cedex 9
France
+33 4 91 82 87 28
(1st)  benoit.ballester at inserm.fr <mailto:benoit.ballester at inserm.fr>
(2nd) benoit.ballester at univ-amu.fr <mailto:benoit.ballester at univ-amu.fr> 
ReMap2022: http://remap.univ-amu.fr/ <http://remap.univ-amu.fr/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20240409/42411b59/attachment.html>


More information about the Dev mailing list