Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

setup-borzoi_calico-remote-tool

БесплатноБез исполняемых скриптовНе проверен

Set up, launch, validate, and troubleshoot the calico/borzoi variant-scoring (SAD/logSAD/D2/logD2) ToolUniverse remote tool and optionally relay it through…

mims-harvardот mims-harvard★ 1 813 звёзд на GitHub

Об этом скилле

Set up calico's Borzoi variant scoring as a remote tool

Validation status (2026-10-14): calico's own borzoi_sad.py at 5c93582 on baskerville at 544073b, fold 0, reverse-complement ensemble, ran on the NVIDIA GB10 host (aarch64, 20 cores, 121.6 GiB unified, cc 12.1, driver 580.173.02) on the CPU, under kit mode off. The worker holds the model but reimplements nothing numeric: it imports stock's own initialize_output_h5, write_snp_len and write_pct out of borzoi_sad and calls baskerville's own snp_seq1, untransform_preds and seqnn model in stock's order, then writes the same sad.h5. This kit's exact mode is the first on this standard that actually runs on this host — it ships no prebuilt host objects and its levers are Python data-path rewrites, not CUDA kernels — and it is byte-identical to stock across three pairs, all 16 datasets; it is still set to off because no speed advantage could be established here (within-mode spread 33 s against a between-mode difference of 14.6 s, on a host whose load climbed through the measurement). provider.toml's [kit] section carries every number. [gpu] policy = "none" is a measurement: TensorFlow publishes no GPU-capable aarch64 wheel at any version. About 255 s per variant; four variants maximum. Public publication, cross-user isolation, concurrency, recovery and indels are untested; keep this deployment private.

What this provider is for, and what it is not

Regulatory variant scoring the way the Borzoi paper reports it: each variant's reference and alternate 524,288-base windows through the fold-0 network under a reverse-complement ensemble, untransformed with upstream's targets table, strand-summed from 7,611 tracks down to 6,385, scored as SAD, logSAD, D2, logD2.

It is not the same operation as run_borzoi_variant_effect at port 8012, which is borzoi-pytorch — a community port — taking two sequences and returning a central-bin delta on the GPU in seconds. Reach for that one for throughput, and for this one when the paper's statistics are what you need.

Prerequisites

  • Run from the ToolUniverse repository root on Linux with Python 3.12.3.
  • No GPU is required and none can be used on aarch64.
  • Python 3.10 for the model environment (the kit's python pin).
  • About 3.9 GiB of weights and genome, plus ~1 GiB of environment, in a directory that must be writable — see below.
  • ~10 GiB of free RAM per request. Peak RSS measured 10,011,120 KB.

Run the standard-library contract check before downloading large dependencies:

python scripts/remote_validation/setup_skill_preflight.py --implementation borzoi_calico

After exporting provider resources, add --check-provider-env. After the server starts, add --live to verify the exact MCP tool set without running the model.

The weights directory must be writable

Unlike every other provider on this standard, a read-only weights mount does not serve this one: pysam.Fastafile builds hg38.ml.fa.fai beside the genome the first time it opens it (borzoi_sad.py:246). launch.py checks os.access(root, os.W_OK) and refuses by name, rather than letting the worker die inside pysam with an errno nobody will connect to the mount.

Create the environment

uv venv --seed --managed-python --python 3.10 ~/borzoi-kit-venv
~/borzoi-kit-venv/bin/pip install --no-deps -r \
  src/tooluniverse/remote/borzoi_calico/environment/requirements.lock
export TOOLUNIVERSE_BORZOI_CALICO_PYTHON=~/borzoi-kit-venv/bin/python

Then the two upstream checkouts, which the kit ships as archives so nothing is cloned at setup time (stock/borzoi-5c93582.tar.gz, stock/baskerville-544073b.tar.gz; an archive install has no .git, so setuptools_scm needs the version handed to it):

SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BASKERVILLE=1.0.0 \
  ~/borzoi-kit-venv/bin/pip install --no-deps -e <baskerville checkout>
SETUPTOOLS_SCM_PRETEND_VERSION_FOR_BORZOI=1.0.1 \
  ~/borzoi-kit-venv/bin/pip install --no-deps -e <borzoi checkout>
export BORZOI_DIR=<borzoi checkout> BASKERVILLE_DIR=<baskerville checkout>

launch.py puts $BORZOI_DIR/src/scripts on the worker's PYTHONPATH, which is how upstream's own image makes borzoi_sad importable — and the worker refuses to start if it is not importable, rather than reimplementing its writer.

One thing the index cannot tell you, and it bites this stack

The kit pins tensorflow==2.15.1. On aarch64 that wheel carries no code: its RECORD is six dist-info lines, and

Requires-Dist: tensorflow-cpu-aws ==2.15.1 ; platform_system == "Linux" and (platform_machine == "aarch64")

hands the real library to a different distribution of the same version. With --no-deps that redirect is never followed, so pip list shows tensorflow 2.15.1 while import tensorflow raises ModuleNotFoundError. The lock therefore keeps the pin and adds `

Полный SKILL.md на GitHub

Установить setup-borzoi_calico-remote-tool в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл setup-borzoi_calico-remote-tool?

Set up, launch, validate, and troubleshoot the calico/borzoi variant-scoring (SAD/logSAD/D2/logD2) ToolUniverse remote tool and optionally relay it through ToolUniverse Connect. Use when deploying or auditing this implementation.

Как установить скилл setup-borzoi_calico-remote-tool?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл setup-borzoi_calico-remote-tool запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить setup-borzoi_calico-remote-tool с