Skip to main content

Grounding for biomedical entities with contextual disambiguation

Project description

Gilda: Grounding Integrating Learned Disambiguation

License Build Documentation

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gilda-0.2.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

gilda-0.2.0-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file gilda-0.2.0.tar.gz.

File metadata

  • Download URL: gilda-0.2.0.tar.gz
  • Upload date:
  • Size: 17.5 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

Hashes for gilda-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5cbeabc73ffca5f59724a628ff18b2d099370bcaf4c25a4be566a874523ac030
MD5 da22127cd981cfefbe62f4d7762f4582
BLAKE2b-256 e3a0245e4bc1e09c64155496b18e37ac9100357f028392e3c54de7b3a1d1b06d

See more details on using hashes here.

File details

Details for the file gilda-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: gilda-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 21.6 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

Hashes for gilda-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 abd33daf4337e9b13f727a0f61881e6ef0b93fec1e8ebc7906cb5ff6d6c45fac
MD5 f2c8262cf1ea485df1491c515ba87274
BLAKE2b-256 7a33c98b97ea6e7a0d7a35211fe4f71ef59d493cb3d4c6771dab609e8cf1a33e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page