<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Thanks Andy, I really appreciate this! I don't see much support for UCSC names outside humans though and that's honestly the other identifier we're mostly worried about being in common use when our users try to subset the genome for simulation. Would it be possible to add the UCSC identifiers to the other species as well? For us the priority would be the species listed in this catalog: <a href="https://stdpopsim.readthedocs.io/en/latest/catalog.html" target="_blank">https://stdpopsim.readthedocs.io/en/latest/catalog.html</a> + Bos Taurus which we're adding soon. Thanks again for your time!</div><div dir="ltr"><br></div><div>Noah</div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 20, 2020 at 7:31 AM Andy Yates <<a href="mailto:ayates@ebi.ac.uk">ayates@ebi.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Also to say that Jose is working with Ensembl as part of GA4GH's refget standard to implement reverse lookup of identifiers to GA4GH identifiers, which Ensembl is also involved with.<br>
<br>
In addition Noah, synonyms are already available via the current REST API. Just not via the xref endpoints but the /info/assembly endpoints. However coverage will not be 100%. For example<br>
<br>
<a href="http://rest.ensembl.org/info/assembly/homo_sapiens/X?content-type=application/json;synonyms=1" rel="noreferrer" target="_blank">http://rest.ensembl.org/info/assembly/homo_sapiens/X?content-type=application/json;synonyms=1</a><br>
<br>
Returns<br>
<br>
{<br>
"length":156040895,<br>
"is_chromosome":1,<br>
"is_circular":0,<br>
"synonyms":[<br>
{<br>
"name":"CM000685.2",<br>
"dbname":"INSDC"<br>
},<br>
{<br>
"dbname":"UCSC",<br>
"name":"chrX"<br>
},<br>
{<br>
"dbname":"RefSeq_genomic",<br>
"name":"NC_000023.11"<br>
}<br>
],<br>
"assembly_name":"GRCh38",<br>
"assembly_exception_type":"REF",<br>
"coordinate_system":"chromosome"<br>
}<br>
<br>
It is also possible to do the reverse lookup since all synonyms can be used as valid sequence region names in queries:<br>
<br>
<a href="http://rest.ensembl.org/info/assembly/homo_sapiens/NC_000023.11?content-type=application/json;synonyms=1" rel="noreferrer" target="_blank">http://rest.ensembl.org/info/assembly/homo_sapiens/NC_000023.11?content-type=application/json;synonyms=1</a><br>
<br>
{<br>
"is_chromosome":1,<br>
"length":156040895,<br>
"is_circular":0,<br>
"synonyms":[<br>
{<br>
"name":"CM000685.2",<br>
"dbname":"INSDC"<br>
},<br>
{<br>
"name":"chrX",<br>
"dbname":"UCSC"<br>
},<br>
{<br>
"dbname":"RefSeq_genomic",<br>
"name":"NC_000023.11"<br>
}<br>
],<br>
"assembly_name":"GRCh38",<br>
"assembly_exception_type":"REF",<br>
"coordinate_system":"chromosome"<br>
}<br>
<br>
You can also request this for a single genome using <a href="http://rest.ensembl.org/info/assembly/homo_sapiens?content-type=application/json;synonyms=1" rel="noreferrer" target="_blank">http://rest.ensembl.org/info/assembly/homo_sapiens?content-type=application/json;synonyms=1</a>. I'll not put the response in here for everyone's sake.<br>
<br>
Andy<br>
<br>
<br>
------------<br>
Andrew Yates - Genomics Technology Infrastructure Team Leader<br>
The European Bioinformatics Institute (EMBL-EBI)<br>
Wellcome Genome Campus<br>
Hinxton, Cambridge<br>
CB10 1SD, United Kingdom<br>
Tel: +44-(0)1223-492538<br>
Fax: +44-(0)1223-494468<br>
Skype: andy.yates.ebi<br>
<a href="http://www.ebi.ac.uk/" rel="noreferrer" target="_blank">http://www.ebi.ac.uk/</a><br>
<a href="http://www.ensembl.org/" rel="noreferrer" target="_blank">http://www.ensembl.org/</a><br>
<br>
> On 20 Jul 2020, at 12:20, jose miguel mut <<a href="mailto:jmmut@ebi.ac.uk" target="_blank">jmmut@ebi.ac.uk</a>> wrote:<br>
> <br>
> Hi Noah,<br>
> <br>
> Let me pop in the conversation. I work at EBI-EVA (<a href="https://www.ebi.ac.uk/eva/" rel="noreferrer" target="_blank">https://www.ebi.ac.uk/eva/</a>) and we are working on a REST webservice called contig-alias that matches your use case. Given a chromosome name or accession, you will get back its synonyms.<br>
> <br>
> It's in early stages and we don't have anything usable yet, but we plan to support GenBank and RefSeq chromosome accessions, as well as chromosome names (like "chr1"), and possibly UCSC names and GA4GH refget checksums. Some information about the assemblies will be available too.<br>
> <br>
> Let me know if you are willing to beta-test the system some time during next months and provide any feedback you find. Also, you can tell us which species/assemblies would you be interested in, so that we can support them early and have some extra focus on them.<br>
> <br>
> Regards<br>
> Jose<br>
> <br>
> <br>
> On 17/07/2020 , Noah Dukle wrote:<br>
> <br>
> Subject: [ensembl-dev] FEATURE REQUEST: Improving annotation of chromosome synonyms<br>
> Date: Fri, 17 Jul 2020 13:41:44 -0400<br>
> From: Noah Dukler <<a href="mailto:ndukler@gmail.com" target="_blank">ndukler@gmail.com</a>><br>
> Reply-To: Ensembl developers list <<a href="mailto:dev@ensembl.org" target="_blank">dev@ensembl.org</a>><br>
> To: <a href="mailto:dev@ensembl.org" target="_blank">dev@ensembl.org</a><br>
> <br>
> <br>
> Would it be possible for you to make alternative chromosome nomenclatures available under the `xrefs` endpoint? Such a feature would be immensely useful to a group I work with (stdpopsim) that is working to standardize population genetic simulations and improve the ease of realistic simulations. As of now there are relatively few resources for converting between different nomeclatures (eg. UCSC <--> Ensembl <--> NCBI <--> others). We are working on automating species specific annotations using the Ensembl REST API but one of our issues is that most chromosome synonyms are not available. The best resource I have found for converting IDs in in the R Bioconductor package GenomeInfoDb (<a href="https://github.com/terminiter/GenomeInfoDb/tree/release-3.3/inst/extdata/dataFiles" rel="noreferrer" target="_blank">https://github.com/terminiter/GenomeInfoDb/tree/release-3.3/inst/extdata/dataFiles</a>). Thank you for your time.<br>
> <br>
> Noah Dukler<br>
> Post-Doc<br>
> Siepel Lab<br>
> _______________________________________________<br>
> Dev mailing list <a href="mailto:Dev@ensembl.org" target="_blank">Dev@ensembl.org</a><br>
> Posting guidelines and subscribe/unsubscribe info: <a href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org" rel="noreferrer" target="_blank">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a><br>
> Ensembl Blog: <a href="http://www.ensembl.info/" rel="noreferrer" target="_blank">http://www.ensembl.info/</a><br>
<br>
<br>
_______________________________________________<br>
Dev mailing list <a href="mailto:Dev@ensembl.org" target="_blank">Dev@ensembl.org</a><br>
Posting guidelines and subscribe/unsubscribe info: <a href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org" rel="noreferrer" target="_blank">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a><br>
Ensembl Blog: <a href="http://www.ensembl.info/" rel="noreferrer" target="_blank">http://www.ensembl.info/</a><br>
</blockquote></div>