Skip to content
Agentmart
Submit a tool

grn-tools

Gene regulatory network workflow guide for transcriptomics and single-cell expression matrices using Arboreto, GRNBoost2, and GENIE3.

Skill by DrugClaw

IndexedApache-2.0★ 87
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/drugclaw-grn-tools

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: data, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/grn-tools

What's inside

Skill name
grn-tools
Description
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.
License
Apache-2.0
Instructions
82 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (2)

  • SKILL.md
  • arboreto_grn.py · templates/

SKILL.md (first lines)

# GRN Tools

Use this skill when the user asks for gene regulatory network inference rather than basic dataset profiling.

Typical triggers:
- infer transcription factor to target edges from bulk RNA-seq or single-cell expression data
- run GRNBoost2 or GENIE3 on an expression matrix
- restrict GRN inference to a curated TF list
- export ranked regulatory edges for downstream SCENIC-style or network analysis

## Environment Check

```bash
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.

## Bundled Asset

- `templates/arboreto_grn.py`

## Preferred Workflow

1. Confirm the matrix orientation before inference. Arboreto expects observations as rows and genes as columns.
2. Drop sample-id columns or transpose the matrix before fitting.
3. Provide a TF whitelist when the user wants biologically narrower networks.
4. Save the full ranked edge table and a summary JSON.
5. Treat the output as an inferred regulatory hypothesis set, not a validated causal network.

## Quick Start

```bash
python3 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`:

```bash
python3 templates/arboreto_grn.py \
  --input expression_genes_by_samples.csv \
  --transpose \
  --algorithm genie3 \
  --workers 4 \
  --output grn/network.tsv \
  --summary grn/network.json
```

## Output Expectations

Good answers should mention:
- the exact matrix path and whether it was transposed
- which algorithm ran
- whether a TF list was used
- observation count, gene count, and retained edge count
- any `distributed` or dependency limitation
- where the network TSV and summary JSON were written

## Related Skills

For `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`.

From DrugClaw/DrugClaw, Apache-2.0.

More from DrugClaw/DrugClaw

Signals

Stars
87
Forks
8
Open issues
1
Last commit (this folder)
Mar 11, 2026 (7 months ago)
Last release
Mar 13, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DrugClaw

Cite this page

grn-tools skill. Agent Mart. https://agentmart.dev/skills/drugclaw-grn-tools (last updated 2026-10-24)