The Biolink Model defines allowed predicates in the Translator ecosystem. Ingesting data from arbitrary sources requires mapping predicates in those sources to Translator predicates.
The Biolink Lookup Service can find predicates if they have an exact mapping in the model. The EdgeNormalization service takes this a step further, and attempts to find the best match to a Biolink predicate, even if there is not an explicit mapping.
Most users will use the public service, but instructions for deploying a new instance are given below.
Examples of calling the service are given in the examples notebook.
Create a virtual environment and activate.
python -m venv venv
source venv/bin/activate
Install dependencies
pip install -r requirements.txt
Run web server.
python main.py --host 0.0.0.0 --port 8145
Build image locally
docker build --tag edgenormalization .
docker run -it \
-p <port>:8145 \
edgenormalization
http://"host name or IP":"port"/apidocs
Deployment files for Kubernetes are available in the \kubernetes directory.