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

openvax / varcode / 25534134195
88%

Build:
DEFAULT BRANCH: main
Ran 08 May 2026 03:04AM 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
25534134195

push

github

web-flow
RNAEvidenceResolver protocol + apply hook (#259) (#358)

Adds the contract for refining DNA-predicted variant effects with
RNA-observed isoform / read evidence — the type-system half of #259.
No new effect classes ship here: those need first producers (Isovar,
Exacto) and would otherwise be dead code. The infrastructure landed
here lets those producers plug in via duck-typed protocols, mirroring
the PhaseResolver pattern from #269.

Mechanism
---------

A resolver duck-types ``observed_outcomes(variant, transcript) ->
Sequence[Outcome]``. ``apply_rna_evidence_to_effects(effects, resolver)``
walks an effect collection in-place and stashes each resolver-returned
tuple on ``effect._extra_outcomes``.

The ``MultiOutcomeEffect.outcomes`` property (and its overrides on
``SpliceOutcomeSet`` and ``StructuralVariantEffect``) consult that
slot via a new ``_with_extra_outcomes`` helper, so the externally-
attached evidence appears at the end of the existing outcomes tuple
without churning subclasses or breaking ``most_likely`` / consumers
that read ``outcomes[0]`` for the primary call.

Wiring
------

``Variant.effects()`` and ``VariantCollection.effects()`` gain an
``rna_resolver=`` kwarg that plumbs through to
``apply_rna_evidence_to_effects`` after annotation. Mirrors the
``phase_resolver=`` precedent. None resolver → no-op, broken resolver
(missing the protocol method) → silent no-op, same defensive shape
as ``apply_phase_resolver_to_effects``.

Helpers
-------

* ``RNAEvidenceResolver`` Protocol — runtime-checkable, single method.
* ``NullRNAEvidenceResolver`` — always returns ``()``. Useful as a
  default in pipelines and a baseline in tests.
* ``make_rna_outcome(...)`` — factory that fills the well-known
  evidence keys (``transcript_model_id``, ``read_count``) on top of
  any producer-specific extras.

Why no new effect classes
-------------------------

#259 lists FusionTranscript / FusionProtein / CircularRNA / CrypticExon
/ ExonTruncation / IntronRete... (continued)
Source Files on build 25534134195
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #25534134195
  • 9942d0ea on github
  • Prev Build on main (#25533181232)
  • Next Build on main (#25566409254)
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