Use for CodonFM/Encodon source audits and variant scoring. This includes public-source and CLI compatibility reviews and unsupported missense or synonymous-codon aggregation workflows. For generic variant scoring without established CodonFM/Encodon context, ask for the intended analysis first.
Capabilities
Preflight
Outputs
Load the arrays with NumPy and align scores by ids_merged.npy
Reporting
Keep the final answer concise and self-contained, with the requested command
Boundaries
Getting started
Full instructionsExample command
Examples
python -m src.runner eval \Instructions: SKILL.mdv1.0.0
Score variants with public Encodon
Run general masked-codon mutation_prediction only. This produces a research
signal, not a clinical diagnosis or an expression-direction prediction.
Instructions
First confirm CodonFM or Encodon context in the user's request or established
conversation. If that context is missing, ask for any missing variant details
and the intended analysis before choosing a model or inspecting model-specific
files. The presence of this skill or source files alone does not establish
the user's intent.
For source reviews and command preparation, inspect the supplied source and
metadata without installing the ML runtime. Use an available Python 3
interpreter with standard-library zipfile, json, and csv; do not assume
the python alias or unzip exists. Read archive members directly with
ZipFile.namelist() and ZipFile.read() for a source-only compatibility review;
no extraction is needed to inspect source or count matching members. If another
requested operation requires extraction, keep it in the user's selected output
or a fresh child of the runtime's exact assigned TMPDIR. Do not invent a shared
/tmp location or use a workspace parent. Preserve existing checkouts and
scratch directories. Check whether rg is
available; use grep or Python if it is absent. Read the source sections
needed for the requested command or compatibility question.
For a compatibility audit, use the supplied revision rather than assuming that
the public examples below describe it. Check both task-type and process-item
choices, and name the requested unsupported aliases explicitly in the conclusion.
Inspect the prediction writer before citing output filenames or a scoring formula.
Scope absence claims to inspected files; an archive-wide absence claim requires
checking its complete member list. Describe synonymous-codon aggregation as a
different workflow from the implemented ref/alt masked-codon LLR, without
inventing an implemented aggregation formula.
Compute any reported file count from the exact filter actually searched, with
Python and JSON counts distinguished rather than copying a displayed subtotal.
Read src/data/mutation_dataset.py before describing its row, pair or grouping
semantics. Finding that search terms are absent is not evidence of how unread
dataset code behaves; identify uninspected files explicitly.
For the public-v1 missense aggregation question, distinguish the unavailable
missense_prediction and missense_inference selectors from the available
general mutation_prediction; verify both task and process choices in the
supplied implementation rather than reporting only one selector.
Check whether the request is executable in public v1 before installing or
downloading anything. For synonymous-codon aggregation or Decodon, inspect the
supplied checkout's src/runner.py parser and src/config.py model configuration,
explain the missing feature, and finish. Do not implement the missing workflow,
search private code, or keep retrying unsupported commands.
Resolve the variant CSV, checkpoint, and output directory from the request and
available files. Validate inputs before inference. Execution requires the
project's ML dependencies and a compatible NVIDIA GPU. If a required resource
is unavailable, return the validated inputs where possible and a command with
the missing prerequisite identified. When scoring is requested and resources
are ready, execute and verify the score arrays. A request for preparation ends
with the inputs and command. If variants are missing, report the required
schema; do not invent variants or silently switch to a public dataset.
Default to the public 80M checkpoint for demonstrations:
nvidia/NV-CodonFM-Encodon-80M-v1, revision
399ca9fe17b57941a7bebc6788033919b417413c, file
NV-CodonFM-Encodon-80M-v1.safetensors and sibling config.json.
Reuse an existing checkpoint or download it when needed for the requested work.
Preserve an explicitly requested model size.
Preflight
- Confirm
src/runner.py,src/data/mutation_dataset.py, and
src/inference/encodon.pyexist. - Accept only
encodon_80m,encodon_600m, orencodon_1bas
--model_name. The public parser lists larger names, but its model
configuration does not implement them. - For model execution, require a
.ckptfile, or a.safetensorsfile with
siblingconfig.json. Input preparation can use a planned path. - Validate the CSV headers before starting a GPU job.
Inputs
Require these CSV columns:
id: unique row identifier.ref_seq: reference coding sequence, not genomic DNA with introns, UTR-only
sequence, or protein sequence.ref_codonandalt_codon: three-nucleotide codons.codon_position: zero-based codon position relative to the CDS.
With --extract-seq, MutationDataset extracts an appropriate sequence window
from ref_seq; it does not derive or require alt_seq.
Before running, normalize sequences and codons to uppercase DNA (A/C/G/T),
require CDS lengths divisible by three, and check every row satisfies:
0 <= codon_position < len(ref_seq) / 3
ref_seq[3 * codon_position : 3 * codon_position + 3] == ref_codon
The public extractor asserts the second condition and otherwise stops the job.
Examples
Set CODONFM_DATA_PATH to the variant CSV, CODONFM_CHECKPOINT_PATH to the
checkpoint, and CODONFM_RUN_DIR to your chosen output directory:
Use the interpreter from the configured ML environment for inference. The
example uses python; substitute that environment's interpreter path if the
alias is unavailable.
python -m src.runner eval \
--exp_name variant_scoring \
--model_name encodon_80m \
--checkpoint_path "${CODONFM_CHECKPOINT_PATH:?Set to the checkpoint path}" \
--data_path "${CODONFM_DATA_PATH:?Set to the supplied variant CSV path}" \
--process_item mutation_pred_mlm \
--dataset_name MutationDataset \
--task_type mutation_prediction \
--extract-seq \
--mask_mutation \
--num_nodes 1 \
--num_gpus 1 \
--num_workers 0 \
--val_batch_size 2 \
--out_dir "${CODONFM_RUN_DIR:?Set to a fresh output directory}" \
--predictions_output_dir "${CODONFM_RUN_DIR:?Set to a fresh output directory}/predictions"
Do not remove --mask_mutation: without it, the reference codon remains
visible at the scored position and invalidates masked-codon LLR scoring.
For preparation requests, inspect the CSV directly against the input schema
and reference-position checks above, then report the rows checked and provide
the scoring command. Extra columns are allowed; use --ref_seq_col if the
reference sequence has a different column name. These checks do not require
the ML runtime. The command above performs inference when resources are ready.
The existing --dryrun optionally builds runtime configuration and skips
execution. It requires the ML dependencies, can create the prediction directory,
and does not read the CSV or load weights. Do not use it as evidence that inputs,
checkpoint compatibility, or prediction quality have been validated.
Outputs
--predictions_output_dir receives:
ref_likelihoods_merged.npyalt_likelihoods_merged.npylikelihood_ratios_merged.npyids_merged.npy
Load the arrays with NumPy and align scores by ids_merged.npy. The reported
LLR is log p(ref_codon) - log p(alt_codon); a larger positive value means the
alternate codon is less probable in context. It does not say whether
expression goes up or down.
Reporting
Keep the final answer concise and self-contained, with the requested command
or compatibility conclusion near the start. For command preparation, include
each row's validation result, the complete command, all four output filenames,
and the LLR definition and sign interpretation. Cite the inspected source
locations for the command, outputs, and scoring semantics. State whether
inference ran; report numerical scores only when execution produced them.
Boundaries
- General
mutation_predictionhandles both synonymous and missense changes. - Do not use
missense_prediction,missense_inference,MissenseDataset,
mutation_pred_clm,--organism_token, or--causal; those are newer
unavailable public-release features. - If a user asks specifically for synonymous-codon-aggregated missense
scoring, explain that public v1 only provides the general ref/alt LLR. Do not
silently substitute the two methods.
Explore more skills
Browse all- Web Performance AuditorAI-powered web performance auditor for frontend and web developers. Use it to audit a website or web app, diagnose poor…
- Deepstream DevNVIDIA DeepStream SDK development with Python pyservicemaker API. Use when building video analytics pipelines,…
- I4h Catheter NavigationOverview of `workflows/catheter_navigation/` (fluorosim DRR, XPBD physics, vasculature digital twin). Use when the user…
- Omniverse Content ServicesOmniverse Content Services, also discoverable as Omniverse Content Workspace or USD Content Workspace. Use for USD…
- Doca RmaxDOCA Rivermax (doca_rmax) receive streams for timing-precise media over IP (SMPTE ST 2110 video / audio, market data,…
- Tao Train SegformerSegFormer for semantic segmentation. Lightweight transformer-based architecture with hierarchical feature extraction,…
Security
Signing
SignedSLSA L2- Signed by
- skills-hub.ai distributor
- Method
- Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
- Key
- skills-hub-ed25519-2026-11
- Signed
Reviews (0)
More from skills
View source →Frequently asked questions about codonfm-score
What does the codonfm-score skill do?
Use for CodonFM/Encodon source audits and variant scoring. This includes public-source and CLI compatibility reviews and unsupported missense or synonymous-codon aggregation workflows. For generic variant scoring without established CodonFM/Encodon context, ask for the intended analysis first. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.
How do I install the codonfm-score skill?
Run `npx @skills-hub-ai/cli install skills-nvidia-bionemo-codonfm-score` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/skills-nvidia-bionemo-codonfm-score/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.
Which AI tools does codonfm-score work with?
codonfm-score runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.
Is the codonfm-score skill free?
Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.
How do I use codonfm-score after installing it?
In Claude Code, type `/skills-nvidia-bionemo-codonfm-score` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.
Can I share the codonfm-score skill with my team?
Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.
Badge for your README
Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.
[](https://skills-hub.ai/skills/skills-nvidia-bionemo-codonfm-score)<a href="https://skills-hub.ai/skills/skills-nvidia-bionemo-codonfm-score"><img src="https://skills-hub.ai/api/badges/skill/skills-nvidia-bionemo-codonfm-score" alt="Install on Skills Hub"></a>More options in the badge docs.