hodcroftlab / covariants

Real-time updates and information about key SARS-CoV-2 variants, plus the scripts that generate this information.
https://covariants.org/
GNU Affero General Public License v3.0
316 stars 112 forks source link

feat: use Nextclade_pango lineage before snps #331

Closed corneliusroemer closed 2 years ago

corneliusroemer commented 2 years ago

First priority remains Nextstrain clade Second priority becomes Nextstrain_pango Third priority is SNPs

One thing to bear in mind: this only works if Nextclade pango exists already Code may want to be refactored to allow for a special Nextclade_pango=true field

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
covariants ✅ Ready (Inspect) Visit Preview Jul 15, 2022 at 4:09PM (UTC)
emmahodcroft commented 2 years ago

Going to merge this into the 22D branch as a trial - thanks @corneliusroemer !

emmahodcroft commented 2 years ago

As suggested, I'm also adding a use_pango attribute which should allow this to be intentionally turned on, rather than accidentally.

emmahodcroft commented 2 years ago

This seems to work!