pku-embl/metagenomics-skills/ancombc
Claude Code and agent skill by pku-embl/metagenomics-skills
- community
Checking that the SKILL.md file is still in the repository.
ANCOM-BC / ANCOM-BC2 — compositionally aware differential abundance with sampling-fraction bias correction (Bioconductor ANCOMBC). Use when DA must account for compositionality and unequal sampling fractions; complements MaAsLin2/LEfSe.
Install
npx vskill@latest install pku-embl/metagenomics-skills/ancombcSKILL.md
ANCOM-BC / ANCOM-BC2
Upstream: FrederickHuangLin/ANCOMBC · Bioconductor: https://bioconductor.org/packages/ANCOMBC/
Citation
Lin, H. & Peddada, S. D. Analysis of compositions of microbiomes with bias correction. Nat. Commun. 11, 3514 (2020). https://doi.org/10.1038/s41467-020-17041-7
ANCOM-BC2: Lin, H. & Peddada, S. D. Multigroup analysis of compositions of microbiomes with covariate adjustments and repeated measures. Nat. Methods 21, 83–89 (2024). https://doi.org/10.1038/s41592-023-02092-7
See also docs/references.md.
Analytical thinking
ANCOM-BC estimates sampling fractions, corrects compositional bias, and reports taxon-wise effects with CIs and FDR. Prefer when compositionality is a primary concern. Pin ancombc vs ancombc2, formula, and prevalence filters. Often takes phyloseq / TreeSummarizedExperiment-style inputs.
| vs | Prefer ANCOM-BC when | |
|---|---|---|
maaslin2 | Explicit sampling-fraction bias correction focus | |
lefse | Modern FDR + CI vs classic LDA | |
stamp | R/Bioconductor pipeline vs GUI exploratory tests |
How to run
This matrix route requires raw integer feature counts with taxa as rows and samples as columns. For repeated measures or phyloseq/TreeSummarizedExperiment input, use the pinned ANCOM-BC2 vignette and declare the random-effects formula.
Decision tree
Validation, recovery, and provenance
Validate sample alignment, integer counts, library sizes, prevalence, group replication, factor references, design rank and confounding before fitting. Inspect convergence/warnings, sensitivity scores, structural-zero calls, effect direction, confidence/standard errors, adjusted p-values, global/pairwise multiplicity families, and taxa removed by filters. Repeat key conclusions under justified prevalence/library thresholds and with/without problematic samples.
Save original counts/metadata, exclusions, exact function call and seed, result objects/tables, Bioconductor lockfile, and sessionInfo(). Report estimates and uncertainty with the correction family; do not compare ANCOM-BC log-fold changes directly with ordinary relative-abundance fold changes. Results are model-dependent associations, not causal or absolute-load evidence.
Related skills
research-analysis · maaslin2 · lefse · phyloseq · microeco · stamp · tool-selection
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ancombc/SKILL.md
Popularity
- Repository stars
- 6
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/pku-embl/metagenomics-skills/ancombc)