• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openvax / varcode / 25566409254
88%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 04:21PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
25566409254

push

github

web-flow
GermlineContext + validation (slice 1 of #268) (#359)

* GermlineContext + validation (slice 1 of #268)

Slice 1 of the germline-aware annotation umbrella ships the input
contract — the GermlineContext object — without yet wiring it through
annotator dispatch (subsequent slices). Implements the wrapper-free
design proposed in the design-update comment on #268: germline is a
transcript modifier consumed by effect prediction, not a wrapper
attached to existing effects. So this slice is purely about
constructing and validating that input.

Pieces
------

- ``GermlineContext`` (frozen dataclass) with four constructors mirroring
  the input routes from #268:
    * from_germline_vcf — Route 1 (full call set, default COMPLETE)
    * from_multi_sample_vcf — Route 2 (extract a sample column;
      ``completeness`` required, no default — multi-sample VCFs from
      somatic callers are sparse and pure-germline ones are complete)
    * from_variants — direct construction for tests / custom pipelines
    * empty — Route 3 explicit fallback

- ``Sparseness`` enum (COMPLETE / SPARSE / HOTSPOTS_ONLY / EMPTY)
  declaring how absence-of-a-call should be interpreted at a position.
  Load-bearing for correctness once slice 2/3 land — a downstream
  caller deciding whether absence ⇒ ref/ref needs to read this.

- ``GenomeBuildMismatchError`` (subclasses ValueError for catch-by-
  ValueError compat with the existing ReferenceMismatchError) raised
  by ``validate_against`` when a germline VCF and a somatic VCF were
  called against different genome builds.

- ``variants_in_window`` lazy bisect-indexed lookup. Used by slice 2's
  germline-application path; pinned now to lock the boundary
  semantics (inclusive on both ends, contig-scoped).

- Validation: hard error on cross-VCF build mismatch (opt out via
  validate_reference=False), warn on suspicious shapes (zero-variant
  load, COMPLETE-flagged context with no variants).

Out of scope (subsequent slices)
----------------... (continued)
Source Files on build 25566409254
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #25566409254
  • f0e54c9c on github
  • Prev Build on main (#25534134195)
  • Next Build on main (#25583871935)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc