cancer-genomics-analysis

cancer-genomics-analysis is a skill for Claude Code, Codex from synthetic-sciences/openscience. It costs 68 tokens per session (5,022 once invoked), scanned A, original, Apache-2.0.

A set of computational workflows for analysing genetic changes in cancer. It covers mutations, structural changes, copy-number changes, tumour purity, gene-expression patterns, and DNA-repair pathways.

In plain words
What is it for?
Use it to analyse tumour-normal sequencing, annotate VCF files, classify structural variants, estimate copy number and tumour purity, extract expression signatures, and calculate tumour mutational burden.
Why use it?
It helps convert tumour sequencing and expression data into measurements that can support research, clinical interpretation, and publications.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to analyse tumour-normal sequencing, annotate VCF files, classify structural variants, estimate copy number and tumour purity, extract expression signatures, and calculate tumour mutational burden.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/synthetic-sciences/openscience/cancer-genomics-analysis
About the project

synthetic-sciences/openscience is an AI workbench that carries out scientific research by reading papers, forming hypotheses, writing and running code, conducting experiments, analyzing results, and preparing reports. Researchers use it for work in machine learning, biology, physics, and chemistry with remote or local models. Catalogue add-ons extend its scientific workflows through skills and instructions.

synthetic-sciences/openscience · 3,501 stars · on GitHub · openscience.sh

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add synthetic-sciences/openscience --skill cancer-genomics-analysis
Clone the repo
git clone --depth 1 https://github.com/synthetic-sciences/openscience

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cancer-genomics-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/synthetic-sciences/openscience/cancer-genomics-analysis.svg)](https://agentmods.dev/skills/synthetic-sciences/openscience/cancer-genomics-analysis)
Your own site
<a href="https://agentmods.dev/skills/synthetic-sciences/openscience/cancer-genomics-analysis"><img src="https://agentmods.dev/badge/skills/synthetic-sciences/openscience/cancer-genomics-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 153
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00068 $0.05022
Opus 5 $0.00034 $0.02511
Sonnet 5 $0.00014 $0.01004
Haiku 4.5 $0.00007 $0.00502

Measured 8d ago against content hash ba10c3a32ac4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

cancer-genomics-analysis scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/calculate_tmb.py, scripts/ddr_network.py, scripts/nmf_metagenes.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

result = subprocess.run(cmd, capture_output=True, text=True)
backend/cli/skills/biology/cancer-genomics-analysis/SKILL.md · 543 lines

How it starts

The opening of the file, as written. The whole thing — 543 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cancer Genomics Analysis: Computational Workflows

Overview

Cancer Genomics Analysis provides computational pipelines for processing and interpreting cancer genomics data. This skill covers somatic mutation detection and annotation (GATK Mutect2 integration), structural variation characterization, copy number analysis (CNVkit workflows), tumor purity and ploidy estimation, NMF-based metagene extraction from expression data, DNA damage response network analysis, and tumor mutational burden calculation. All workflows produce quantitative outputs suitable for clinical interpretation and publication.

When to Use This Skill

  • Processing somatic variant calls from tumor-normal paired sequencing
  • Annotating VCF files with gene names, functional impact, and clinical significance
  • Detecting and classifying structural variants (deletions, duplications, inversions, translocations)
  • Running copy number analysis pipelines (coverage, segmentation, calling)
  • Estimating tumor purity and ploidy from sequencing data
  • Extracting gene expression signatures via NMF (metagene programs)
  • Analyzing DNA damage response pathway disruption in tumors
  • Calculating tumor mutational burden for immunotherapy biomarker assessment

Related Skills: For cancer mutation databases use cosmic-database. For variant clinical significance use clinvar-database. For gene annotations use ensembl-database. For pathway enrichment use kegg-database or reactome-database.

Installation

uv pip install pyvcf3 cyvcf2 pysam scikit-learn networkx gseapy pandas numpy matplotlib

For command-line tools (optional):

# GATK, SnpEff, CNVkit are installed separately
# conda install -c bioconda gatk4 snpeff cnvkit

Quick Start

import cyvcf2
import pandas as pd

# Parse somatic VCF
vcf = cyvcf2.VCF('somatic_mutations.vcf.gz')
variants = []
for v in vcf:
    if v.FILTER is None or v.FILTER == 'PASS':
        variants.append({
            'chrom': v.CHROM, 'pos': v.POS,
            'ref': v.REF, 'alt': ','.join(v.ALT),
            'qual': v.QUAL,
            'depth': v.INFO.get('DP'),
            'af': v.INFO.get('AF')
        })

df = pd.DataFrame(variants)
print(f"PASS variants: {len(df)}")
print(df.head())

Read the full file on GitHub · 543 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 543 lines · 68 tokens per session scan A ba10c3a32ac4

Subscribe to this mod's changes

cancer-genomics-analysis is a skill published in the GitHub repository synthetic-sciences/openscience (3,501 stars, last pushed today), licensed Apache-2.0. It adds 68 tokens to every session and 5,022 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.