[ensembl-dev] 回复: 协作 java api引入

Stefano Giorgetti sgiorgetti at ebi.ac.uk
Tue Oct 19 09:16:09 BST 2021


Hello,

I am afraid I am not familiar with Ensembl4J project, but it looks like 
a (Java) wrapper to Ensembl REST.

If you want to have the information shown at 
https://asia.ensembl.org/Homo_sapiens/Variation/Explore?db=core;r=7:92149743-92150743;v=rs7;vdb=variation;vf=728758823
<https://asia.ensembl.org/Homo_sapiens/Variation/Explore?db=core;r=7:92149743-92150743;v=rs7;vdb=variation;vf=728758823>

available in Java, you can use the REST /variation_id/ and 
/variant_recorder/ endpoints. Please, find below links to the documentation

  * https://rest.ensembl.org/documentation/info/variation_id
  * https://rest.ensembl.org/documentation/info/variant_recoder

But if you truly want your application (web UI?) to display the page 
from Ensembl.org website, I think you should build the URL and redirect 
the user to it.
To build the URL, you might want to use the REST endpoints to get the 
information you need (chr, start, end positions in this case).

Hope it may help

Best wishes,
Stefano

On 19/10/2021 06:59, 心城 wrote:
> Hello!
> I tried http://rest.ensembl.org/variation/human/rs7? 
> <http://rest.ensembl.org/variation/human/rs7?> Content type = 
> Application / JSON interface
> The data is returned, but the result I want is to jump to this page, 
> so what should I do.
> https://asia.ensembl.org/Homo_sapiens/Variation/Explore?db=core;r=7:92149743-92150743;v=rs7;vdb=variation;vf=728758823 
> <https://asia.ensembl.org/Homo_sapiens/Variation/Explore?db=core;r=7:92149743-92150743;v=rs7;vdb=variation;vf=728758823>
> Best wishes
> Thank you for your answer
>
>
>> 2021年10月15日 17:27,danny.kunz at gmx.de <mailto:danny.kunz at gmx.de> 写道:
>>
>> There is an unofficial Github project available:
>> https://github.com/omnaest/Ensembl4J 
>> <https://github.com/omnaest/Ensembl4J>
>> Its only a smaller non regularly maintained sub project, which is 
>> part of our rare disease group projects, but it might work as a 
>> reference template for you as well.
>> Best regards,
>> Danny
>> -
>> 有一个非官方的Github项目可用。
>> https://github.com/omnaest/Ensembl4J 
>> <https://github.com/omnaest/Ensembl4J>
>> 它只是一个较小的非定期维护的子项目,是我们罕见病小组项目的一部分,但它也可以作为一个参考模板供你使用。
>> 最好的问候。
>> Danny
>> *Von:*Dev <dev-bounces at ensembl.org 
>> <mailto:dev-bounces at ensembl.org>>*Im Auftrag von*1738579862
>> *Gesendet:*Freitag, 15.Oktober 2021 11:03
>> *An:*Ensembl developers list <dev at ensembl.org <mailto:dev at ensembl.org>>
>> *Betreff:*[ensembl-dev]回复:协作java api引入
>> please seehttps://rest.ensembl.org/ <https://rest.ensembl.org/>,you 
>> can find key
>> ------------------ 原始邮件 ------------------
>> *发件人**:*"Ensembl developers list" <18518952236 at 163.com 
>> <mailto:18518952236 at 163.com>>;
>> *发送时间**:* 2021年10月15日(星期五)下午4:57
>> *收件人**:* "dev"<dev at ensembl.org <mailto:dev at ensembl.org>>;
>> *主**题**:* [ensembl-dev]协作java api引入
>> 您好!
>> 我们公司想要引入Ensembl的搜索API例如我选择human然后输入rs7之后会进入到详情页面,请问有API可以我直接给Ensembl传递rs7 
>> API给我返回详情页面地址吗?或者又其他的集成方法。
>> 麻烦解答一下
>> 谢谢
>> _______________________________________________
>> Dev mailing list Dev at ensembl.org <mailto:Dev at ensembl.org>
>> Posting guidelines and subscribe/unsubscribe 
>> info:https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org 
>> <https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org>
>> Ensembl Blog:http://www.ensembl.info/ <http://www.ensembl.info/>
>
>
> _______________________________________________
> Dev mailing list    Dev at ensembl.org
> Posting guidelines and subscribe/unsubscribe info: https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org
> Ensembl Blog: http://www.ensembl.info/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20211019/5e821f9f/attachment.html>


More information about the Dev mailing list