arboreto
यह क्या करती है
यह टूल जीन एक्सप्रेशन के डेटा के आधार पर यह पता लगाने में मदद करता है कि कौन से जीन दूसरे जीन के एक्सप्रेशन को नियंत्रित कर सकते हैं। यह संभावित जीन कनेक्शन की रैंक की गई सूची बनाता है।
कब इस्तेमाल करें
- ✓जब आपके पास जीन एक्सप्रेशन डेटा हो और जानना हो कि कौन से जीन दूसरों को रेगुलेट कर सकते हैं।
- ✓जैविक नमूनों में संभावित जीन रेगुलेटरी नेटवर्क पहचानने के लिए।
- ✓जीन नेटवर्क विश्लेषण के अलग-अलग तरीकों की तुलना करते समय।
Skill का लिंक
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/arboreto/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे एक्सप्रेशन डेटा से संभावित जीन कनेक्शन खोजो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह टूल आपके जीन एक्सप्रेशन डेटा का विश्लेषण करता है और GRNBoost2 या GENIE3 जैसे एल्गोरिदम की मदद से अनुमान लगाता है कि कौन से जीन (रेगुलेटर) दूसरे जीन (टारगेट) के एक्सप्रेशन को प्रभावित कर सकते हैं। यह इन संभावित प्रभावों की रैंक की गई सूची लौटाता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Arboreto
When to use
Use Arboreto to rank candidate regulator-target associations from expression measurements. GRNBoost2 fits stochastic gradient boosting regressions; GENIE3 fits random forests. Each target is predicted from candidate regulators, excluding itself. These are observational predictive associations, not proof of direct binding, activation/repression, or causal regulation.
The latest PyPI release checked is 0.1.6 (2021-02-09). Read the Docs still labels its documentation 0.1.5; the current GitHub source contains fixes that are not in the PyPI wheel. Do not assume a successful unpinned installation can run inference. See compatibility and distribution details.
Installation and compatibility
The following exact stack passed dense and CSC-sparse GRNBoost2, dense GENIE3, custom GBM/RF, and wrapper smoke tests on macOS arm64 with Python 3.11.11:
uv venv --python 3.11 .venv-arboreto
uv pip install --python .venv-arboreto/bin/python \
'arboreto==0.1.6' 'dask[complete]==2024.7.1' 'distributed==2024.7.1' \
'numpy==1.26.4' 'pandas==2.2.3' 'scikit-learn==1.5.2' 'scipy==1.13.1'
This is a bounded compatibility recipe, not a claim that current releases of all
dependencies work. PyPI Arboreto builds an empty metadata graph that the newer
Dask dataframe implementation rejects. For this pinned Dask version, select its
legacy dataframe backend before importing Arboreto or dask.dataframe:
import dask
dask.config.set({"dataframe.query-planning": False})
from arboreto.algo import grnboost2, genie3
The bundled wrapper does this for Dask 2024.7.1. Restart an existing notebook
kernel if it has already imported the newer dataframe backend. Sparse targets
also use .A inside Arboreto 0.1.6; this attribute was removed in SciPy 1.14.
Keep the tested SciPy pin for sparse inference. No monkeypatch to site-packages
is required by this recipe.
Workflow
- Select biologically comparable cells/samples; document normalization, filtering, batch handling, organism, identifier namespace, and expression layer.
- Prepare rows = observations, columns = genes. Exclude sample IDs from expression values. Require unique gene names, numeric finite values, and a TF list with a nonempty overlap. All-zero/constant genes provide no useful targets.
- Choose GRNBoost2 for an efficient starting analysis, GENIE3 for method comparison,
or
diyfor explicit regressor settings. See algorithms. - Run a small subset first in the pinned environment, then scale worker counts to
available memory. Keep the
if __name__ == "__main__":guard in process-based scripts. - Inspect worker warnings and target coverage, save the full ranked network, and assess stability across seeds and resampled observations before prioritizing edges.
Run the bundled wrapper
From this skill directory, with a TSV containing gene headers and numeric rows:
.venv-arboreto/bin/python scripts/basic_grn_inference.py expression_data.tsv network.tsv \
--tf-file tfs.txt --seed 777 --workers 2 --limit 5000
Add --index-col 0 only if the first column contains cell/sample identifiers.
The wrapper rejects duplicate headers before pandas can rename them, nonnumeric
or nonfinite values, empty TF overlap, invalid limits, and wholly empty results.
It reports TF overlap and uses a fresh bounded Dask client that closes on error.
The default is one worker; increase it after a successful pilot. Without a TF
file, all genes are candidate regulators, even though the output column is
named TF.
Output is a headerless TSV in TF, target, importance order. For downstream
consumers that require column headers (including pySCENIC adjacency loading),
write a separate copy with header=True rather than assuming every tool accepts
the headerless upstream example format.
Minimal Python example
This synthetic example checks execution and output structure; it is not a biological benchmark. The same calls were tested with a 32-observation, four-gene fixture.
import dask
dask.config.set({"dataframe.query-planning": False})
import numpy as np
import pandas as pd
from arboreto.algo import grnboost2
from distributed import Client, LocalCluster
if __name__ == "__main__":
rng = np.random.default_rng(123)
values = rng.normal(size=(32, 4))
values[:, 2] = 3 * values[:, 0] + rng.normal(scale=0.1, size=32)
…
अक्सर पूछे जाने वाले सवाल
'रेगुलेटर' और 'टारगेट' क्या हैं?
रेगुलेटर वे जीन हैं जो दूसरे जीन के एक्सप्रेशन को नियंत्रित कर सकते हैं। टारगेट वे जीन हैं जिनका एक्सप्रेशन नियंत्रित होता है।
क्या बनी हुई सूची यह साबित करती है कि एक जीन दूसरे को नियंत्रित करता है?
नहीं। यह सूची डेटा पर आधारित अनुमानित संबंध दिखाती है। यह संभावित कनेक्शन सुझाती है, लेकिन कार्य-कारण (causality) या सीधे बंधन (binding) को साबित नहीं करती।
GRNBoost2 और GENIE3 में क्या अंतर है?
ये टूल द्वारा इस्तेमाल किए जा सकने वाले दो अलग एल्गोरिदम हैं। GRNBoost2 'ग्रेडिएंट बूस्टिंग' और GENIE3 'रैंडम फ़ॉरेस्ट' का इस्तेमाल करता है। इनके नतीजे थोड़े अलग हो सकते हैं, इसलिए तुलना के लिए ये उपयोगी हैं।
जानकारी
लेखक का मूल विवरण
Infers candidate gene regulatory networks from bulk or single-cell expression data using AertsLab Arboreto GRNBoost2 and GENIE3. Use for transcription factor-target association ranking, compatible Dask execution, sparse expression inputs, and network stability checks.
लोकप्रियता
- GitHub स्टार
- 51k
- रैंकिंग में स्थान
- #3426
- लाइसेंस
- MIT
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
13c-metabolic-flux
51kकार्बन-13 आइसोटोप ट्रेसिंग डेटा से मेटाबोलिक फ़्लक्स का अनुमान लगाता है। कोशिका के मेटाबॉलिज़्म और बायोकेमिकल मार्गों का विश्लेषण करने के लिए यह उपयोगी है।
adaptyv
51kAdaptyv API का उपयोग करके प्रोटीन कैरेक्टराइज़ेशन प्रयोग डिज़ाइन करता है। लागत का अनुमान लगाने, सीक्वेंस सबमिट करने और लैब के नतीजों पर नज़र रखने में मदद करता है।
aeon
51kटाइम सीरीज़ डेटा पर मशीन लर्निंग के काम करता है। क्रमबद्ध डेटा में वर्गीकरण, पूर्वानुमान, एनोमली डिटेक्शन और पैटर्न खोजने के लिए यह उपयोगी है।
alphagenome
51kजेनेटिक वेरिएंट्स के पहले से गणना किए गए जीनोमिक प्रभाव देखता है। वेरिएंट का जीनोम पर असर समझने के लिए स्कोर और स्पष्टीकरण देता है।
मिलती-जुलती skills
pytorch-patterns
280kआपके एजेंट को machine learning models के लिए PyTorch इस्तेमाल करने में मदद करता है। कुशल model training के best practices लागू करता है और नतीजों को दोहराने लायक रखता है।
evm-token-decimals
280kयह आपके एजेंट को अलग-अलग blockchain networks पर decimal numbers की गलतियों से बचने में मदद करता है। यह transactions और calculations में token values सही रखने का ध्यान रखता है।
ito-inference
280kआपके एजेंट को AI models की उपलब्धता जाँचने देता है। यह compute request को तैयार model service से जोड़ता है।