bio-clinical-databases-somatic-signatures
Extract and analyze mutational signatures from somatic variants using SigProfiler or MutationalPatterns to characterize mutagenic processes. Use when identifying DNA damage mechanisms or etiology in cancer genomes.
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-clinical-databases-somatic-signatures --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: MutationalPatterns 3.12+, SigProfilerExtractor 1.1+, numpy 1.26+ 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 If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Somatic Mutational Signatures **"Extract mutational signatures from my tumor samples"** → Decompose somatic mutation catalogs into mutational signatures (SBS, DBS, ID) to identify DNA damage mechanisms and mutagenic processes in cancer genomes. - Python: `SigProfilerExtractor.sigpro()` for de novo signature extraction - R: `MutationalPatterns::fit_to_signatures()` for fitting to COSMIC signatures ## SigProfiler Workflow **Goal:** Extract de novo mutational signatures and decompose to COSMIC reference signatures from somatic VCFs. **Approach:** Generate a 96-trinucleotide-context mutation matrix with SigProfilerMatrixGenerator, extract signatures via NMF with SigProfilerExtr
- Version Compatibility
- SigProfiler Workflow
- Install and Generate Matrix
- Extract Signatures
- Decompose to COSMIC Signatures
- MutationalPatterns (R)
- Load and Analyze
- Fit to COSMIC Signatures
- De Novo Extraction
- COSMIC Signature Etiology
- Signature Categories
- Cosine Similarity
- Clinical Applications
- Related Skills
What does the bio-clinical-databases-somatic-signatures skill do?
Extract and analyze mutational signatures from somatic variants using SigProfiler or MutationalPatterns to characterize mutagenic processes. Use when identifying DNA damage mechanisms or etiology in cancer genomes.
How do I install it?
Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-clinical-databases-somatic-signatures --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.
