Genemede API and Tools
This repository contains code to run the GENEMEDE GAT server that takes API requests.
- Download this repository via github
git clone https://github.com/genemede/gnmd-gat - Setup a python virtual environment
cd gnmd-gat
python -m venv env
source env/bin/activate | env\Scripts\activate.bat `(if on windows)`
pip install -r requirements.txt
- Create a
.envfile on the project root or copy.env.exampleto.env - Set
ALLOW_NUKER=1andALLOW_FAKER=1on the.envfile - Create fake data by running
python util.py faker - Start the GAT server
python serve.py - The tool should serve requests at
http://127.0.0.1:5342/v0/search?q=a&mtype=researcherfor example.
There are several utility scripts available on util.py, you can run python util.py without any arguments to see a list of utilities available.