Agent skill · Content & Marketing

bio-copy-number-cnv-annotation

Annotate CNVs with genes, pathways, and clinical significance. Use when interpreting CNV calls or identifying affected genes from copy number analysis.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-copy-number-cnv-annotation --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 9 KB
Bundled scripts: yes
Path: skills/bio-copy-number-cnv-annotation/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,909
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: bedtools 2.31+, pandas 2.2+, pybedtools 0.9+, pysam 0.22+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures - R: `packageVersion('<pkg>')` then `?function_name` to verify parameters - 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 Annotation **"Annotate my CNV calls with gene names"** → Overlap CNV segments with gene annotations, clinical databases, and pathway information to identify affected genes and assess clinical significance. - CLI: `bedtools intersect -a cnvs.bed -b genes.bed` - Python: `pybedtools.BedTool().intersect()` ## Annotate with Gene Names (bedtools) ```bash # Convert CNV segments to BED awk 'NR>1 {print $1"\t"$2"\t"$3"\t"$5"\t"$6}' sample.cns > sample.cnv.bed # Intersect with gene annotations bedtools intersect -a sample.cnv.bed -b genes.bed -wa -wb > cnv_genes.txt # Get genes overlapping CNVs bedtools intersect -a genes.b

What's inside
Steps it walks through
  1. Version Compatibility
  2. Annotate with Gene Names (bedtools)
  3. CNVkit Gene Annotation
  4. Python: Comprehensive Annotation
  5. Annotate with Cancer Gene Census
  6. Annotate with ACMG/ClinVar
  7. GISTIC2 for Recurrent CNVs
  8. AnnotSV for Comprehensive Annotation
  9. R: Gene Enrichment of CNV Regions
  10. Interpret CNV States
  11. Output Report
  12. Related Skills
Ships with 2 files
  • examples/annotate_cnvs.py
  • usage-guide.md
Commands it runs
Convert CNV segments to BED
awk 'NR>1 {print $1"\t"$2"\t"$3"\t"$5"\t"$6}' sample.cns > sample.cnv.bed
Intersect with gene annotations
bedtools intersect -a sample.cnv.bed -b genes.bed -wa -wb > cnv_genes.txt
Get genes overlapping CNVs
bedtools intersect -a genes.bed -b sample.cnv.bed -u > affected_genes.bed
Annotate during analysis
cnvkit.py batch tumor.bam --normal normal.bam \
Genes are included in output CNS file
Export segments for GISTIC
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-copy-number-cnv-annotation skill do?

Annotate CNVs with genes, pathways, and clinical significance. Use when interpreting CNV calls or identifying affected genes from copy number analysis.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-copy-number-cnv-annotation --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 FreedomIntelligence/OpenClaw-Medical-Skills, a repository with 2,909 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.

Keep going