Pyopenms
davila7/claude-code-templates
Python interface to OpenMS for mass spectrometry data analysis.
Load when running bulk-style pathway enrichment (ORA / GSEA / GSEA-R / GSVA-R) on a per-group ranked DE / marker list against a gene-set library.
$ npx skills add TianGzlab/OmicsClaw --skill sc-enrichment -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-enrichment --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/singlecell/scrna/sc-enrichment .claude/skills/sc-enrichment && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "sc-enrichment" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-enrichment into .claude/skills/sc-enrichment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-enrichment", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-enrichmentType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add TianGzlab/OmicsClaw --skill sc-enrichment -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-enrichment --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/singlecell/scrna/sc-enrichment .agents/skills/sc-enrichment && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "sc-enrichment" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-enrichment into .agents/skills/sc-enrichment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-enrichment", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TianGzlab/OmicsClaw --skill sc-enrichment -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-enrichment --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/singlecell/scrna/sc-enrichment .cursor/skills/sc-enrichment && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "sc-enrichment" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-enrichment into .cursor/skills/sc-enrichment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-enrichment", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/TianGzlab/OmicsClaw.git --path skills/singlecell/scrna/sc-enrichment--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add TianGzlab/OmicsClaw --skill sc-enrichment -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-enrichment --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/singlecell/scrna/sc-enrichment .gemini/skills/sc-enrichment && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "sc-enrichment" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-enrichment into .gemini/skills/sc-enrichment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-enrichment", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install TianGzlab/OmicsClaw sc-enrichmentInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add TianGzlab/OmicsClaw --skill sc-enrichment -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/singlecell/scrna/sc-enrichment .github/skills/sc-enrichment && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "sc-enrichment" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-enrichment into .github/skills/sc-enrichment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-enrichment", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add TianGzlab/OmicsClaw --skill sc-enrichment -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install TianGzlab/OmicsClaw sc-enrichment --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/singlecell/scrna/sc-enrichment .opencode/skills/sc-enrichment && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "sc-enrichment" agent skill from https://github.com/TianGzlab/OmicsClaw/tree/main/skills/singlecell/scrna/sc-enrichment into .opencode/skills/sc-enrichment/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "sc-enrichment", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
sc-enrichmentLoad when running bulk-style pathway enrichment (ORA / GSEA / GSEA-R / GSVA-R) on a per-group ranked DE / marker list against a gene-set library.
Sc Enrichment is an agent skill from TianGzlab/OmicsClaw. Load when running bulk-style pathway enrichment (ORA / GSEA / GSEA-R / GSVA-R) on a per-group ranked DE / marker list against a gene-set library. Skip when computing per-cell pathway scores in-place (use sc-pathway-scoring); de-novo gene-program discovery (use sc-gene-programs).
Its SKILL.md is about 2.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 16 other files, including reference files (for example `_api.py`, `examples/example_step.py` and `references/methodology.md`).
It sits in Data & Analytics, covering Bioinformatics. It works with Python. The repository describes itself as: Conversational & memory-enabled AI research partner for multi-omics analysis. CLI + Desktop App (installers in Releases). From biological idea to full research paper. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 90a3bec. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python and R), which the agent can run.
Shell commands in SKILL.md call:
pythonFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Sc Enrichment loads about 2.4k tokens when it runs, and up to ~5.5k if it reads all its reference files. Until then it costs about 73 tokens; SKILL.md has 999 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from TianGzlab/OmicsClaw at commit 90a3bec, republished under its Apache-2.0 licence (© TianGzlab). 999 words, ~2,354 tokens.
.claude/skills/sc-enrichment/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.Test named gene sets against per-group marker/DE rankings with ORA or GSEA.
GSVA scores mean expression per group in R. For scores per cell use
sc-pathway-scoring; for programmes discovered without gene sets use
sc-gene-programs.
Start a step with python skills/_sdk/notebook/run.py new enrichment.
Load enrichment = load_skill("sc-enrichment"), then call rank_groups,
load_gene_sets (GMT, JSON or Enrichr library), and ora or gsea.
Pass the complete tested gene universe as background for ORA; its API
default is all genes in the supplied ranking. Write returned tables and
Figures with write_output. See examples/example_step.py.
The default engine is Python. Explicit engine="auto" prefers R when its
packages are available; engine="r" requires clusterProfiler. The legacy
gsea_r method uses GO_BP/KEGG/Reactome annotation databases, not custom GMT.
gsva accepts a gene-set mapping, or None for the GO_BP/KEGG R database route.
Rankings need gene/names and a score or effect, with an optional group column.
rank_groups reads log-normalised X, never raw. For the processed PBMC
demo, use .raw.to_adata() in new steps; the CLI retains its old scaled-X
demo ranking for compatibility. The CLI accepts H5AD or an upstream output
directory containing processed.h5ad and marker/DE tables.
ORA/GSEA CLI writes processed.h5ad, report.md, result.json,
reproducibility/, and five tables:
enrichment_results.csv, enrichment_significant.csv, group_summary.csv,
ranking_input.csv, top_terms.csv. Python GSEA adds
tables/gsea_running_scores.csv when running curves can be built.
figure_data/ mirrors plot tables. Figures depend on available terms.
GSVA uses tables/gsva_r_scores.csv and figures/gsva_r_heatmap.png instead.
See references/output_contract.md for R-specific files.
result.json.summary.resolved_engine records the engine actually used.
The default is now python; ask for --engine auto to retain auto-selection.tables/enrichment_results.csv records Python GSEA's local fallback in
engine, with the reason in result.json.summary.warnings. This is not
interchangeable with gseapy's permutation implementation.tables/enrichment_significant.csv retains the legacy fixed FDR 0.05
filter. --fdr-threshold controls group_summary.csv and the report summary._api.py:37: rank_groups does not infer a suitable matrix. Using scaled X can yield
invalid log-fold changes; use a log-normalised snapshot instead._api.py:103: empty gene sets fail validation. Failed R annotation mapping raises an
error; the R scripts no longer manufacture pathways to fill an empty result._api.py:205: GSVA's R database route supports GO_BP and KEGG, not Enrichr's Hallmark
alias. For Hallmark, explicitly load gene sets and pass the mapping to gsva.python skills/singlecell/scrna/sc-enrichment/sc_enrichment.py --demo --output /tmp/sc_enrich_demo
python skills/singlecell/scrna/sc-enrichment/sc_enrichment.py --input clustered.h5ad --output results/ora --gene-set-db hallmark --groupby cell_type
python skills/singlecell/scrna/sc-enrichment/sc_enrichment.py --input clustered.h5ad --output results/gsea --method gsea --gene-sets pathways.gmt --gsea-seed 123
python skills/singlecell/scrna/sc-enrichment/sc_enrichment.py --input clustered.h5ad --output results/gsva --method gsva_r --groupby cell_type --gene-sets pathways.gmt<!-- api:begin generated from _api.py; regenerate with run.py api <skill dir> --write -->
rank_groups(adata, *, groupby: str, method: str='wilcoxon') -> pd.DataFrameRank each group's genes against the rest using log-normalised X.
method is wilcoxon (default), t-test or logreg. This uses X, not
raw; convert a scaled object with adata.raw.to_adata() first when
raw holds log-normalised values. Scanpy ranking statistics remain in
uns. Return a table with group, gene and available scores/p-values.
load_gene_sets(source, *, species: str='human', universe=None) -> dict[str, list[str]]Load GMT/JSON or fetch an Enrichr library; optionally match genes to a universe.
source accepts a local path or hallmark/kegg/reactome/go_bp aliases
and full Enrichr library names. Remote sources need network access and
gseapy; local files do not. species is human (default) or mouse.
Return a term-to-gene-list mapping; no output files are written.
demo_gene_sets(*, species: str='human') -> dict[str, list[str]]Return the six named PBMC demo signatures, human by default or mouse symbols.
marker_gene_sets(markers: pd.DataFrame, *, groups=None, top_n: int | None=100, universe=None) -> dict[str, list[str]]Convert marker groups to gene sets, sorted by adjusted p-value or score.
markers needs group and names (or gene). groups=None selects all;
top_n=None keeps all genes. universe optionally restricts and
canonicalises gene symbols. Raise ValueError when no sets remain.
ora(ranking: pd.DataFrame, gene_sets, *, background=None, engine: str='python', padj_cutoff: float=0.05, log2fc_cutoff: float=0.25, max_genes: int=200, source: str='custom', library_mode: str='local', n_top: int=18) -> pd.DataFrameTest over-representation with a local hypergeometric test or clusterProfiler.
ranking accepts marker/DE columns and optional group (default all).
background=None uses every ranked gene; pass all tested genes to make
the universe explicit. Positive genes passing adjusted p-value <= 0.05
and log2FC >= 0.25 are kept, up to 200 per group, by default. Score-only
rankings keep positive scores. engine is python (default), r or auto
(R when available). source and library_mode label result rows;
n_top controls R's optional plots. Return a sorted enrichment table;
:func:run_info returns warnings and the resolved engine.
gsea(ranking: pd.DataFrame, gene_sets, *, engine: str='python', ranking_metric: str='auto', min_size: int=5, max_size: int=500, permutation_num: int=100, weight: float=1.0, random_state: int=123, source: str='custom', library_mode: str='local', n_top: int=18, species: str='human', gene_set_db: str | None=None) -> pd.DataFrameRun preranked GSEA and return sorted terms with NES, p-values and leading edges.
engine is python (default), r (clusterProfiler GMT), auto, or gsea_r
(the retained annotation-database R bridge; pass gene_sets=None and
select GO_BP, KEGG or Reactome with gene_set_db). Python uses gseapy
when available and reports its existing local rank-based fallback.
ranking_metric='auto' chooses stat, scores or logfoldchanges.
Defaults: gene-set sizes 5..500, 100 permutations, weight 1.0, seed 123.
Permutation count and weight configure Python; the retained R bridge
uses fgsea's multilevel defaults and exponent 1.
source/library_mode label rows; n_top controls R plot selection;
species selects human or mouse annotation for gsea_r. Seeds are passed
to Python and R. No gene sets are fabricated when input or mapping fails.
gsva(adata, gene_sets, *, groupby: str, species: str='human', gene_set_db: str='GO_BP', method: str='gsva', min_size: int=5, max_size: int=500) -> pd.DataFrameScore mean log-normalised expression per group with R GSVA, returning a long table.
Supply a term-to-genes mapping, or None for the retained GO_BP/KEGG R
annotation bridge selected by gene_set_db and human/mouse species.
method is gsva (default), ssgsea or zscore; gene-set size defaults are
5..500. R runs serially in a temporary directory. Missing annotation or
gene sets raises an error rather than producing synthetic pathways.
run_info(results: pd.DataFrame, *, keep: bool=True) -> dictReturn a JSON-serialisable diagnostics summary, excluding rankings and R artifacts.
top_terms(results: pd.DataFrame, *, n_top: int=18, per_group: int=3) -> pd.DataFrameSelect up to n_top terms, first reserving per_group rows for each group.
group_summary(enrich_df: pd.DataFrame, *, fdr_threshold: float=0.05) -> pd.DataFrameSummarise term counts, FDR-significant terms and the top term per group.
top_terms_figure(results: pd.DataFrame, *, n_top: int=18)Return a horizontal score bar Figure; the caller saves and closes it.
<!-- api:end -->
sc-markers and sc-de provide rankings. marker_gene_sets can convert their
tables into a signature library; avoid circular validation against the same
cells used to select the markers. CLI flags are in references/parameters.md.
Python packages this skill's script needs. They are not installed for you — check before a long run.
adjustText, anndata, gseapy, matplotlib, networkx, numpy, pandas, scanpy, scipy, seaborn
© TianGzlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 12 other files (references) in skills/singlecell/scrna/sc-enrichment of TianGzlab/OmicsClaw.
Open the folder on GitHubat commit 90a3bec
Sc Enrichment next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Sc Enrichment this skillTianGzlab/OmicsClaw | 161 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 | |
| Pyopenmsdavila7/claude-code-templates | 33k | 11 repos | ~1.4k | Automated safety check: Pass | MIT | |
| Pydeseqaipoch/medical-research-skills | 1.9k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Pyopenms Skillaipoch/medical-research-skills | 1.9k | — | ~852 | Automated safety check: Pass | MIT | |
| Bio Metagenomics VisualizationGPTomics/bioSkills | 1.2k | 1 repos | ~3.7k | Automated safety check: Pass | MIT | |
| Bio Proteomics Differential AbundanceGPTomics/bioSkills | 1.2k | 1 repos | ~5.7k | Automated safety check: Pass | MIT |
davila7/claude-code-templates
Python interface to OpenMS for mass spectrometry data analysis.
aipoch/medical-research-skills
Differential gene expression analysis for bulk RNA-seq count matrices using a DESeq2-like workflow in Python; use when you need Wald tests, FDR correction, and optional LFC shrinkage for…
aipoch/medical-research-skills
Comprehensive tool for computational mass spectrometry using PyOpenMS; use when you need to read/write MS formats (mzML/mzXML/MGF), run signal processing (smoothing/peak picking), detect isotope…
GPTomics/bioSkills
Turns a shotgun profiler table (MetaPhlAn relative abundance, Bracken counts, HUMAnN function tables) into honest figures and defensible community statistics with phyloseq, vegan, microViz, and…
GPTomics/bioSkills
Tests for differentially abundant proteins between conditions with limma/DEqMS empirical-Bayes moderation, proDA/msqrob2/MSstats missingness modeling, and Python Welch+BH alternatives.
aipoch/medical-research-skills
A Python bioinformatics toolkit for sequence, phylogeny, and microbiome/community-ecology analysis; use it when you need to compute diversity/ordination/statistics from biological data and standard…
TianGzlab/OmicsClaw
Load when the user needs Deterministic fixed-period 24-hour single-component cosinor OLS rhythm analysis for a bulk RNA time-course CSV.
TianGzlab/OmicsClaw
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation.
TianGzlab/OmicsClaw
Load when discovering bulk gene co-expression modules and hub genes with R WGCNA.
TianGzlab/OmicsClaw
Load when comparing gene expression between two conditions in bulk RNA-seq count data.
TianGzlab/OmicsClaw
Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference.
TianGzlab/OmicsClaw
Load when running pathway / GO term enrichment on a bulk RNA-seq DE result list.
Works with
Categories
Load when running bulk-style pathway enrichment (ORA / GSEA / GSEA-R / GSVA-R) on a per-group ranked DE / marker list against a gene-set library. Sc Enrichment is an agent skill from TianGzlab/OmicsClaw. Load when running bulk-style pathway enrichment (ORA / GSEA / GSEA-R / GSVA-R) on a per-group ranked DE / marker list against a gene-set library.
Sc Enrichment fits situations like: tasks that involve Bioinformatics.
Run `npx skills add TianGzlab/OmicsClaw --skill sc-enrichment -a claude-code`. Or copy the skill folder (skills/singlecell/scrna/sc-enrichment in TianGzlab/OmicsClaw) into .claude/skills/sc-enrichment in your project. Claude Code loads it when a task matches its description.
Run `npx skills add TianGzlab/OmicsClaw --skill sc-enrichment -a codex`. Or copy the skill folder (skills/singlecell/scrna/sc-enrichment in TianGzlab/OmicsClaw) into .agents/skills/sc-enrichment in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TianGzlab/OmicsClaw --skill sc-enrichment -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sc-enrichment, .gemini/skills/sc-enrichment, .github/skills/sc-enrichment and .opencode/skills/sc-enrichment in your project.
Going by SKILL.md and its folder, Sc Enrichment needs Python and R for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Sc Enrichment is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.4k tokens (SKILL.md is roughly 9.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.2k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Sc Enrichment: Pyopenms (davila7/claude-code-templates, 33k stars), Pydeseq (aipoch/medical-research-skills, 1.9k stars), Pyopenms Skill (aipoch/medical-research-skills, 1.9k stars) and Bio Metagenomics Visualization (GPTomics/bioSkills, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
TianGzlab (a GitHub organization) maintains it in TianGzlab/OmicsClaw, which has 161 GitHub stars. The repository holds 88 skills in this directory. The repository was last updated on October 7, 2026.
Source: TianGzlab/OmicsClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.