Agent skill

bio-metagenomics-abundance

Species abundance estimation using Bracken with Kraken2 output. Redistributes reads from higher taxonomic levels to species for more accurate estimates. Use when accurate species-level abundances are needed from Kraken2 classification output.

FreedomIntelligencegithub.com/FreedomIntelligenceGitHub ↗
claude-codeships scripts
Install
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-metagenomics-abundance --agent claude-code

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

Facts
Files in the skill folder: 3
SKILL.md size: 6 KB
Bundled scripts: yes
Path: skills/bio-metagenomics-abundance/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: Bracken 2.9+, Kraken2 2.1+, MetaPhlAn 4.1+, pandas 2.2+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures - 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. # Abundance Estimation with Bracken **"Get species-level abundances from my Kraken2 results"** → Redistribute reads assigned to higher taxonomic levels down to species using Bracken's Bayesian re-estimation for more accurate abundance profiles. - CLI: `bracken -d db -i kraken2.report -o bracken.output -r 150 -l S` ## Basic Abundance Estimation ```bash # Run Bracken on Kraken2 report bracken -d /path/to/kraken2_db \ -i kraken_report.txt \ -o bracken_output.txt \ -r 150 \ # Read length (100, 150, 200, 250, 300) -l S # Taxonomic level ``` ## Full Workflow with Kraken2 ```bash # Step 1: Classify with Kraken2 kraken2 --db /path/to/kraken2_db \ --threads 8 \ --paired \ --report sample_kraken_report.t

What's inside
Steps it walks through
  1. Version Compatibility
  2. Basic Abundance Estimation
  3. Full Workflow with Kraken2
  4. Different Taxonomic Levels
  5. Build Bracken Database
  6. Output Format
  7. Filter Low-Abundance Taxa
  8. Combine Multiple Samples
  9. Parse Bracken Output in Python
  10. Convert to Relative Abundance
  11. Create Abundance Matrix
  12. Key Parameters
  13. Taxonomic Levels
  14. Read Length Options
Ships with 2 files
  • examples/bracken_abundance.sh
  • usage-guide.md
Commands it runs
Run Bracken on Kraken2 report
bracken -d /path/to/kraken2_db \
Step 1: Classify with Kraken2
kraken2 --db /path/to/kraken2_db \
reads_R1.fastq.gz reads_R2.fastq.gz
Step 2: Estimate abundances with Bracken
Species level (default)
bracken -d db -i report.txt -o species.txt -r 150 -l S
Genus level
bracken -d db -i report.txt -o genus.txt -r 150 -l G
More from OpenClaw-Medical-Skills
All skills →
About this skill
What does the bio-metagenomics-abundance skill do?

Species abundance estimation using Bracken with Kraken2 output. Redistributes reads from higher taxonomic levels to species for more accurate estimates. Use when accurate species-level abundances are needed from Kraken2 classification output.

How do I install it?

Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-metagenomics-abundance --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