Add support for switching RLE subunit between largest and smallest

Open
#637 1 comment 0 reactions 1 assignee View on GitHub

@theferrit32 is already working on this.

Since Jul 2, 2026.

Assessment

This issue has not been assessed yet.

Description

The code right now uses the largest subunit obtained after trimming common sequence.

The goal of this issue is to add support for instead using the smallest. This will then be made the default when we update to a forthcoming spec version, and will enable us to support creating digests using the prior 'largest subunit' method optionally in the code, when that is requested.

https://github.com/ga4gh/vrs-python/blob/a50b9fb189e777241aefd789abbd480ec9df4351/src/ga4gh/vrs/models.py#L688

https://github.com/ga4gh/vrs-python/blob/a50b9fb189e777241aefd789abbd480ec9df4351/src/ga4gh/vrs/normalize.py#L207

See https://github.com/ga4gh/vrs-python/issues/549#issuecomment-2810682997 for prior discussion.

Dominant language
Python
Stars
63
Forks
43
Avg merge
1h 2m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ga4gh/vrs-python

All issues in ga4gh/vrs-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.