{"data":{"slug":"github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arboreto-3622d2570b7c","title":"Infer Gene Regulatory Networks from RNA-seq Data","summary":"Generate a ranked edge list of transcription factor \u2192 target gene regulatory relationships from bulk or single-cell RNA-seq expression matrices using GRNBoost2 or GENIE3. Output includes importance\/weight scores for each inferred regulatory interaction.","url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arboreto-3622d2570b7c","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arboreto-3622d2570b7c","markdown_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arboreto-3622d2570b7c.md","download_url":"https:\/\/skillshunter.net\/skills\/github-aipoch-medical-research-skills-scientific-skills-evidence-insight-arboreto-3622d2570b7c\/download","category":{"slug":"data-research","name":"Data & Research"},"editor_note":"Ensure the input is a gene expression matrix (e.g., TSV) with rows as samples\/cells and columns as genes. Select GRNBoost2 for larger datasets due to its speed and scalability, or GENIE3 for a classic baseline comparison.","instructions":"---\nname: arboreto\ndescription: Infer gene regulatory networks (GRNs) from gene expression matrices using GRNBoost2 or GENIE3; use when analyzing bulk or single-cell RNA-seq to identify TF\u2192target regulatory relationships.\nlicense: MIT\nauthor: AIPOCH\n---\n> **Source**: [https:\/\/github.com\/aipoch\/medical-research-skills](https:\/\/github.com\/aipoch\/medical-research-skills)\n\n## When to Use\n\n- You have a bulk RNA-seq expression matrix and want to infer transcription factor (TF) \u2192 target gene regulatory edges.\n- You have single-cell RNA-seq data (after normalization\/aggregation as needed) and want to recover putative regulatory interactions.\n- You need GRN inference that can scale to large datasets using parallel\/distributed execution.\n- You want to compare gradient-boosting\u2013based GRN inference (GRNBoost2) versus random-forest\u2013based inference (GENIE3).\n- You need a reproducible, scriptable pipeline to generate a ranked network edge list from expression data.\n\n## Key Features\n\n- GRN inference from gene expression data using **GRNBoost2** (gradient boosting) or **GENIE3** (random forest).\n- Scalable execution via **Dask**, from a single machine to multi-node clusters.\n- Command-line workflow for generating a GRN edge list from a tabular expression matrix.\n- Algorithm guidance and comparison: see `references\/algorithms.md`.\n- Distributed setup notes: see `references\/distributed_computing.md`.\n\n## Dependencies\n\n- arboreto\n- dask\n- distributed\n- pandas\n- scipy\n- scikit-learn\n\n## Example Usage\n\nRun GRN inference from an expression matrix (TSV) and write the inferred network to an output file:\n\n```bash\npython scripts\/infer_network.py \\\n  --input expression_data.tsv \\\n  --output network.tsv \\\n  --algo grnboost2\n```\n\nTo use the alternative algorithm:\n\n```bash\npython scripts\/infer_network.py \\\n  --input expression_data.tsv \\\n  --output network.tsv \\\n  --algo genie3\n```\n\n## Implementation Details\n\n- **Input\/Output**\n  - **Input**: a gene expression matrix (e.g., TSV) where rows typically represent samples\/cells and columns represent genes (exact expectations depend on `scripts\/infer_network.py`).\n  - **Output**: a ranked edge list representing inferred regulatory relationships (TF \u2192 target) with an importance\/weight score.\n\n- **Algorithms**\n  - **GRNBoost2**: uses gradient boosting to estimate feature importance of candidate regulators for each target gene; generally preferred for larger datasets due to speed and scalability.\n  - **GENIE3**: uses random forests to compute regulator importance per target gene; a classic baseline for GRN inference.\n  - For a detailed comparison and practical guidance, refer to `references\/algorithms.md`.\n\n- **Parallel\/Distributed Execution**\n  - Computation is parallelized with **Dask**, enabling scaling from local multi-core execution to distributed clusters.\n  - Cluster configuration and deployment considerations are documented in `references\/distributed_computing.md`.\n\n- **Key Parameters**\n  - `--algo`: selects the inference method (`grnboost2` or `genie3`), affecting runtime and model behavior.\n  - Additional runtime\/cluster parameters (if exposed by the script) typically control Dask scheduling, worker counts, and resource usage.","use_cases":["Analyze bulk RNA-seq data to identify TF \u2192 target regulatory edges.","Recover putative regulatory interactions from single-cell RNA-seq data.","Compare GRN inference methods (GRNBoost2 vs. GENIE3) for large-scale gene expression analysis."],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/aipoch\/medical-research-skills\/blob\/686e09dfdb45d9fa1a08664f06bb93769b3c9d91\/scientific-skills\/Evidence%20Insight\/arboreto\/SKILL.md","source_commit":"686e09dfdb45d9fa1a08664f06bb93769b3c9d91","license":"MIT","version":null,"listing_approved_at":"2026-11-24","created_at":"2026-11-23T13:13:52.000000Z","updated_at":"2026-11-24T12:17:28.000000Z","seo_title":"Infer Gene Regulatory Networks from RNA-seq Data","seo_description":"Infer gene regulatory networks using GRNBoost2 or GENIE3 from bulk or single-cell RNA-seq data. Scalable and parallelizable for large datasets.","seo_keywords":["gene regulatory network inference","RNA-seq data analysis","GRNBoost2 and GENIE3 comparison","transcription factor target prediction","bulk RNA-seq analysis","single-cell RNA-seq analysis"]}}