Commit Graph
5 Commits
Author SHA1 Message Date
Tom Kasper 18c420d56a Bump custom_models to cda6cfd; pin torch env refs to it
Submodule adds the store out_dir mkdir fix and TrainConfig.grad_accum
(effective batch 256 via micro-batching on small GPUs). The env yamls
must point at the same commit or fresh conda builds get code that fails
on new store dirs and cannot honour --grad-accum.
2026-11-05 23:16:07 +01:00
Tom Kasper 49f1f396c6 Install custom_models in conda envs from git (pinned ref) instead of relative path
Snakemake copies env yamls into .snakemake/conda/, where the old
'../custom_models' relative pip path no longer resolves and breaks env
creation. Pin the ssh git URL to the currently packaged submodule commit;
bump the ref together with future submodule updates.
2026-10-16 19:48:00 +01:00
Tom Kasper 820863a9c7 Complete E1-v2 workflow: stage A ladder + control + gate, stage B variants + baseline
- Snakefile: modules -> plain include: (single namespace; fixed cross-module
  helper resolution), rule all with stage-A/stage-B target sets driven by
  flat --config stage_b_arch/budget/stride switches.
- config/main.yaml: v2 run matrix (ladder 12-grid, control 1M cnn s4), store
  excludes (DCS spike-in, in-corpus escherichia trap reads), barcoding kit
  (SQK-RBK114-96 classified during dorado basecalls), removes v1 quota.
- baseline_pipeline: CUDA branch streams per-chunk dorado emit-sam through
  minimap2 (-N 10, tags preserved) and samtools view into per-batch BAMs,
  merged with samtools cat; ROCm/slorado fallback kept.
- ml_pipeline: label parquets -> signal stores (main / windows-ablation w4 /
  trap store) -> 12 ladder trainings + shuffled control -> custom_models test
  with the trap store (TP2) -> custom_models gate over the g11 runs; stage B
  adds windows ablation, holdout/core_clade(/bacillus_group) variants and the
  dorado-fast alignment baseline on the winner's identical test split.
- scripts: bam2annotation now emits source_run (barcoded -> barcodeNN from the
  dorado tags, dataset fallback); new label_qc.py (TP1 capture counts) and
  baseline_eval.py.
- custom_models submodule: bump to test_split.parquet export commit.
- README: two-stage run instructions (dev dry-run vs runner GPU).
2026-10-15 19:54:51 +01:00
Tom Kasper f0cd594148 Added custom models as submodule, added pipleline for trap species handling (up to alignment). Initial progress on custom model rules 2026-10-03 15:16:36 +01:00
Tom Kasper 08467102c8 intial version 2026-09-17 22:16:42 +01:00