Generate and store genetic data into an Elasticsearch database.
Project description
genelastic
Storing of genetics data into an Elasticsearch database.
Prerequisites
python>= 3.11make
Installation
To install dependencies, run the following command:
python -m venv .venv
source .venv/bin/activate
make install.deps
Configuration
To start the API server, the following environment variables should be defined:
GENAPI_ES_URL: URL of the Elasticsearch server,GENAPI_ES_ENCODED_API_KEY: Encoded API key,GENAPI_ES_INDEX_PREFIX: Prefix to identify indices of interest,GENAPI_ES_CERT_FP: Certificate fingerprint of the Elasticsearch server.
Then, run the following command:
make start-api
To start the UI server, the following environment variables should be defined:
GENUI_API_URL: URL of the API server.
Then, run the following command:
make start-ui
Developers
This project uses pre-commit to manage Git hooks scripts. To install project hooks, run:
pre-commit install
After that, each commit will succeed only if all hooks (defined in .pre-commit-config.yaml) pass.
If necessary (though not recommended),
you can skip these hooks by using the --no-verify / -n option when committing:
git commit -m "My commit message" --no-verify # This commit will not run installed hooks.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file genelastic-0.7.0.tar.gz.
File metadata
- Download URL: genelastic-0.7.0.tar.gz
- Upload date:
- Size: 35.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
362a07847c6dc3e751e76c7b91652fee323e5aff274f093c3e087b8b949ad0c4
|
|
| MD5 |
70a6af3c6694bac7a8cc649f49f9a842
|
|
| BLAKE2b-256 |
ec2e118e128f940fd61af0f60a5a9bec46ad01386f266d73aa199219de154171
|
File details
Details for the file genelastic-0.7.0-py3-none-any.whl.
File metadata
- Download URL: genelastic-0.7.0-py3-none-any.whl
- Upload date:
- Size: 40.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12f7f5ec6cbe58dfd929fabb590194e273ea869f9f4e9eda47c362b22a5b7066
|
|
| MD5 |
477252c03f10ae3bd7b066622f983c2a
|
|
| BLAKE2b-256 |
c2dd988ef0beb5631a0984a42260c68d5e5d465e48c00d9f4d3b649078c2b863
|