rki-mf1 / covsonar

A database-driven system for handling genomic sequences of SARS-CoV-2 and screening genomic profiles.
GNU General Public License v3.0
6 stars 0 forks source link

Sublineage queries silently fail when `update-lineages` has never been run for a database #106

Closed matthuska closed 11 months ago

matthuska commented 1 year ago

If you create a new database with a property for lineages, and add some sequences with lineage metadata, you will get zero results if you do a sublineage search (e.g. match --LINEAGE "B.1*") before running the update-lineages command to pull lineage information from the pangolin GitHub repos.

We should return an error when a sublineage query is performed and the lineages table is empty.

matthuska commented 11 months ago

Closed because we do not plan to continue covsonar 2 development. For covsonar 1 this is mostly addressed by #121