Install any skill in seconds. Free to start, no credit card required.
Get Started Free →DNAnexus cloud genomics platform. Build apps/applets, manage data (upload/download), dxpy Python SDK, run workflows, FASTQ/BAM/VCF, for genomics pipeline development and execution.
.claude/skills/dnanexus-integration/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | — | — |
| case-06 | ✗→✓ | ▲ Improved | — | — |
| case-02 | ✗→✓ | ▲ Improved | — | — |
| case-07 | ✗→✓ | ▲ Improved | — | — |
| case-16 | ✗→✓ | ▲ Improved | — | — |
DNAnexus is a cloud platform for biomedical data analysis and genomics. Build and deploy apps/applets, manage data objects, run workflows, and use the dxpy Python SDK for genomics pipeline development and execution.
This skill should be used when:
The skill is organized into five main areas, each with detailed reference documentation:
Purpose: Create executable programs (apps/applets) that run on the DNAnexus platform.
Key Operations:
dx-app-wizarddx build or dx build --appCommon Use Cases:
Reference: See references/app-development.md for:
Purpose: Manage files, records, and other data objects on the platform.
Key Operations:
dxpy.upload_local_file() and dxpy.download_dxfile()Common Use Cases:
Reference: See references/data-operations.md for:
Purpose: Run analyses, monitor execution, and orchestrate workflows.
Key Operations:
applet.run() or app.run()Common Use Cases:
Reference: See references/job-execution.md for:
Purpose: Programmatic access to DNAnexus platform through Python.
Key Operations:
Common Use Cases:
Reference: See references/python-sdk.md for:
Purpose: Configure app metadata and manage dependencies.
Key Operations:
Common Use Cases:
Reference: See references/configuration.md for:
pythonimport dxpy # Upload input file input_file = dxpy.upload_local_file("sample.fastq", project="project-xxxx") # Run analysis job = dxpy.DXApplet("applet-xxxx").run({ "reads": dxpy.dxlink(input_file.get_id()) }) # Wait for completion job.wait_on_done() # Download results output_id = job.describe()["output"]["aligned_reads"]["$dnanexus_link"] dxpy.download_dxfile(output_id, "aligned.bam")
pythonimport dxpy # Find BAM files from a specific experiment files = dxpy.find_data_objects( classname="file", name="*.bam", properties={"experiment": "exp001"}, project="project-xxxx" ) # Download each file for file_result in files: file_obj = dxpy.DXFile(file_result["id"]) filename = file_obj.describe()["name"] dxpy.download_dxfile(file_result["id"], filename)
python# src/my-app.py import dxpy import subprocess @dxpy.entry_point('main') def main(input_file, quality_threshold=30): # Download input dxpy.download_dxfile(input_file["$dnanexus_link"], "input.fastq") # Process subprocess.check_call([ "quality_filter", "--input", "input.fastq", "--output", "filtered.fastq", "--threshold", str(quality_threshold) ]) # Upload output output_file = dxpy.upload_local_file("filtered.fastq") return { "filtered_reads": dxpy.dxlink(output_file) } dxpy.run()
When working with DNAnexus, follow this decision tree:
Often you'll need multiple capabilities together (e.g., app development + configuration, or data operations + job execution).
bashuv pip install dxpy
bashdx login
This authenticates your session and sets up access to projects and data.
bashdx --version dx whoami
Process multiple files with the same analysis:
python# Find all FASTQ files files = dxpy.find_data_objects( classname="file", name="*.fastq", project="project-xxxx" ) # Launch parallel jobs jobs = [] for file_result in files: job = dxpy.DXApplet("applet-xxxx").run({ "input": dxpy.dxlink(file_result["id"]) }) jobs.append(job) # Wait for all completions for job in jobs: job.wait_on_done()
Chain multiple analyses together:
python# Step 1: Quality control qc_job = qc_applet.run({"reads": input_file}) # Step 2: Alignment (uses QC output) align_job = align_applet.run({ "reads": qc_job.get_output_ref("filtered_reads") }) # Step 3: Variant calling (uses alignment output) variant_job = variant_applet.run({ "bam": align_job.get_output_ref("aligned_bam") })
Organize analysis results systematically:
python# Create organized folder structure dxpy.api.project_new_folder( "project-xxxx", {"folder": "/experiments/exp001/results", "parents": True} ) # Upload with metadata result_file = dxpy.upload_local_file( "results.txt", project="project-xxxx", folder="/experiments/exp001/results", properties={ "experiment": "exp001", "sample": "sample1", "analysis_date": "2025-10-20" }, tags=["validated", "published"] )
This skill includes detailed reference documentation:
Load these references when you need detailed information about specific operations or when working on complex tasks.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-05 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-06 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-08 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-12 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-13 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-18 | pass→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-02 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-20 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-07 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-16 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-10 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-15 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-14 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-11 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-17 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-09 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-22 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-19 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-21 | fail→fail | — | — | — | — | — | — | — | — | — | — | — | — |
case-04 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-03 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
case-01 | fail→pass | — | — | — | — | — | — | — | — | — | — | — | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +50 percentage points is the difference between those two pass rates over the 22 comparable cases.
The per-case answers from this run were removed by the retention sweep, so the case table below shows the verdicts without the text either arm produced. The counts above were recorded at the time and are unaffected. Answers are now kept for 180 days.
Other measured skills in the registry, with their headline benchmark lift.