waypoint-bio
できること
このツールは、Waypointというマイクロバイオーム(微生物叢)向けのAIモデルを扱うためのツールです。マイクロバイオームのサンプルデータを、AIが理解できる形式に変換します。これにより、AIを学習させたり、予測に使ったりできます。
使う場面
- ✓マイクロバイオームの組成データを、分析用のベクトルに変換したいときに使えます。
- ✓マイクロバイオームの組成をもとに、何かを予測するAIモデルを学習させたいときに使えます。
- ✓自分で作ったAIモデルを、標準的なデータセットで試したいときに使えます。
スキルのリンク
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/waypoint-bio/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“AIが使えるように、私のマイクロバイオームのデータを変換してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
ツールは、マイクロバイオームのデータを、各生物(分類群)が1つのトークンになる特定の形式に整理します。事前学習済みの言語モデルを使ってこのトークンを理解し、サンプルを数値で表現したり、予測のためのモデルを学習させたりします。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Waypoint: Outpost Bio's Open Microbiome Foundation Models
Overview
Outpost Bio open-sourced three artefacts under Apache 2.0, described in Treloar et al., bioRxiv 2026.05.02.722381:
| Artefact | What it is | Hugging Face |
|---|---|---|
| Waypoint | GPT-2-style causal LMs over taxonomic tokens, 6M–170M params | outpost-bio/Waypoint-6m, -45m, -170m |
| Atlas | 539,308 microbiome samples scraped from MGnify (485,377 pretrain / 53,931 benchmark) | outpost-bio/Atlas |
| Compass | Eight downstream tasks over four studies | outpost-bio/Compass |
The unifying idea: a microbiome sample is a sentence. Each taxon is one token, tokens are ordered by descending abundance z-score, and the model is trained with next-token prediction. A pretrained checkpoint then supplies sample-level embeddings or a fine-tuning backbone for prediction tasks.
All of it is driven by one CLI, waypoint, with five subcommands: prepare-dataset, embed,
finetune, benchmark, pretrain.
When to use
- Embedding 16S/shotgun taxonomic profiles into fixed-size vectors for clustering, visualisation, or a downstream classifier.
- Fine-tuning a Waypoint checkpoint to predict a phenotype, treatment, or continuous readout from community composition.
- Scoring your own microbiome model on Compass with an explicitly recorded protocol.
- Pretraining a taxonomic language model on Atlas or on your own corpus.
- Converting profiler output (MetaPhlAn, Kraken2/Bracken, QIIME 2, MGnify TSVs) into the input format these tools expect.
For small labelled datasets, start with a random-forest baseline and grouped validation. The paper's sample-size crossover is an empirical result from its experiments, not a universal cutoff for using embeddings or a guarantee of performance on a new study.
Setup
pip install "waypoint-bio==1.0.2" "transformers==4.57.6" "peft==0.18.1" "huggingface-hub<1"
The 2026-10-01 review checked the published wheel, GitHub main f45eee6d07a480bfc90f84ab8082bbc969dec15d
(1.0.4), and current Hub metadata. Small native CPU/tokenizer tests used Python 3.12, Torch
2.14.1, Transformers 4.57.6, PEFT 0.18.1 and pandas 3.0.6; no pretrained weights or gated rows
were downloaded. The package leaves dependencies unbounded: Transformers 5 removes its
pretraining logging_dir argument. Keep a separate compatible environment.
Upstream limitations: local TaxonomicTokenizer.save_pretrained() raises
NotImplementedError in both reviewed versions, blocking pretrain before training and
finetune export when using that local tokenizer. Released 1.0.2 does not merge LoRA adapters
or write training logs; GitHub 1.0.4 does. See references/upstream-review.md before training.
Training examples below are source-checked templates, not completed scientific runs.
Atlas, Compass, and every Waypoint checkpoint are gated. Access is auto-approved, but you must click through once per repo and then authenticate:
Request access on each repo page you need: Waypoint-6m, Waypoint-45m, Waypoint-170m, Atlas, Compass.
Authenticate locally:
hf auth login # or: export HF_TOKEN=hf_...
For 401/403 errors, check token validity, read scope, and approval for the specific repo.
The tokenizer loader executes repository code with trust_remote_code=True. Review that code
and pin an immutable Hub commit. The upstream CLI has no --revision; download a reviewed
snapshot and pass its local path so model, tokenizer and ordering statistics share one revision
(see references/python-api.md).
The waypoint data format
Everything except prepare-dataset consumes waypoint format: a .parquet / .csv / .tsv
whose rows are samples, with two aligned list-columns plus any label columns you need.
| Column | Type | Notes |
|---|---|---|
Taxa |
list[str] |
Full lineage strings, ;-separated: k__Bacteria; p__Firmicutes; ...; g__Lactobacillus |
Relative Abundances |
list[float] |
Same length as Taxa, same order |
| (any) | scalar | Targets, covariates, or a Split column |
…
よくある質問
この文脈での「トークン」とは何ですか?
この場合のトークンは、マイクロバイオームのサンプルに含まれる生物(分類群)のことです。ツールはそれらを整理し、文章中の単語のように扱うため、AIが処理できるようになります。
このツールを使うには、事前のプログラミング知識が必要ですか?
簡単なコマンドで使えるように設計されています。ただし、最初の環境構築やデータ形式の理解には注意が必要です。最初の段階では、ガイドや詳しい人に手伝ってもらうとよいでしょう。
「オープンな基盤モデル(open foundation models)」とはどういう意味ですか?
このAIモデルはOutpost Bioが作成し、Apache 2.0という寛容なライセンスで公開されているという意味です。誰でも利用、改変、配布できます。
詳細
作者による元の説明
Supports work with Outpost Bio's open microbiome foundation models - the Waypoint checkpoints (Waypoint-6m, Waypoint-45m, Waypoint-170m), the Atlas pretraining corpus, the Compass eight-task benchmark, or the `waypoint` CLI from the `waypoint-bio` package. Covers embedding microbiome samples, fine-tuning on taxonomic abundance data, benchmarking a checkpoint on Compass, pretraining a GPT-2 model o
人気
- GitHubのスター
- 51k
- ランキング
- #3593
- ライセンス
- MIT
- 更新日
- 2026/10/15
コメント
- …
このリポジトリの他のスキル
13c-metabolic-flux
51k炭素13同位体トレーシングのデータを使って代謝フラックスを推定します。細胞の代謝や生化学経路の分析に役立ちます。
adaptyv
51kAdaptyv APIを使ってタンパク質の特性評価実験を設計します。コストの見積もり、配列の提出、ラボの結果の監視を支援します。
aeon
51k時系列データに対して機械学習のタスクを実行します。逐次データの分類、予測、異常検知、パターンの発見に役立ちます。
alphagenome
51k遺伝的変異に対して、事前に計算されたゲノム上の効果を検索します。スコアと説明を提供し、変異がゲノムに与える影響を理解するのに役立ちます。
似ているスキル
add-model-provider
394k安全なセットアップコマンドで新しいAIモデルプロバイダーをOpenClawに接続し、APIキーを平文で残さず、ライブテストを行うようエージェントを支援します。
acp-router
394kClaude CodeやCursorなどのコーディングアシスタントに、OpenClaw経由でタスクを渡し、その作業がそのツール内で行われるようエージェントを支援します。
browser-automation
394kログイン、タブ、応答しなくなったページからの復旧を含め、Webページを段階的に操作するようエージェントに教えます。