bio-workflows-cnv-pipeline
End-to-end copy number variant detection workflow from BAM files. Covers CNVkit analysis for exome/targeted sequencing with visualization and annotation. Use when detecting copy number alterations from sequencing data.
npx skills add BioTender-max/awesome-bio-agent-skills --skill cnv-pipeline --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Version Compatibility Reference examples tested with: CNVkit 0.9+, GATK 4.5+ Before using code patterns, verify installed versions match. If versions differ: - CLI: `<tool> --version` then `<tool> --help` to confirm flags If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # CNV Pipeline **"Detect copy number variants from my sequencing data"** → Orchestrate CNVkit coverage analysis, segmentation, calling, visualization, and annotation for exome or targeted sequencing panels. Complete workflow for detecting copy number variants from exome or targeted sequencing data. ## Workflow Overview ``` BAM files (tumor/normal or germline) | v [1. Target Preparation] --> Create/access target BED | v [2. Coverage Calculation] --> Read depth per target | v [3. Reference Creation] --> Pool of normals | v [4. CNV Calling] --------> Log2 ratios, segmentation | v [5. Visualization] ------> Scatter plots, heatmaps | v [6. Annotation] ---------> Gene-level CNVs | v CNV calls with gene annotations ``` ## Primary Path: CNVkit ### Step 1: Prepare Target Regions ```bash # If using exome capture ki
- Version Compatibility
- Workflow Overview
- Primary Path: CNVkit
- Step 1: Prepare Target Regions
- Step 2: Calculate Coverage
- Step 3: Create Reference (Pool of Normals)
- Step 4: Call CNVs
- Step 5: Visualization
- Step 6: Export and Annotation
- Batch Processing Script
- Germline CNV Calling
- Parameter Recommendations
- Troubleshooting
- Complete Pipeline Script
If using exome capture kit BED cnvkit.py target capture_targets.bed \ Access regions (off-target for WGS-like sensitivity) cnvkit.py access genome.fa \ cnvkit.py antitarget targets.bed \ For each sample for bam in *.bam; do cnvkit.py coverage $bam targets.bed \ cnvkit.py coverage $bam antitargets.bed \ done
What does the bio-workflows-cnv-pipeline skill do?
End-to-end copy number variant detection workflow from BAM files. Covers CNVkit analysis for exome/targeted sequencing with visualization and annotation. Use when detecting copy number alterations from sequencing data.
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill cnv-pipeline --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
