TRAPI → Cypher transpiler
Project description
TRAPI → Cypher transpiler
Installation
pip install reasoner-transpiler
Usage
from reasoner_transpiler.cypher import get_query
qgraph = {
"nodes": {
"diabetes": {
"ids": ["MONDO:0005148"],
},
"phenotype": {
"categories": ["biolink:PhenotypicFeature"],
},
},
"edges": {
"has phenotype": {
"subject": "diabetes",
"predicates": ["biolink:has_phenotype"],
"object": "phenotype",
},
},
}
cypher = get_query(qgraph)
Biolink Model
This package uses the Biolink Model Toolkit to access the Biolink Model. Optionally, choose a specific version of the Biolink Model with the environment variable BL_VERSION. Otherwise, the latest version used by the Biolink Model Toolkit will be used.
export BL_VERSION=4.1.6
Project details
Release history Release notifications | RSS feed
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 reasoner_transpiler-2.4.0.tar.gz.
File metadata
- Download URL: reasoner_transpiler-2.4.0.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8bfb4e0bc6480ccf4b55a7f7b7f00e95614c160b4fe5fe5da629d941705f4e83
|
|
| MD5 |
bffe4c38ee2cf47a8f03f05abf5f8c9b
|
|
| BLAKE2b-256 |
1715bbfbf5a4333bcdf10b7ad9237ed30779f5b8d9b3c369d11570f35722192d
|
File details
Details for the file reasoner_transpiler-2.4.0-py3-none-any.whl.
File metadata
- Download URL: reasoner_transpiler-2.4.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c9157dcd88c294985bb56e911210f76d6dfefde9abfebeabaef6d18199c0e7f
|
|
| MD5 |
f1827507ab70c42da6b76a2ce1011038
|
|
| BLAKE2b-256 |
a0dfcc6ba390860e80531b7d19d103429634e63be167fdf2e6347abf68af9ca6
|