bio-microbiome-functional-prediction
Predict metagenome functional content from 16S rRNA marker gene data using PICRUSt2. Infer KEGG, MetaCyc, and EC abundances from ASV tables. Use when functional profiling is needed from 16S data without shotgun metagenomics sequencing.
npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-microbiome-functional-prediction --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: Biostrings 2.70+, ggplot2 3.5+, pandas 2.2+, phyloseq 1.46+, scanpy 1.10+ 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 - 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. # Functional Prediction with PICRUSt2 **"Predict functional pathways from my 16S data"** → Infer metagenome functional content from marker gene (16S/ITS) ASV tables using phylogenetic placement and gene content prediction. - CLI: `picrust2_pipeline.py -s seqs.fna -i table.biom -o output/` ## Prepare Input Files ```r library(phyloseq) library(Biostrings) ps <- readRDS('phyloseq_object.rds') # Export ASV table (samples as columns) otu <- as.data.frame(otu_table(ps)) if (!taxa_are_rows(ps)) otu <- t(otu) write.table(otu, 'asv_table.tsv', sep = '\t', quote = FALSE) # Export ASV sequences as FASTA seqs <- ref
- Version Compatibility
- Prepare Input Files
- Run PICRUSt2 Pipeline
- Step-by-Step Pipeline
- Quality Control: NSTI
- Analyze Pathway Output
- Add Pathway Descriptions
- KEGG Module Analysis
- Limitations
- Related Skills
Full pipeline (place sequences, predict functions, metagenome inference) picrust2_pipeline.py \ Output files: place_seqs.py -s asv_seqs.fasta -o placed_seqs.tre -p 4 hsp.py -i 16S -t placed_seqs.tre -o marker_nsti_predicted.tsv -m pic -n hsp.py -i KO -t placed_seqs.tre -o KO_predicted.tsv -m pic metagenome_pipeline.py \ pathway_pipeline.py \ Map pathway IDs to names add_descriptions.py \
What does the bio-microbiome-functional-prediction skill do?
Predict metagenome functional content from 16S rRNA marker gene data using PICRUSt2. Infer KEGG, MetaCyc, and EC abundances from ASV tables. Use when functional profiling is needed from 16S data without shotgun metagenomics sequencing.
How do I install it?
Run `npx skills add FreedomIntelligence/OpenClaw-Medical-Skills --skill bio-microbiome-functional-prediction --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.
