Grounding for biomedical entities with contextual disambiguation
Project description
Gilda: Grounding Integrating Learned Disambiguation
Installation
Gilda is deployed as a web service at http://grounding.indra.bio/ground (see Usage instructions below), it only needs to be installed if used locally.
The recommended method to install Gilda is via Github as:
pip install git+https://github.com/indralab/gilda.git
Note that Gilda uses a single large resource file for grounding, which is automatically downloaded
into the ~/.gilda/<version>
folder during runtime. Given some additional dependencies, the grounding
resource file can also be regenerated locally by running python -m gilda.generate_terms
.
Usage
Gilda can either be used as a REST service (recommended) or programmatically via its Python API. An introduction Jupyter notebook for using Gilda as a service is available at https://github.com/indralab/gilda/blob/master/notebooks/gilda_introduction.ipynb
The REST service accepts POST requests with a JSON header on the /ground endpoint. There is a public REST service running on AWS but the service can also be run locally as
python -m gilda.app
Below is an example request using curl
:
curl -X POST -H "Content-Type: application/json" -d '{"text": "kras"}' http://localhost:8001/ground
The same request using Python's request package would be as follows:
requests.post('http://localhost:8001/ground', json={'text': 'kras'})
The above requests can also be used to interact with the public service, by using the
appropriate URL instead of localhost:8001
.
As for using Gilda as a Python package, the documentation at http://gilda.readthedocs.org provides detailed descriptions of each module of Gilda and their usage.
Funding
The development of Gilda is funded under the DARPA Communicating with Computers program (ARO grant W911NF-15-1-0544).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gilda-0.2.1.tar.gz
.
File metadata
- Download URL: gilda-0.2.1.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50a0c746b34fb623bc4963f6456b17ba038bc66985693a8f5b8760665517081d |
|
MD5 | 3cb57a57d17af0e6d8ea6ae1a7b4b0d0 |
|
BLAKE2b-256 | a83a6d242e1555e718ecc91b79e4578a8016c4e0e4ad185ce0ace5992235673c |
File details
Details for the file gilda-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: gilda-0.2.1-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e517601ca5d5e46a03f49675c56d9024f8c752b5277f02a22170be91cde373c |
|
MD5 | 7c522414d005a2b59e71c8ac0a01f956 |
|
BLAKE2b-256 | 03ac54bb404e5f61bc9702dbfd1ee633d8c930be3a4a2b785292cb036c867c57 |