Skip to content

feat(collection-seeder): add influenza resistance mutation collections#1316

Draft
fhennig wants to merge 4 commits into
mainfrom
feat/flu-resistance-mutations-1272
Draft

feat(collection-seeder): add influenza resistance mutation collections#1316
fhennig wants to merge 4 commits into
mainfrom
feat/flu-resistance-mutations-1272

Conversation

@fhennig

@fhennig fhennig commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

resolves #1272

Summary

There are still some TODOs left, but I need input from @DrYak for this.

Screenshot

PR Checklist

  • All necessary documentation has been adapted.
  • The implemented feature is covered by an appropriate test.

@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboards Ready Ready Preview, Comment Jul 6, 2026 9:55am

Request Review

@fhennig fhennig self-assigned this Jul 6, 2026
Felix Hennig and others added 4 commits July 6, 2026 11:52
Adds four new Source classes (h1n1pdm, h3n2, h5n1, victoria) that fetch
antiviral resistance mutation data from the BU-ISCIII flu_resistance repo
and produce one Collection per antiviral per organism.

NA inhibitors (Oseltamivir, Zanamivir, Peramivir, Laninamivir) are sourced
from NA-inhibitors.json with NI/RI/HRI classification.  Baloxavir is sourced
from PA-inhibitors.json with fold-change values.  NI-only and unknown (?, ?e)
entries are excluded.

Open questions about strain mapping, fold-change thresholds, LAPIS gene name
conventions, and additional data files are documented in QUESTIONS.md.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Baloxavir variants now named by mutation (e.g. 'PA:I38T') with
  fold-change surfaced in the new variant description field
- Add description field to Variant TypedDict (NotRequired[str])
- Remove QUESTIONS.md (all questions resolved)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Some entries in NA-inhibitors.json have leading spaces (e.g. " S227N"),
which produced invalid strings like "NA: S227N" in aminoAcidMutations.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@fhennig fhennig force-pushed the feat/flu-resistance-mutations-1272 branch from a72f603 to e8b4e99 Compare July 6, 2026 09:55
@fhennig fhennig changed the title Feat/flu resistance mutations 1272 feat(collection-seeder): add influenza resistance mutation collections Jul 7, 2026
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.

pull resistance mutations for Influenza from flu_resistance repo and generate collections

1 participant