Busabase
Busabase is an open-source (MIT) database and workspace for AI agents — data, docs, skills, and apps in one place. Run it locally, self-host it inside your network, or use Busabase Cloud, and turn age
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证制作者的介绍仅有上面的一句话。 更多详情请阅读仓库 README。 仓库 README ↗
正在加载完整 README。
查看完整 README ↗Bolero: predicting cell-state-specific gene regulation from DNA sequence.
Bolero is a cell-state-conditioned sequence-to-function model. It takes a 524,288 bp one-hot DNA sequence plus an atlas-scale cell-state embedding (and optional conditioning such as tissue, developmental age, or a TF-activity score) and predicts cell-state-specific chromatin accessibility and transcript abundance at 32 bp resolution (16,384 output bins).
Under the hood it is a frozen Borzoi/Flashzoi backbone with per-layer conditional LoRA adapters whose low-rank weights are generated on the fly from the cell-state embedding — so every cell state gets its own effective network. For a chosen cell state those adapters can be "collapsed" into a plain DNA→track model for fast inference and base-level attribution. Bolero is trained on Bolero-10M: 10.8M cells across 36 datasets and 6 mammals.
📖 Documentation & tutorials: https://liuhlab.github.io/bolero/
linux-64). macOS and Windows are not supported.pyproject.toml
and pixi.lock. Main versions: Python 3.11, PyTorch 2.4 (CUDA build), CUDA 12.6 as the build
target, flash-attn and triton (conda-forge), Ray 2.34. Git dependencies:
bolerodata, lab forks of SEACells and MOODS that
install cleanly in this environment, and finemo-gpu.curl -fsSL https://pixi.sh/install.sh | bash # install pixi, then open a new shell
git clone https://github.com/liuhlab/bolero.git
cd bolero
pixi install # runtime env; or: pixi install -e dev
pixi install also pulls the git dependencies above. Typical install time: about 3 min for
the clone and pixi install with an empty package cache, measured on a Linux server with a
fast network. Allow longer on a slower connection. See
docs/installation.md for the environments, Jupyter setup and checks.
The quick start predicts chromatin accessibility with the pretrained Bolero model for 8
held-out genomic windows (hg38) in 5 blood cell types from the ChromiumPBMC dataset, and
compares the predictions with the measured single-cell ATAC signal. Every input downloads
from the public HuggingFace repositories
arcinstitute/bolero-models and
arcinstitute/bolero-data on the
first run, about 12 GB in total.
pixi run quickstart # executes docs/tutorials/00_quickstart.ipynb in place
Expected output in docs/tutorials/quickstart_output/:
pred_peak_data.feather, true_peak_data.feather: predicted and measured accessibility of
each peak in the predicted windows, one column per cell type.summary_stats.joblib.gz: Pearson r and R² between the two for each cell type. In the
reference run, Pearson r was 0.88–0.93 across 598 peaks.pred_vs_measured.png: predicted vs measured accessibility per peak, and the predicted and
measured 32 bp tracks of one window for each cell type.The committed notebook
docs/tutorials/00_quickstart.ipynb shows these outputs
from the reference run.
Expected run time: about 10 min of downloads and one-time setup on the first run (cached afterwards), then about 25 s of prediction on one NVIDIA H100 80 GB.
The documentation is an ordered tutorial series that runs the full workflow on your own data, from single cells to a trained model and its predictions:
bolero pairs with bolerodata, a lightweight
registry that maps short keys to the datasets (Bolero-10M), trained model zoo, and QTL
collections behind the paper. It carries no GPU stack, runs inside this environment, and is
installed automatically by pixi install.
If you use Bolero in your work, please cite the paper "Bolero: predicting cell-state-specific gene regulation from DNA sequence" (Hanqing Liu et al.). Full citation details will be added on publication.
MIT — see LICENSE.