/clawbio:illumina-bridgefrom clawbio
Imports DRAGEN-exported Illumina result bundles (VCF, SampleSheet, QC) into ClawBio for local tertiary analysis and downstream routing.
Ships in clawbio. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are Illumina Bridge, a specialised ClawBio agent for importing Illumina/DRAGEN result bundles into the local-first ClawBio ecosystem.
Illumina platforms and DRAGEN generate strong secondary-analysis outputs, but teams still need a clean handoff into tertiary interpretation, reporting, and reproducible local workflows.
VCF + SampleSheet + QC metrics inside a DRAGEN-style export folder.report.md, result.json, tables/sample_manifest.csv, and reproducibility artifacts with downstream routing hints.| Format | Extension | Required Fields | Example |
|---|---|---|---|
| DRAGEN bundle directory | directory | SampleSheet.csv, one *.vcf/*.vcf.gz, one QC file | demo_bundle/ |
| SampleSheet | .csv | [Data], [BCLConvert_Data], or [Cloud_TSO500S_Data] section with Sample_ID | SampleSheet.csv |
| QC metrics | .json, .csv, .tsv | run and quality summary metrics | qc_metrics.json, MetricsOutput.tsv |
# Standard usage
python skills/illumina-bridge/illumina_bridge.py \
--input <bundle_dir> --output <report_dir>
# With optional ICA metadata enrichment
python skills/illumina-bridge/illumina_bridge.py \
--input <bundle_dir> \
--metadata-provider ica \
--ica-project-id <project_id> \
--ica-run-id <analysis_id> \
--output <report_dir>
# Demo mode
python skills/illumina-bridge/illumina_bridge.py --demo --output /tmp/illumina_demo
# Via ClawBio runner
python clawbio.py run illumina --input <bundle_dir> --output <dir>
python clawbio.py run illumina --demo
python clawbio.py run illumina --demo
Expected output: a synthetic DRAGEN import with sample manifest, QC summary, result envelope, and recommended downstream ClawBio steps.
Offline ICA demo:
ILLUMINA_ICA_API_KEY= python skills/illumina-bridge/illumina_bridge.py \
--demo \
--metadata-provider ica \
--ica-project-id demo-project \
--ica-run-id demo-analysis \
--output /tmp/illumina_ica_demo
The empty key applies only to this command and ensures mock mode even if the shell has an exported API key. --demo selects the synthetic input bundle; it does not itself disable ICA requests when a key is configured.
The bundled ICA payload contains the v3 fields used by this adapter: project and analysis metadata only, no sample records. tables/sample_manifest.csv still contains the four ICA columns, but they remain empty and metadata_enrichment.merge.samples_enriched is 0.
Use environment variables. Do not pass the API key on the command line, paste it into issue comments, or write it into logs.
export ILLUMINA_ICA_API_KEY="<redacted-api-key>"
export ILLUMINA_ICA_BASE_URL="https://ica.illumina.com/ica/rest"
python clawbio.py run illumina \
--input <bundle_dir> \
--metadata-provider ica \
--ica-project-id <project_id> \
--ica-run-id <analysis_id> \
--output <report_dir>
ILLUMINA_ICA_BASE_URL defaults to https://ica.illumina.com/ica/rest. Only use another trusted Illumina HTTPS endpoint when the tenant requires it.
--ica-run-id is the ICA analysis ID for this PR. It is not a sequencing run ID and does not call /api/sequencingRuns/{sequencingRunId}.
Results/*hard-filtered.vcf.[Data], [BCLConvert_Data], and [Cloud_TSO500S_Data] when present, normalizing Sample_ID, Sample_Name, Sample_Project, Sample_Type, Lane, index, and index2.MetricsOutput.tsv files and map common Illumina/DRAGEN metric aliases into stable report keys such as run_id, analysis_software, workflow_version, yield_gb, and percent_q30.GET requests with X-API-Key auth and Accept: application/vnd.illumina.v3+json:
GET /api/projects/{projectId}GET /api/projects/{projectId}/analyses/{analysisId}samples: []; the manifest's ica_sample_id, ica_analysis_status, ica_cohort, and ica_notes columns stay empty. Do not infer samples by name, do not call sample search endpoints, and do not perform extra lookups for this PR.Successful ICA enrichment reads project and analysis metadata only. The fields below are under data in result.json; summary.metadata_status mirrors data.metadata_enrichment.status.
| Field | Meaning |
|---|---|
metadata_enrichment.status | enriched after successful project + analysis lookup, even when the analysis is not SUCCEEDED; otherwise warning, skipped, disabled, or mocked-demo depending on the path |
metadata_enrichment.project.active | Boolean from ICA v3 Project.active; if the field is absent, store null |
metadata_enrichment.project.status | Compatibility field retained for older consumers; ICA v3 does not define project status, so it may be empty/null |
metadata_enrichment.run.id | Analysis ID returned by ICA, or the supplied --ica-run-id fallback |
metadata_enrichment.run.name | AnalysisV3.userReference; if absent, fall back to reference |
metadata_enrichment.run.status | ICA analysis status such as SUCCEEDED, REQUESTED, INPROGRESS, or FAILED |
metadata_enrichment.run.pipeline | Pipeline name if available, otherwise pipeline code |
metadata_enrichment.samples | Always [] for v3 project/analysis lookup in this PR |
metadata_enrichment.merge.samples_enriched | 0 for v3 lookup and the offline mock |
Reports must show the analysis status. A non-SUCCEEDED analysis still counts as enriched, but the report and result warnings must say that the analysis was not completed successfully.
The local import must finish whenever possible. ICA failures should be warnings, not hard failures.
ILLUMINA_ICA_API_KEY, --ica-project-id, or --ica-run-id: do not send an HTTP request.ILLUMINA_ICA_BASE_URL and network access.project or analysis) and keep the local import output.output_directory/
├── report.md
├── result.json
├── tables/
│ └── sample_manifest.csv
└── reproducibility/
├── commands.sh
├── environment.yml
└── checksums.sha256
Required:
requests — optional ICA metadata lookupOptional:
ILLUMINA_ICA_API_KEY — enables metadata-only ICA enrichmentILLUMINA_ICA_BASE_URL — override the ICA API root with a trusted https://*.illumina.com endpoint if neededILLUMINA_ICA_API_KEY belongs in the environment, not in CLI flags or logsSUCCEEDED analysis, sample matching, sample search, or a production workflow.project.active plus compatible project.status, and --ica-run-id as an analysis ID.Offline checks:
python skills/illumina-bridge/illumina_bridge.py --demo --output /tmp/illumina_demo
ILLUMINA_ICA_API_KEY= python skills/illumina-bridge/illumina_bridge.py \
--demo --metadata-provider ica \
--ica-project-id demo-project \
--ica-run-id demo-analysis \
--output /tmp/illumina_ica_demo
python -m pytest skills/illumina-bridge/tests/ -v
Maintainer-only live check:
export ILLUMINA_ICA_API_KEY="<redacted-api-key>"
export ILLUMINA_ICA_BASE_URL="https://ica.illumina.com/ica/rest"
python clawbio.py run illumina \
--input <bundle_dir> \
--metadata-provider ica \
--ica-project-id <project_id> \
--ica-run-id <analysis_id> \
--output <report_dir>
Use placeholder IDs in docs and logs. Do not publish tenant IDs, project IDs, analysis IDs, or API keys unless the maintainer explicitly says they are safe to disclose.
Trigger conditions:
SampleSheet + VCF)Chaining partners:
equity-scorer: cohort-level follow-up on imported VCFsclinpgx: targeted gene-drug follow-up after DRAGEN reviewgwas-lookup: per-variant external lookup from imported findingsdemo_bundle/SampleSheet.csv (opens in a new tab)demo_bundle/demo.vcf (opens in a new tab)demo_bundle/mock_ica_metadata.json (opens in a new tab)demo_bundle/qc_metrics.json (opens in a new tab)illumina_bridge.py (opens in a new tab)illumina_bundle.py (opens in a new tab)illumina_providers.py (opens in a new tab)tests/test_illumina_bridge.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub clawbio/clawbio --plugin clawbio112 skills in this plugin
/affinity-proteomicsUnified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU). Platform-aware QC, normalisation, differential abundance, volcano plots, heatmaps, and PCA./analyze-fastaAnalyze a single FASTA file (nucleotide or protein), compute sequence-level metrics (GC, ORFs, MW, pI, GRAVY, secondary-structure fractions) with Biopython, and write a Markdown report plus structured JSON for downstream chaining./ancestry-risk-profilerInfers genetic super-population ancestry from a 23andMe/AncestryDNA file and computes ancestry-stratified odds ratios with an exploratory Ancestry Elevation Score (AES) showing where ancestry-specific GWAS effect sizes diverge from European reference estimates. The bundled demo panel requires user-supplied ancestry because high-Fst AIM coverage is below the automatic-inference floor.Other plugins' skills for the same job