Skip to content

CRISPRitz 2.9.0: pure enumeration engine (scoring/annotation/reporting → CRISPRme+) - #45

Merged
lucapinello merged 1 commit into
masterfrom
feat/pure-enumeration-engine
Oct 8, 2026
Merged

lucapinello merged 1 commit into
masterfrom
feat/pure-enumeration-engine

Conversation

@lucapinello

Copy link
Copy Markdown
Contributor

CRISPRitz 2.9.0 — pure enumeration engine (scoring/annotation/reporting → CRISPRme+)

Draft — holding the release/tag for Luca's version call (2.9.0 vs 3.0.0) and for the Bioconda recipe coordination with @ManuelTgn.

Why

The Bioconda crispritz recipe hard-pinned scikit-learn==1.1.3 / numpy==1.24.4 / pandas==2.0.3 / scipy==1.10.1 solely for the vendored azimuth (Doench 2016) on-target model. CRISPRme+ needs numpy≥1.26 / pandas≥2.1, so a Bioconda crisprme recipe (which must depend on the crispritz package) is unsolvable. Our Docker/source builds dodge it by compiling CRISPRitz from source; a conda recipe can't.

Fix + cleanup: make CRISPRitz a pure enumeration engine. CRISPRme+ already owns and supersedes all downstream (CFD + CRISPR-Bulge scoring, interval-tree annotation, its own report/plots) and never used CRISPRitz's versions.

What changed

  • Engine kept: index-genome, search, add-variants (+ version/help) — the C++ search/enrich core is untouched.
  • Removed: scores (azimuth + CFD), annotate-results, generate-report, and the search -scores option; deleted the vendored Scores/, Annotator/, Plot/, ProcessData/ trees.
  • Deps unpinned: dropped scikit-learn/scipy/matplotlib/biopython/statsmodels/intervaltree; numpy/pandas now unpinned (the add-variants Python-fallback enricher uses pandas) → the numerical stack floats free and downstream packages solve.
  • Recipe test strengthened to exercise every engine subcommand (was --help-only).

Safety / verification

  • Engine functions + dispatch unchanged for index-genome/search/add-variants; crispritz.py compiles; CLI verified (engine help works, removed commands rejected, version → 2.9.0).
  • The C++ golden search regression + minimal search test in CI are the engine-intact gate (unchanged code paths — should pass byte-identical).
  • grep confirmed every sklearn/scipy/matplotlib/biopython/statsmodels/intervaltree import lived only under the deleted trees; the engine needs only pandas + stdlib.

Follow-ups (not in this PR)

  • Trimmed Bioconda crispritz recipe (no pins) → then the CRISPRme+ Bioconda recipe (coordinate with @ManuelTgn; Luca reviews).
  • CRISPRme+ repin crispritz_ref → v2.9.0 (one-liner) + clean-room image re-verify.

🤖 Generated with Claude Code

…orting to CRISPRme+)

Remove scores (azimuth+CFD), annotate-results, generate-report + the search -scores
option; delete the vendored Scores/Annotator/Plot/ProcessData trees. Drop the azimuth
dependency stack (scikit-learn/scipy/matplotlib/biopython/statsmodels/intervaltree) and
unpin numpy/pandas so downstream packages (CRISPRme+) can solve on Bioconda. Engine
(index-genome/search/add-variants + C++ binaries) unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@lucapinello
lucapinello marked this pull request as ready for review October 8, 2026 16:13
@lucapinello
lucapinello merged commit 0715d27 into master Oct 8, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant