Repository navigation
varcode 7.0.0
v7.0.0 (2026-07-08)
Changed
- The default effect annotator is now
fast(the offset-based
classifier varcode has shipped since 2.0.0) instead ofprotein_diff.
Variant.effects()/VariantCollection.effects()with no explicit
annotator=now route throughfast. This is a behavior change for
callers that relied on the default: for SNVs / indels / MNVs the two
annotators are fully reconciled (seetests/test_protein_diff_parity.py,
tests/test_annotator_parity_adversarial.py, and
tests/test_annotator_divergence_scenarios.py), so nearly all output is
unchanged, but any residual divergence now resolves tofast's
classification.protein_diffstays available via
annotator="protein_diff"orvarcode.use_annotator("protein_diff"), and
remains the substrate theMutantTranscript/ splice-outcome / germline
machinery builds on. Rationale:fastis the more battle-tested path —
during theprotein_diffbring-up it was effectively the correctness oracle
protein_diffwas reconciled against
(#318–#321),
and it has the cleaner bug history
(#397). Major version bump
because default behavior changes.
Added
- Regression pins in
tests/test_annotator_divergence_scenarios.pyfor the
frameshift coincidental-shared-suffix class
(#396 /
#397): a frameshift whose
novel C-terminus coincidentally ends with the reference protein's terminal
residue(s) must retain the full tail under both annotators (CFTR
p.L127fson the + strand, BRCA1p.R71fson the − strand).