pku-embl/metagenomics-skills/bracken
Claude Code and agent skill by pku-embl/metagenomics-skills
- community
Checking that the SKILL.md file is still in the repository.
Bayesian re-estimation of abundance from Kraken2 reports. Use for installation, parameter choice, execution, output interpretation, or troubleshooting.
Install
npx vskill@latest install pku-embl/metagenomics-skills/brackenSKILL.md
Bracken
Upstream: Bracken
Citation
Lu, J., Breitwieser, F. P., Thielen, P. & Salzberg, S. L. Bracken: estimating species abundance in metagenomics data. PeerJ Comput. Sci. 3, e104 (2017). https://doi.org/10.7717/peerj-cs.104
See also docs/references.md.
Analytical thinking
Bracken redistributes Kraken-classified reads to a target taxonomic level using a Bayesian model conditioned on genome lengths / k-mer uniqueness in the same database build. It answers: “given Kraken’s read assignments, what are smoothed abundances at rank L?” — not “is species X truly present?”
Caveats:
- Must use a Bracken index built from the same Kraken2 DB.
-rread length should match sequencing.- Rare taxa remain false-positive-prone; MetaPhlAn papers have criticized high
FP rates for some Bracken setups — report confidence/thresholds carefully.
- Never paste Bracken and MetaPhlAn columns into one “species abundance” matrix
without a method factor.
How to run
Key parameters
| Flag | Notes | |
|---|---|---|
-d | Same DB root as Kraken2 | |
-r | Read length used to build Bracken files | |
-l | Rank (S/G/…) | |
-t | Min reads threshold (if used) — affects rare taxa |
Validation, recovery, and provenance
Require a non-empty Bracken table at the requested rank and verify its input report came from the identical Kraken2 database build. Confirm the database contains Bracken distribution files for the exact -r read length and k-mer settings. Reconcile redistributed reads, inspect zero/no-read samples and controls, and retain both original Kraken and Bracken outputs.
Record Bracken/Kraken versions, rank, threshold, read length, database manifest/checksum, commands, and output schema. Rerun all samples after a database or read-length change rather than combining tables. Bracken estimates conditional rank abundance; it does not add independent evidence for taxon presence.
Related skills
kraken2 · metaphlan · metabuli · visualization · 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/bracken/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/bracken)