정보
이 스킬은 개발자들이 아웃포스트 바이오의 Waypoint 마이크로바이옴 기초 모델과 관련 도구들을 활용할 수 있게 합니다. 샘플 임베딩, 분류학적 데이터에 대한 미세 조정, Compass 프레임워크를 이용한 모델 벤치마킹과 같은 주요 작업을 지원합니다. 또한 MetaPhlAn이나 Kraken2 출력과 같은 일반적인 마이크로바이옴 데이터 형식을 이 모델들과 함께 사용할 수 있도록 변환하는 유틸리티도 포함되어 있습니다.
빠른 설치
Claude Code
추천npx skills add K-Dense-AI/claude-scientific-skills -a claude-code/plugin add https://github.com/K-Dense-AI/claude-scientific-skillsgit clone https://github.com/K-Dense-AI/claude-scientific-skills.git ~/.claude/skills/waypoint-bioClaude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요
문서
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 against Compass so the number is comparable to the paper.
- 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.
Do not reach for this when you have fewer than ~1,000 labelled samples — see Scientific caveats. A random forest on relative abundances is the better tool there, and the paper says so.
Setup
pip install waypoint-bio # installs the `waypoint` command
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_...
A 401/403 from any subcommand almost always means access was never requested on that specific repo —
a token alone is not enough. Use a read-scoped token. The tokenizer loads via
trust_remote_code=True, so pin a revision if you need the remote code fixed across runs.
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 |
Prefer parquet. CSV/TSV stores the lists as repr strings and round-trips through ast.literal_eval.
Give full lineages, not bare names. The tokenizer extracts the genus segment (g__) from each
lineage and falls back to the most specific higher rank when genus is missing. Bare names disable
that fallback entirely.
Workflow
1. Get your data into waypoint format
If you already have a sample × taxa (or taxa × sample) abundance matrix with lineage labels:
waypoint prepare-dataset \
--input abundance_matrix.tsv \
--metadata sample_labels.csv \
--output dataset.parquet
Orientation is auto-detected from the first column header (taxonomy, lineage, taxon, otu,
#otu id ⇒ taxa-as-rows); override with --orientation. Rows are normalised to sum to 1 unless you
pass --no_normalize, and zeros are dropped unless you pass --keep_zeros.
prepare-dataset cannot read profiler output directly — MetaPhlAn uses | separators, Kraken2
reports encode the hierarchy as indentation, and QIIME 2/SILVA prefixes the domain d__ instead of
k__ (which the tokenizer silently ignores). Use the bundled converter for those:
python scripts/profiler_to_waypoint.py \
--input merged_metaphlan.tsv --format metaphlan \
--output dataset.parquet
python scripts/profiler_to_waypoint.py \
--input reports/*.kreport --format kraken \
--output dataset.parquet
python scripts/profiler_to_waypoint.py \
--input feature-table.tsv --format qiime2 \
--output dataset.parquet
See references/data-preparation.md for every input layout, rank handling, and the d__/| gotchas.
2. Check vocabulary coverage before anything else
Waypoint's vocabulary is fixed at pretraining time from Atlas. Taxa absent from it become <unk> and
are silently dropped by waypoint embed; the paper names this as the models' main limitation. A
sample whose taxa are all out-of-vocabulary yields a degenerate [BOS][EOS] embedding.
python scripts/vocab_coverage.py --model outpost-bio/Waypoint-6m --data dataset.parquet
It reports per-sample and abundance-weighted coverage and flags samples below a threshold. Treat median abundance-weighted coverage under ~0.8 as a reason to re-examine your taxonomy labels before trusting any downstream number.
3. Embed samples
waypoint embed \
--model outpost-bio/Waypoint-6m \
--data dataset.parquet \
--output embeddings.parquet
Output is indexed by sample ID with columns dim_0 … dim_{H-1} (H = 256 for 6m, 512 for 45m,
768 for 170m). Defaults: --pooling last_token, --batch_size 32, --max_length 512, device
auto-detected (cuda → mps → cpu).
Keep --pooling last_token unless you have a reason to change it: it matches how the checkpoints
were pretrained and how benchmark and finetune pool. mean is a reasonable alternative for
unsupervised use; first_token/cls_token return the BOS position and carry little signal in a
causal LM.
4. Fine-tune on your labels
# classification
waypoint finetune \
--model outpost-bio/Waypoint-45m \
--data dataset.parquet \
--output_dir outputs/ft_disease \
--task_type classification \
--target "Disease Status" \
--config configs/finetune_classification.yaml
# regression, with a categorical covariate one-hot appended to the pooled embedding
waypoint finetune \
--model outpost-bio/Waypoint-45m \
--data dataset.parquet \
--output_dir outputs/ft_degradation \
--task_type regression \
--target "Degradation Rate" \
--covariate_column Drug \
--config configs/finetune_regression.yaml
Config paths resolve against the bundled waypoint_bio/configs/ tree, so configs/... works from
any directory without cloning.
Defaults worth overriding for small datasets: warmup_steps: 1000 (drop to ~50 so warmup finishes
before early stopping), num_epochs: 1 in the shipped configs (raise it — early stopping on
validation loss is what actually terminates training), and use_lora: true when VRAM is tight
(~1% of parameters trained; adapters are merged back before saving, so the checkpoint stays a plain
AutoModel).
Splits default to a random 80/10/10. Set split_column to a Split column whenever samples are
correlated — repeated measures, one donor sampled over time, technical replicates — or a random
split leaks and the test score is meaningless.
Outputs land in --output_dir: best_model/ (loadable by embed/benchmark),
test_metrics.json, training_log.csv + .html, and finetune_results.json.
5. Benchmark on Compass
waypoint benchmark --model outpost-bio/Waypoint-6m --output_dir outputs/benchmark
waypoint benchmark --model outputs/pretrain/best_model --tasks 1 6 --output_dir outputs/smoke
Fine-tunes a fresh head per task and writes benchmark_results.json. Classification tasks score
macro-F1; the one regression task scores R² clamped to [0, 1]; final_score is the unweighted mean
across tasks. Full task table, metric keys, and result-file schema: references/compass-benchmark.md.
6. Pretrain
waypoint pretrain \
--model_config configs/models/gpt2-45m.yaml \
--pretrain_config configs/pretraining.yaml \
--output_dir outputs/pretrain_45m
Downloads Atlas, builds a taxonomic tokenizer from the corpus, computes per-token abundance
mean/std for z-score ordering, then trains with next-token prediction and early stopping. Add
--data my_corpus.parquet to pretrain on your own waypoint-format corpus instead, and
--max_samples N for a smoke test.
Nine architectures ship, from gpt2-6m.yaml (8 layers, 256 hidden) to gpt2-170m.yaml (24 layers,
768 hidden); per-head dimension is fixed at 64 throughout. references/cli-reference.md has the
full table and every config key.
Scientific caveats
These are load-bearing. Ignoring them produces numbers that look fine and mean nothing.
- Below ~1,000 labelled examples, Waypoint underperforms a random forest on raw abundances. The paper's crossover against the RF baseline sits near 10,000 training examples. Fit the baseline first; only adopt the transformer if it wins on your data.
- Out-of-vocabulary taxa are dropped, not flagged. Every Compass dataset carries some. Run
scripts/vocab_coverage.pyand report the coverage alongside your results. - 45M, not 170M, was the best benchmark model. Pretraining loss keeps falling with scale, but downstream Compass score does not — start at 6m or 45m and only scale up if it demonstrably helps.
- Genus-level tokenisation is the default, so species-level distinctions are collapsed. Changing
taxon_rankrequires re-pretraining, not just re-tokenising. - Compositional data. Relative abundances are constrained to sum to 1; differences in one taxon induce apparent changes in others. This affects interpretation of any per-taxon attribution.
- Batch and study effects dominate microbiome data. Atlas spans MGnify pipelines v1.0–v5.0 and four sequencing modalities. Never let a study or run boundary coincide with your label boundary.
- Not a clinical or diagnostic tool. The model cards state this explicitly.
References
references/cli-reference.md— every subcommand flag, every config key, the model-size table.references/compass-benchmark.md— the eight tasks, filters, metrics,benchmark_results.jsonschema.references/data-preparation.md— waypoint format, profiler conversions, taxonomy string rules.references/python-api.md— using the tokenizer, datasets, heads, and checkpoints from Python.
Scripts
scripts/profiler_to_waypoint.py— MetaPhlAn / Kraken2 / QIIME 2 / generic lineage tables → waypoint format.scripts/vocab_coverage.py— tokenizer coverage report for a waypoint-format file.
Upstream
Code github.com/Outpost-Bio/waypoint ·
package waypoint-bio ·
paper bioRxiv 2026.05.02.722381 ·
community Waypoint Slack ·
contact [email protected].
Cite Treloar, N. J., Ur-Rehman, S., Yang, J., & Outpost Bio (2026). Learning the Language of the Microbiome with Transformers. bioRxiv. Per-artefact DOIs are listed at outpost.bio/citations.
GitHub 저장소
자주 묻는 질문
waypoint-bio Skill이란 무엇인가요?
waypoint-bio은(는) K-Dense-AI이(가) 만든 Claude Skill입니다. Skill은 Claude가 필요할 때 불러오는 지침과 리소스를 묶어 추가 프롬프트 없이 waypoint-bio 관련 작업을 수행할 수 있게 합니다.
waypoint-bio은(는) 어떻게 설치하나요?
이 페이지의 설치 명령을 사용하세요. waypoint-bio을(를) Claude Code 플러그인으로 추가하거나 저장소를 skills 디렉터리에 복제한 다음 Claude를 다시 시작해 Skill을 불러옵니다.
waypoint-bio은(는) 어떤 카테고리에 속하나요?
waypoint-bio은(는) 기타 카테고리에 속합니다.
waypoint-bio은(는) 무료로 사용할 수 있나요?
네. waypoint-bio은(는) AIMCP에 등록되어 있으며 무료로 설치할 수 있습니다.
연관 스킬
LlamaGuard는 폭력 및 혐오 발언 등 6가지 안전 범주에서 LLM 입력과 출력을 조정하기 위한 Meta의 70-80억 파라미터 모델입니다. 94-95% 정확도를 제공하며 vLLM, Hugging Face 또는 Amazon SageMaker를 사용해 배포할 수 있습니다. 이 기술을 사용하여 AI 애플리케이션에 콘텐츠 필터링 및 안전 가드레일을 손쉽게 통합하세요.
이 Claude Skill은 리소스 적정화, 태깅 전략, 지출 분석을 통해 개발자들이 클라우드 비용을 최적화할 수 있도록 지원합니다. AWS, Azure, GCP에서 클라우드 비용을 절감하고 비용 거버넌스를 구현하기 위한 프레임워크를 제공합니다. 인프라 비용을 분석하거나, 리소스를 적정화하거나, 예산 제약을 충족해야 할 때 사용하세요.
이 Claude Skill은 스프레드, 오버/언더, 프로프 베트를 포함한 스포츠 베팅 시장을 분석합니다. 역사적 추이와 상황별 통계를 검토하여 가치 베트를 발견하고, 교육적 목적으로 실행 가능한 권장 사항이 담긴 구조화된 마크다운 결과를 제공합니다. 개발자는 이 기능을 스포츠 베팅 분석 도구에 활용할 수 있으며, 단순히 엔터테인먼트/교육 목적으로만 설계되었음을 유의해야 합니다.
이 스킬은 bitsandbytes를 사용하여 LLM을 8비트 또는 4비트 정밀도로 양자화하며, 최소한의 정확도 손실로 50-75%의 메모리 감소를 달성합니다. 제한된 GPU 메모리에서 더 큰 모델을 실행하거나 추론을 가속화하는 데 이상적이며, INT8, NF4, FP4와 같은 형식을 지원합니다. 이 스킬은 HuggingFace Transformers와 통합되어 QLoRA 학습 및 8비트 옵티마이저를 가능하게 합니다.
