Skip to content

feat(genomic-intelligence-nim): hosted DNA-sequence prediction skill#12

Open
boldakov wants to merge 1 commit into
NVIDIA-BioNeMo:mainfrom
genomicintelligence:feat/genomic-intelligence-nim
Open

feat(genomic-intelligence-nim): hosted DNA-sequence prediction skill#12
boldakov wants to merge 1 commit into
NVIDIA-BioNeMo:mainfrom
genomicintelligence:feat/genomic-intelligence-nim

Conversation

@boldakov

Copy link
Copy Markdown

Summary

Adds a nim-skills/genomic-intelligence-nim skill that wraps Genomic Intelligence's hosted DNA language models, following the existing nim-skills/ pattern (a SKILL.md driving a bearer-authed REST call). One skill, six tasks over the shared POST /v1/tasks/{task}/predict contract:

  • promoter — promoter regions
  • splice — splice donor/acceptor sites
  • enhancer — developmental & housekeeping enhancer activity
  • chromatin — chromatin state across hundreds of tracks
  • expression — sequence → expression, log(TPM+1)
  • annotation — de-novo gene/transcript structure

Inference is hosted — no local weights or GPU; the only dependency is requests.

Third-party hosted endpoint

Unlike the existing nim-skills/ (which target NVIDIA-operated endpoints), this skill calls an endpoint operated by Genomic Intelligence. The interface is identical to the hosted-NIM shape (HTTPS + Authorization: Bearer + JSON); it is hosted-only. Flagging it explicitly so you can weigh in, happy to adjust naming. Context in #5.

Why a scripts/ runner (not inline-only)

The published nim-skills/ inline their Python in SKILL.md. This skill instead ships a small, self-contained requests-only runner, because the surface (six tasks, async jobs, and an exact 9,198 bp window for expression task) does not inline cleanly. Shipping scripts/ is not prohibited by CONTRIBUTING, and other categories ship scripts too. SKILL.md still includes a minimal inline example for the simple sync case.

What's included

  • SKILL.md — frontmatter + task table + runner usage + a minimal inline example.
  • scripts/gi_predict.py (one CLI, six tasks, sync + async, writes report + JSON), gi_client.py (the /v1 client), and optional gi_fetch.py / gi_ensembl.py (gene/region → FASTA via public Ensembl, incl. TSS-centring).
  • references/{api,tasks,authentication,sequence-acquisition,errors}.md.
  • evals/{evals,trigger_evals}.json — matching the repo's eval schema (promoter, expression-window, and annotation-async cases).
  • assets/demo/*.fa — one real reference FASTA per task (e.g. TP53 promoter, HBB splice, HBB-K562 9,198 bp expression window).

Auth

Users set GI_API_KEY (partner key, request at contact@genomicintelligence.ai). No key is committed; the skill resolves it from the environment.

Licensing / DCO

Contribution dual-licensed Apache-2.0 OR CC-BY-4.0; commits are DCO signed-off.

Add a nim-skills/ skill wrapping Genomic Intelligence's hosted DNA
language models over the /v1/tasks/{task}/predict contract: promoter,
splice, enhancer, chromatin, expression, and annotation. Bearer-authed
via GI_API_KEY; ships a requests-only runner (sync + async), references,
demo FASTAs, and evals. Context: NVIDIA-BioNeMo#5.

Signed-off-by: Alexander Boldakov <boldakov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant