gosdk
Project description
gosdk - GenomOncology Software Development Kit
This is a proprietary package that is available from GenomOncology and works with our Knowledge Management System.
For more information about licensing please contact us at:
Additional proprietary projects available for download via pypi include:
- GO VCF - GenomOncology Variant Call File "call" generator
- GO CLI - GenomOncology Command Line Interface
Our open source projects include:
- Related - Nested Object Models in Python with dictionary, YAML, and JSON transformation support
- Specd - Swagger v2 Specification Directories
- Rigor - HTTP-based DSL for for validating RESTful APIs
Overview
The GenomOncology Software Development Kit (SDK) is to be used with a running instance of the GenomOncology Knowledge Management System. It is built on top of the Specd project and currently provides access to the following functionality:
- Variant HGVS Calculation (g., p., c.)
- Variant Annotation (e.g. gnomAD, dbSNP, etc.)
- Variant Classification (e.g. ACGM or AMP Tiers)
- Gene and Protein Information
- Clinical Trial Matching
- Therapeutic Matching
- Variant Warehouse Loading and Querying
sync mode
When async_enabled is not passed in (default is False) then operation is in
"normal" synchronous mode.
TOKEN = "..."
HGVS_G = "NC_000007.13:g.140453136A>T"
from gosdk import construct_sdk
sdk = construct_sdk(token=TOKEN)
a_list = sdk.annotations.get_annotations(batch=[HGVS_G]).result()
annotation = a_list.get_annotation(HGVS_G)
assert annotation.canonical_c_dot == "NM_004333.4:c.1799T>A"
async mode
When async_enabled is True you must then interact with the library using
the async/await paradigm.
TOKEN = "..."
HGVS_G = "NC_000007.13:g.140453136A>T"
from gosdk import construct_sdk
sdk = construct_sdk(async_enabled=True, token=TOKEN, loop=loop)
a_list = await sdk.annotations.get_annotations(batch=[HGVS_G]).result()
annotation = a_list.get_annotation(HGVS_G)
assert annotation.canonical_c_dot == "NM_004333.4:c.1799T>A"
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 gosdk-0.11.0.tar.gz.
File metadata
- Download URL: gosdk-0.11.0.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3a61b8c8ab92ea63abd45c61c2a0c446c63c7964625c576200370d67a5bb573
|
|
| MD5 |
37f6e2f7b51f769b7af274154ce2d49e
|
|
| BLAKE2b-256 |
b702c77195c6a55a923370491c6b1e1710607127bcb4c6ee05f0b69e11c854c7
|
File details
Details for the file gosdk-0.11.0-py3-none-any.whl.
File metadata
- Download URL: gosdk-0.11.0-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bec55232af56b69ff753829b77c49fa0ebf08bd79d3b49ced545fc0c95780fa
|
|
| MD5 |
e23bd98319f7a9bf92eb2001b4d12c1b
|
|
| BLAKE2b-256 |
239e7cc88f577a9313c2b267a9e8b5e43cc5414642c608ec0b664a24527b00af
|