<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello Chanchal Sen<div class=""><br class=""></div><div class="">Instead of installing the entire REST API, you might want to investigate the VEP command-line tool ( <a href="https://www.ensembl.org/info/docs/tools/vep/script/index.html" class="">https://www.ensembl.org/info/docs/tools/vep/script/index.html</a> ) to see if it would be faster for your queries without the complexity of a full REST API install. The VEP command line tool is also available as a Docker image.</div><div class=""><br class=""></div><div class="">If you decide to install the full REST API, you can find instructions for installing your own copy at <a href="https://github.com/Ensembl/ensembl-rest/wiki/REST-Installation-and-Development" class="">https://github.com/Ensembl/ensembl-rest/wiki/REST-Installation-and-Development</a> - hopefully this provides enough detail to be helpful.</div><div class="">The REST API depends upon the Ensembl Perl API. Instructions for installing the Perl API are linked from the REST API installation instructions. These instructions list the specific repos that you will need to clone from GitHub.</div><div class=""><br class=""></div><div class="">Both the VEP command-line tool and the REST API require database connections. If you would like to install your own local copy, a “core” database for your species of interest should be sufficient, unless you plan to query for co-located variants, or use SIFT or PolyPhen. For Homo sapiens GRCh37, a dump of the current core database can be downloaded at <a href="http://ftp.ensembl.org/pub/grch37/release-104/mysql/homo_sapiens_core_104_37/" class="">http://ftp.ensembl.org/pub/grch37/release-104/mysql/homo_sapiens_core_104_37/</a> - within that directory you will find a .sql file describing the schema and .txt files containing the data. For Homo sapiens GRCh38, the database can be downloaded at <a href="http://ftp.ensembl.org/pub/current_mysql/homo_sapiens_core_104_38/" class="">http://ftp.ensembl.org/pub/current_mysql/homo_sapiens_core_104_38/</a> . Step by step instructions for loading a MySQL database from these files are here: <a href="https://www.ensembl.org/info/docs/webcode/mirror/install/ensembl-data.html" class="">https://www.ensembl.org/info/docs/webcode/mirror/install/ensembl-data.html</a></div><div class=""><br class=""></div><div class="">For the REST API, you should edit the ensembl_rest.conf file to point to your local database installation. For the VEP command-line tool, you should edit the Ensembl “registry” file to point to your local database installation as described at <a href="https://www.ensembl.org/info/docs/tools/vep/script/vep_cache.html#database" class="">https://www.ensembl.org/info/docs/tools/vep/script/vep_cache.html#database</a></div><div class=""><br class=""></div><div class="">These two email threads from the ensembl-dev list may be helpful for configuring the HGVS endpoint and VEP Cache installation for the REST API: <a href="https://lists.ensembl.org/pipermail/dev_ensembl.org/2020-September/000460.html" class="">https://lists.ensembl.org/pipermail/dev_ensembl.org/2020-September/000460.html</a> and <a href="https://lists.ensembl.org/pipermail/dev_ensembl.org/2020-August/000445.html" class="">https://lists.ensembl.org/pipermail/dev_ensembl.org/2020-August/000445.html</a></div><div class=""><br class=""></div><div class="">Kind regards</div><div class="">Brandon Walts - Ensembl Infrastructure team</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 29 Jul 2021, at 10:21, Chanchal Sen <<a href="mailto:chanchalsen.it@gmail.com" class="">chanchalsen.it@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi Team,<div class=""><br class=""></div><div class="">Currently, I am using the below API for fetching responses.</div><div class=""><ol class=""><li style="margin-left:15px" class=""><a href="http://grch37.rest.ensembl.org/vep/human/hgvs/NF1:p.K1457E" target="_blank" class="">http://grch37.rest.ensembl.org/vep/human/hgvs/NF1:p.K1457E</a></li><li style="margin-left:15px" class=""><a href="http://rest.ensembl.org/vep/human/hgvs/NF1:p.K1457E" target="_blank" class="">http://rest.ensembl.org/vep/human/hgvs/NF1:p.K1457E</a></li></ol></div><div class=""><br class=""></div><div class="">But this sometimes takes time and I wish to set up an on-premise database in my local system.</div><div class=""><br class=""></div><div class="">I am using a mac and referring to the below sections in the website, but this is kind of generic and has so many repo under git "<a href="https://github.com/Ensembl" target="_blank" class="">https://github.com/Ensembl</a>" and a list of databases under "<a href="http://grch37.ensembl.org/info/data/ftp/index.html" target="_blank" class="">http://grch37.ensembl.org/info/data/ftp/index.html</a>". </div><div class=""><br class=""></div><div class="">So, request you to please guide me on which exact repo to refer to in git and which databases to download that can help get a response for the above two API's.</div><div class=""><br class=""></div><div class="">Regards,</div><div class="">Chanchal</div></div>
_______________________________________________<br class="">Dev mailing list    <a href="mailto:Dev@ensembl.org" class="">Dev@ensembl.org</a><br class="">Posting guidelines and subscribe/unsubscribe info: <a href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org" class="">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a><br class="">Ensembl Blog: <a href="http://www.ensembl.info/" class="">http://www.ensembl.info/</a><br class=""></div></blockquote></div><br class=""></div></body></html>