Skip to content

Fix swapped start/end in allele validation test#692

Merged
jdeligt merged 1 commit intoga4gh:2.1.0-connect_2026_#10from
nsheff:fix/alleles-start-end-swap
Apr 13, 2026
Merged

Fix swapped start/end in allele validation test#692
jdeligt merged 1 commit intoga4gh:2.1.0-connect_2026_#10from
nsheff:fix/alleles-start-end-swap

Conversation

@nsheff
Copy link
Copy Markdown
Member

@nsheff nsheff commented Apr 13, 2026

Summary

  • The 20bp insertion test case NC_000001.11:156114976:CGCTGTCGCCCA:CGCTGTCGCCCAGCCGGGTGCGCTGTCGCCCA in validation/alleles.yaml had start=156114988 and end=156114976 (start > end), which is invalid for interbase coordinates.
  • Swaps them to start=156114976, end=156114988.

Found while running validation tests against a Rust VRS implementation.

The 20bp insertion test case (NC_000001.11:156114976:CGCTGTCGCCCA:...)
had start=156114988 and end=156114976, which is inverted. Start should
be less than or equal to end in interbase coordinates.
@jdeligt jdeligt merged commit 2814b0e into ga4gh:2.1.0-connect_2026_#10 Apr 13, 2026
8 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.

2 participants