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

openvax / varcode / 24733984187
88%

Build:
DEFAULT BRANCH: main
Ran 21 Apr 2026 04:32PM 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
24733984187

push

github

web-flow
Genotype → DataclassSerializable + drop biopython (closes #293; partial #272) (#347)

* Genotype → DataclassSerializable, drop biopython dep (#272 part, #293)

Two narrowly scoped cleanups that fit together:

Genotype (#272 part):
- Add DataclassSerializable as a base. Genotype was already a
  frozen dataclass, so this is a one-line inheritance addition —
  gains to_dict / from_dict / to_json / from_json without any
  hand-rolled code.
- New test asserts JSON round-trip preserves all fields (alleles,
  allele_depths, phase_set, depth, quality).

Biopython (#293):
- Replace the two `from Bio.Seq import reverse_complement` imports
  (util.py, effects/effect_prediction.py) with a local
  str.translate-based helper in varcode/nucleotides.py.
- Drop `biopython>=1.64` from requirements.txt.
- Handles IUPAC ambiguity codes + case preservation to match
  biopython's behavior.

Deferred from #272 (Variant, effect classes): Variant carries a
large custom __init__ with ref/alt normalization and contig-name
cleanup; the effect-class hierarchy is polymorphic with per-class
init signatures. Neither fits the dataclass shape without a much
larger refactor, and the existing Serializable path round-trips
correctly. File a scoped follow-up if/when we want to migrate them
explicitly.

* Fix version.py conflict-marker leftover from rebase
Source Files on build 24733984187
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #24733984187
  • c4e50fb2 on github
  • Prev Build on main (#24733458943)
  • Next Build on main (#24734065586)
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