TranslatorSRI / NameResolution

A service for finding CURIEs from lexical strings.
3 stars 2 forks source link
ncats-translator shared-utility

Name resolution service

This service takes lexical strings and attempts to map them to identifiers (curies) from a vocabulary or ontology.
The lookup is not exact, but includes partial matches.

Multiple results may be returned representing possible conceptual matches, but all of the identifiers have been correctly normalized using the NodeNormalization service.

See the documentation notebook for examples of use.

Docker setup

docker-compose up

native setup

Solr database

See instructions in the data-loading/ directory.

API

pip install -r requirements.txt
./main.sh

Kubernetes

Helm charts can be found at https://github.com/helxplatform/translator-devops/helm/r3

examples

curl -X POST "http://localhost:6434/lookup?string=oxycod&offset=0&limit=10" -H "accept: application/json"

Configuration

NameRes can be configured by setting environmental variables: