Skip to content

Support varcode>=12.0.1 and wire opt-in --combine-cis-snvs (#898, v3.66.0) - #902

Merged
iskandr merged 1 commit into
mainfrom
feat/support-varcode-12-898
Nov 22, 2026
Merged

iskandr merged 1 commit into
mainfrom
feat/support-varcode-12-898

Conversation

@iskandr

@iskandr iskandr commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Adopts varcode>=12.0.1,<13.0.0 (alongside isovar>=1.91.2,<2.0.0, topiary>=5.113.6,<6.0.0, pyensembl>=2.35.0,<3.0.0, and orfdata>=0.53.0,<1.0.0), removes the temporary openvax/varcode#759 --version conflict workaround, and wires opt-in --combine-cis-snvs via varcode.transforms.combine_cis_snvs (v3.64.0).

Closes #898.

Changes

  • Dependencies (requirements.txt): lift varcode<12 cap to varcode>=12.0.1,<13.0.0, adopting isovar>=1.91.2,<2.0.0, topiary>=5.113.6,<6.0.0, pyensembl>=2.35.0,<3.0.0, and orfdata>=0.53.0,<1.0.0.
  • CLI cleanup (vaxrank/cli/arg_parser.py, tests/test_cli_errors.py): remove the --version workaround no longer needed on varcode>=12.0.1 (make_variants_parser unconditionally adds --version, breaking downstream parsers (isovar/vaxrank) varcode#759).
  • Opt-in cis-SNV -> MNV combining (vaxrank/cli/arg_parser.py, vaxrank/cli/entry_point.py, vaxrank/direct_input.py):
    • Add --combine-cis-snvs (off by default to preserve existing behavior).
    • Preserve VariantCollection metadata when filtering unannotatable contigs so VCF GT/PS phasing survives to combine_cis_snvs.
    • Auto-select the sole VCF sample for single-sample VCFs and require --tumor-sample-name for multi-sample VCFs.
  • Test updates: add tests/test_combine_cis_snvs.py and update tests/test_reference_proteome.py for pyensembl>=2.35.0's native Genome.species attribute (which is None when species is unknown).
  • Version bump: 3.63.0 -> 3.64.0.

Verification

  • ./lint.sh: ruff passed.
  • Full test suite verified against live PyPI varcode==12.0.2, isovar==1.91.2, topiary==5.113.6, pyensembl==2.36.0 (3474 passed on full run + 114/114 targeted tests after final 3 fixes).

@iskandr
iskandr force-pushed the feat/support-varcode-12-898 branch from a95e10a to 97e6008 Compare November 22, 2026 02:42
@iskandr iskandr changed the title Support varcode>=12.0.1 and wire opt-in --combine-cis-snvs (#898) Support varcode>=12.0.1 and wire opt-in --combine-cis-snvs (#898, v3.65.0) Nov 22, 2026
@iskandr
iskandr force-pushed the feat/support-varcode-12-898 branch from 97e6008 to f5b3921 Compare November 22, 2026 12:53
@iskandr iskandr changed the title Support varcode>=12.0.1 and wire opt-in --combine-cis-snvs (#898, v3.65.0) Support varcode>=12.0.1 and wire opt-in --combine-cis-snvs (#898, v3.66.0) Nov 22, 2026
@iskandr
iskandr force-pushed the feat/support-varcode-12-898 branch from f5b3921 to 30c6dad Compare November 22, 2026 15:02
@iskandr
iskandr merged commit ea36001 into main Nov 22, 2026
11 checks passed
@iskandr
iskandr deleted the feat/support-varcode-12-898 branch November 22, 2026 15:03
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.

Support varcode>=12.0.1 (lift varcode<12 cap) and evaluate combine_cis_snvs

1 participant