Skip to main content

Thin helpers for launching local OGN runs and calling the OGN control plane

Project description

ogn-sdk (Python)

ogn-sdk is a tiny convenience layer around the ogn_run binary. Install it with:

python3 -m pip install ogn-sdk

Example usage:

from ogn_sdk import RunRequest, run_local

req = RunRequest(
    fastq="/data/sample_R1.fastq.gz",
    reference="/data/ref.fa",
    output_vcf="out/sample.g.vcf.gz",
    sample_id="hg002_chr20",
    profile_dir="profile_hg002"
)

result = run_local(req)
print("exit status", result.returncode)

RunRequest maps directly to CLI flags, so you can pass fastq2, bundle, or any additional CLI switches via extra_args. The helper simply shells out to ogn_run (defaulting to the binary on PATH).

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

ogn_sdk-0.9.1.tar.gz (39.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ogn_sdk-0.9.1-py3-none-any.whl (47.0 kB view details)

Uploaded Python 3

File details

Details for the file ogn_sdk-0.9.1.tar.gz.

File metadata

  • Download URL: ogn_sdk-0.9.1.tar.gz
  • Upload date:
  • Size: 39.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ogn_sdk-0.9.1.tar.gz
Algorithm Hash digest
SHA256 63aa3bc734a8af587ac49b61811ff411e1c9fa3e9aef77b1cfb8ca9bf644dd67
MD5 26f9836f8e851cacdcbd08b655381780
BLAKE2b-256 dd56f26368fba8d0c5d8861bdc296e953e2ad8140f933c96ceec445e4e12f423

See more details on using hashes here.

Provenance

The following attestation bundles were made for ogn_sdk-0.9.1.tar.gz:

Publisher: release.yml on omniscoder/ogn-core-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ogn_sdk-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: ogn_sdk-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 47.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ogn_sdk-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e714aee3e01a33f26184a9bcbe3093f52c677762e55262a8acfb81304a47a769
MD5 580522f8f8d14bd7d932f87f4204dd5e
BLAKE2b-256 b7e014e2471fda0ad4661e079ee1e569dc3b40f08a592317f180c155915701db

See more details on using hashes here.

Provenance

The following attestation bundles were made for ogn_sdk-0.9.1-py3-none-any.whl:

Publisher: release.yml on omniscoder/ogn-core-kit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page