arboreto
하는 일
이 도구는 유전자 발현 데이터를 바탕으로 어떤 유전자가 다른 유전자의 발현을 조절할 가능성이 있는지 찾습니다. 잠재적인 유전자 연결의 순위 목록을 만듭니다.
사용하는 경우
- ✓유전자 발현 데이터가 있고 어떤 유전자가 다른 유전자를 조절하는지 알고 싶을 때.
- ✓생물학 시료에서 잠재적인 유전자 조절 네트워크를 찾고 싶을 때.
- ✓여러 유전자 네트워크 분석 방법을 비교할 때.
스킬 링크
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/arboreto/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 발현 데이터에서 잠재적인 유전자 연결을 찾아 주세요.”
매주 새 스킬 5개. 읽는 데 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)
…
자주 묻는 질문
‘조절자’와 ‘표적’은 무엇인가요?
조절자는 다른 유전자의 발현을 제어할 수 있는 유전자입니다. 표적은 그 발현이 조절되는 유전자입니다.
만들어진 목록이 한 유전자가 다른 유전자를 조절한다는 것을 증명하나요?
아니요. 이 목록은 데이터를 바탕으로 한 예측적 연관성을 보여 줍니다. 잠재적 연결을 제안하지만, 인과관계나 직접적인 결합을 증명하지는 않습니다.
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
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
13c-metabolic-flux
51k탄소-13 동위원소 추적 데이터를 사용해 대사 흐름(플럭스)을 추정합니다. 세포 대사와 생화학 경로를 분석할 때 유용합니다.
adaptyv
51kAdaptyv API를 사용해 단백질 특성 분석 실험을 설계합니다. 비용을 추정하고, 서열을 제출하며, 실험실 결과를 확인하는 데 도움이 됩니다.
aeon
51k시계열 데이터에 대해 머신러닝 작업을 수행합니다. 순차 데이터를 분류하고, 예측하고, 이상을 탐지하고, 패턴을 찾을 때 유용합니다.
alphagenome
51k유전 변이에 대해 미리 계산된 게놈 영향을 조회합니다. 변이가 게놈에 주는 영향을 이해하도록 점수와 설명을 제공합니다.