arboreto
Skill by davila7
Infers gene regulatory networks from gene expression data using GRNBoost2 or GENIE3. Built for researchers analyzing bulk or single-cell RNA-seq data who need transcription factor to target gene links.
Install arboreto
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.claude/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/arboreto ~/.claude/skills/arboretoRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davila7/claude-code-templates /tmp/claude-code-templates && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/claude-code-templates/cli-tool/components/skills/scientific/arboreto ~/.gemini/antigravity-cli/skills/arboretoAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Arboreto is a Python library for inferring gene regulatory networks from gene expression data. It identifies which transcription factors may regulate which target genes, based on expression patterns across observations such as cells, samples or conditions. It offers two algorithms. GRNBoost2 is a gradient boosting method that the skill recommends as the default for most analyses, and GENIE3 is a Random Forest method used for comparison or validation. Computation is parallelized with Dask, from a single machine up to multi-node clusters.
This skill guides an AI assistant through the workflow. It covers loading expression data with genes as columns, filtering by transcription factor names, setting seeds for reproducibility, and reading the output table of TF, target and importance. It is aimed at researchers analyzing bulk RNA-seq or single-cell RNA-seq data. The source also notes that arboreto is a core component of the SCENIC pipeline.
Written from the project's SKILL.md and checked against it.
What it can do
- Basic GRN inferenceRuns GRNBoost2 or GENIE3 on an expression matrix to infer TF to target gene links.
- Algorithm selectionExplains when to use GRNBoost2 for speed and GENIE3 for comparison or validation.
- Distributed computingScales inference from a local multi-core setup to a custom local cluster or remote Dask scheduler.
- TF filteringRestricts inference to a list of transcription factor names loaded from a file.
- Reproducible runsSets a seed so results can be repeated, and supports multiple seeds for robustness checks.
- Output interpretationDescribes the TF, target and importance columns and common filtering strategies.
- Basic inference scriptProvides scripts/basic_grn_inference.py for standard inference tasks from the command line.
What you need
- Python
- uv for the documented install command
- scipy, scikit-learn, numpy, pandas, dask and distributed
Try asking
- Infer a gene regulatory network from my bulk RNA-seq TPM table using GRNBoost2
- Restrict my GRN inference to transcription factors listed in tfs.txt
- Compare GRNBoost2 and GENIE3 results on my single-cell expression matrix
Good to know
- Dask spawns new processes, so scripts need an if __name__ == '__main__' guard.
- Large datasets can cause memory errors, so filtering low-variance genes or using distributed computing is suggested.
- Empty results can occur if the data format or TF names do not match gene names in the expression data.
- Expression data must have genes as columns.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: cli-tool/components/skills/scientific/arboreto/SKILL.md, cli-tool/components/skills/scientific/arboreto/scripts/basic_grn_inference.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB -
references/algorithms.md4 KB -
references/basic_inference.md4 KB -
references/distributed_computing.md7 KB -
scripts/basic_grn_inference.py3 KB
Alternatives to arboreto
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
arboreto: common questions
Which algorithm should I use with arboreto?
The source recommends GRNBoost2 as the default for most analyses, especially datasets with 10k+ observations. GENIE3 is described as useful for comparison or validation.
Can arboreto run on a cluster?
Yes. The source shows a local Dask cluster setup with LocalCluster and connecting to a remote Dask scheduler over tcp.
What does the arboreto output contain?
It returns a DataFrame with TF, target and importance columns, where a higher importance score means a stronger regulatory link.
How do I install arboreto?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is arboreto free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is arboreto safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to arboreto?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
