feat(config): add lineageFields for all organisms to both prod and staging#1122
Open
feat(config): add lineageFields for all organisms to both prod and staging#1122
Conversation
…aging Adds lineageFields to the backend config for all organisms that expose lineage/clade filters on the website. These fields are used by the backend to validate lineage filters in collection objects. Fields were identified in two ways: 1. Fetching `<lapis-url>/llms.txt` for each organism and extracting fields annotated as "(STRING, lineage index generated)" — these were found for covid, mpox, rsvA, rsvB, cchf, and denv1–4. 2. Reading the frontend view files (e.g. h5n1.ts, h3n2.ts) for organisms where llms.txt returned no lineage index fields but the website still exposes a variant/clade selector — covering h5n1, h1n1pdm, h3n2, influenzaA, influenzaB, victoria, westNile, and measles. Summary of lineageFields added per organism: - covid (staging only, prod already had it): pangoLineage, nextcladePangoLineage - h5n1: clade - h1n1pdm: cladeHA, cladeNA - h3n2: cladeHA, cladeNA - influenzaA: subtypeHA, subtypeNA - influenzaB: lineageHA - victoria: cladeHA, cladeNA - mpox: lineage, clade - westNile: lineage - rsvA: lineage - rsvB: lineage - cchf: lineage_S - denv1–4: clade - measles: genotype Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds lineageFields to the backend config for all organisms that expose lineage/clade filters on the website. These fields are used by the backend to validate lineage filters in collection objects.
Fields were identified in two ways:
<lapis-url>/llms.txtfor each organism and extracting fields annotated as "(STRING, lineage index generated)" — these were found for covid, mpox, rsvA, rsvB, cchf, and denv1–4.Summary of lineageFields added per organism: