Release 0.4.0#75
Merged
lucapinello merged 2 commits intomainfrom Apr 30, 2026
Merged
Conversation
Headline changes since 0.3.0:
- Rebuilt ChromBPNet per-track CDFs against chrombpnet_nobias (the 0.3+
default). Prior CDFs targeted the bias-aware chrombpnet; effect
percentiles now look up against the matching empirical distribution.
786 tracks, all CDFs monotone, sha256 be61e9e8... on
lucapinello/chorus-backgrounds. ATAC/DNase p95 shifts 13.5-29.3%
(bias correction). Audit at audits/2026-04-29_chrombpnet_cdf_rebuild/.
- HuggingFace mirror consolidation: Enformer, Borzoi, Sei, LegNet now
fetch from chorus-controlled HF repos (lucapinello/chorus-{enformer,
borzoi,sei,legnet}) with original-source fallback. Closes the TFHub
deprecation hazard. Audit at audits/2026-04-29_hf_mirror_consolidation/.
- AlphaGenome PyTorch backend (alphagenome_pt) shipped alongside the JAX
default — same model, same weights converted to safetensors. Both
install by default in `chorus setup`. Routing helper
recommend_alphagenome_backend() suggests which to use based on
platform + window size. Audit trail at
audits/2026-04-29_alphagenome_pytorch_spike/ and
audits/2026-04-29_alphagenome_pt_stress_test/.
- Env-setup hardening: timeout-soft policy in _setup_environment so
cold-NFS validation timeouts don't silently downgrade
use_environment=True; _check_env_ready() now plugged into every
oracle's load_pretrained_model so missing-dep failures raise
EnvironmentNotReadyError up-front instead of falling through to
ModuleNotFoundError. Closes #64. Equivalence test rewritten via
chorus._predict closes #63 + #65.
- HF-mirror direct-load fix (post-merge): wired chorus mirror routing
into Enformer + Borzoi _load_direct paths (PR #69). Caught during the
scorched-earth audit at audits/2026-04-30_overnight_full_audit/.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Headline changes since 0.3.0
ChromBPNet CDFs rebuilt against
chrombpnet_nobiasThe 0.2.x CDFs on
lucapinello/chorus-backgroundswere built against the bias-awarechrombpnetvariant. After the 0.3.0 default flipped tochrombpnet_nobias, percentile lookups were doingchrombpnet_nobiaspredictions →chrombpnetempirical CDFs — biased.Rebuilt on A100 in ~10h. New NPZ:
effect_count=9609per track)sha256: be61e9e8f9b919b43c599b7fbc9deb74f8f1e6dc1da5e2cdb92036a85bf13205Audit:
audits/2026-04-29_chrombpnet_cdf_rebuild/report.md.HuggingFace mirror consolidation
Enformer / Borzoi / Sei / LegNet weights now fetch from chorus-controlled HF repos with original-source fallback. Closes the TFHub deprecation hazard. Audit:
audits/2026-04-29_hf_mirror_consolidation/report.md.AlphaGenome PyTorch backend
Second AlphaGenome oracle (
alphagenome_pt) shipped alongside the JAX default. Same model + same weights converted to safetensors.recommend_alphagenome_backend()helper picks the right backend per platform + window size. Both install by default. Audit trail:audits/2026-04-29_alphagenome_pytorch_spike/,audits/2026-04-29_alphagenome_pt_stress_test/.Env-setup hardening
_setup_environment: cold-NFS validation timeouts don't silently downgradeuse_environment=True._check_env_ready()wired into every oracle'sload_pretrained_modelso missing-dep failures raiseEnvironmentNotReadyErrorup-front.HF-mirror direct-load fix (post-merge, PR #69)
Wired chorus mirror routing into Enformer + Borzoi
_load_directpaths. Caught during the scorched-earth audit ataudits/2026-04-30_overnight_full_audit/report.md.Validation summary (from overnight scorched-earth audit)
chorus setupchorus healthHealthyanalyze_variant_multilayerend-to-end on SORT1 rs12740374 with the new CDF: PASSTest plan
audits/2026-04-30_overnight_full_audit/report.md)Open follow-up issues (not blocking)
build_backgrounds_chrombpnetinterim NPZ overwrite (caught during the rebuild)--gpu Noverrides outerCUDA_VISIBLE_DEVICES🤖 Generated with Claude Code