metagenome-taxonomic-profiling
Skill4 starsChanged 12 days agoMITView on GitHub
Profile microbial community composition from shotgun metagenomic reads using Kraken2/Bracken or MetaPhlAn 4.
In this repository56 other files it gives its agents.
- bioinformatics-env-setupSkill
- design-thermostable-mutationsSkill
- download-gdcSkill
- download-geoSkill
- download-sraSkill
- source-summarizerSkill
- genome-alignment-qcSkill
- genome-read-alignmentSkill
- genome-variant-annotationSkill
- genome-variant-callingSkill
- genome-variant-filteringSkill
- metagenome-assemblySkill
- metagenome-binningSkill
- metagenome-functional-profilingSkill
- metagenome-host-removalSkill
- ncbi-eutilities-assistantSkill
- ngs-quality-controlSkill
- ngs-read-preprocessingSkill
- paper-to-briefSkill
- predict-protein-heat-stabilitySkill
- researchSkill
- rnaseq-alignment-qcSkill
- rnaseq-differential-expressionSkill
- rnaseq-functional-enrichmentSkill
- rnaseq-read-alignmentSkill
- rnaseq-read-countingSkill
- rnaseq-transcript-quantificationSkill
- rpsblast-assistantSkill
- scrnaseq-cellranger-countSkill
- scrnaseq-cell-type-annotationSkill
- scrnaseq-clusteringSkill
- scrnaseq-differential-expressionSkill
- scrnaseq-integrationSkill
- scrnaseq-quality-controlSkill
- scrnaseq-trajectory-analysisSkill
- search-enaSkill
- search-geoSkill
- search-gsaSkill
- search-ncbi-datasetsSkill
- search-sraSkill
- stat-analyze-distributionSkill
- stat-assess-data-qualitySkill
- stat-bayesian-estimationSkill
- stat-cluster-samplesSkill
- stat-compare-multiple-groupsSkill
- stat-compare-two-groupsSkill
- stat-fit-glmSkill
- stat-fit-linear-modelSkill
- stat-learn-bayesian-networkSkill
- stat-logistic-regressionSkill
- stat-nonlinear-embeddingSkill
- stat-pairwise-correlationSkill
- stat-pcaSkill
- stat-survival-analysisSkill
- structured-intelligence-skill-creatorSkill
- <skill-id>Skill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
If Kraken2: run kraken2 with --report to generate a Kraken-style taxonomic report.
- Very specific: line 32
If Bracken: run bracken on the Kraken2 report for abundance re-estimation at the specified taxonomic level.
- Very specific: line 33
If MetaPhlAn: run metaphlan with --input_type fastq to produce a merged abundance table.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: metagenome-taxonomic-profiling
Use When
- The user wants to determine which organisms are present in a metagenomic sample.
- The user needs taxonomic abundance estimates at species, genus, or phylum level.
- The user wants to compare Kraken2 vs MetaPhlAn profiling approaches.
- The user needs Bracken re-estimation for more accurate species-level abundance from Kraken2 output.
Inputs
- Required:
- Host-depleted FASTQ file(s) (
.fastq,.fq,.fastq.gz,.fq.gz).
- Host-depleted FASTQ file(s) (
- Optional:
--profiler STR— Profiler to use:kraken2ormetaphlan(default:kraken2).--db PATH— Kraken2 or MetaPhlAn database path.--bracken-db PATH— Bracken database path (for Bracken re-estimation).--bracken-len N— Read length for Bracken (e.g., 100, 150, 250).--level CHAR— Taxonomic level for Bracken:S(species),G(genus),P(phylum), etc. (default:S).--threads N— Number of threads (default: 4).--outdir DIR— Output directory (default:taxonomic_profiling_results).--confidence FLOAT— Kraken2 confidence threshold (default:0.0).
Workflow
- If Kraken2: run
kraken2with--reportto generate a Kraken-style taxonomic report. - If Bracken: run
brackenon the Kraken2 report for abundance re-estimation at the specified taxonomic level. - If MetaPhlAn: run
metaphlanwith--input_type fastqto produce a merged abundance table. - Parse reports: extract top N taxa, relative abundances, and compute diversity metrics (Shannon, Simpson).
- Report: classification rate, top taxa, total species detected, alpha diversity estimates.
Output Contract
- Kraken2 report — Standard Kraken2 taxonomic report (
<outdir>/<sample>_kraken2_report.txt). - Bracken abundance table — Re-estimated abundances at the specified level (
<outdir>/<sample>_bracken.txt), if Bracken is used. - MetaPhlAn profile — Relative abundance table (
<outdir>/<sample>_metaphlan_profile.txt), if MetaPhlAn is used. - Classification rate — Percentage of reads assigned to a taxon.
- Top taxa summary — Top 20 taxa by relative abundance.
- Diversity metrics — Shannon and Simpson alpha diversity indices.
Limits
- Kraken2 standard database is approximately 70 GB and requires sufficient RAM to load into memory.
- MetaPhlAn 4 uses marker genes; it has a smaller database and higher species-level precision but may miss novel taxa without markers.
- Bracken requires a pre-built Bracken database matching the Kraken2 database and the read length used in sequencing.
- Kraken2 and MetaPhlAn must be installed and available on
$PATH. - Classification rates vary significantly by database completeness and sample type.
- For low-biomass samples, consider using a higher Kraken2 confidence threshold to reduce false positives.
- Common failure cases:
- Kraken2 database too large to fit in available RAM, causing out-of-memory crash.
- Bracken database read length not matching actual sequencing read length.
- MetaPhlAn marker database version incompatible with the installed MetaPhlAn version.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

