skills/genomics/grn-tools/SKILL.md
Gene regulatory network workflow guide for transcriptomics and single-cell expression matrices using Arboreto, GRNBoost2, and GENIE3. Use when the user asks to infer transcription factor-target links, score regulatory edges, or build a GRN from bulk or single-cell expression data.
npx skillsauth add drugclaw/drugclaw grn-toolsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user asks for gene regulatory network inference rather than basic dataset profiling.
Typical triggers:
which python3 || true
python3 - <<'PY'
mods = ["pandas", "arboreto"]
extra = ["distributed"]
for name in mods + extra:
try:
__import__(name)
print(f"{name}: ok")
except Exception as exc:
print(f"{name}: missing ({exc})")
PY
distributed is only required when using --workers for a local Dask cluster.
templates/arboreto_grn.pypython3 templates/arboreto_grn.py \
--input expression.tsv \
--algorithm grnboost2 \
--tf-file tf_names.txt \
--min-importance 0.01 \
--top-edges 5000 \
--output grn/network.tsv \
--summary grn/network.json
If the input is genes-by-samples, transpose it first or use --transpose:
python3 templates/arboreto_grn.py \
--input expression_genes_by_samples.csv \
--transpose \
--algorithm genie3 \
--workers 4 \
--output grn/network.tsv \
--summary grn/network.json
Good answers should mention:
distributed or dependency limitationFor h5ad, BAM, CRAM, or mzML dataset triage before GRN inference, activate omics-tools.
For statistical modeling on downstream regulon or score tables, activate stat-modeling-tools.
For figure generation from network summaries, activate scientific-visualization-tools.
tools
Survival and time-to-event workflow guide for Kaplan-Meier summaries, log-rank tests, and Cox proportional hazards models with reproducible outputs. Use when the user asks for time-to-event analysis, censored data summaries, hazard ratios, or survival-group comparison for research datasets.
tools
Statistical modeling workflow guide for hypothesis tests, effect-size reporting, statsmodels regression, diagnostics, and structured result export. Use when the user asks for statistical test selection, OLS or logistic regression, coefficient tables, inference, or reproducible statistical summaries for scientific datasets.
tools
Research-method workflow guide for hypothesis framing, peer-review style critique, reproducibility planning, study-design checks, and scientific-writing structure. Use when the user asks for manuscript critique, research-gap framing, hypothesis generation, reproducibility checklists, or study-planning support that should stay on the research side rather than patient-care decisions.
tools
Scientific visualization workflow guide for publication-ready static figures with seaborn or matplotlib and interactive figures with Plotly. Use when the user asks for scientific plots, cohort or assay figures, publication graphics, dashboards, or reusable plotting scripts for research datasets.