There was an error while loading. Please reload this page.
Refer to the installation instructions before trying to run the unit tests.
Once in the root directory of ukbREST, first of all, run your Docker and then this command:
$ sudo bash utils/scripts/run_postgresql.sh
That command will pull the PostgreSQL docker image and run the PostgreSQL server locally. You need to open a new terminal for then next steps.
You need to install bgenix and qctool if you want to run the tests for genotype query. The bgenix and qctool commands need to be visible in the path.
bgenix
qctool
You need to have a Conda environment (assumed to be named ukbrest here).
ukbrest
$ conda activate ukbrest $ python -m unittest discover . [...] ---------------------------------------------------------------------- Ran 145 tests in 83.173s OK (skipped=10)