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

Update lineage information whenever a user does a match query with sublineages #119

Closed matthuska closed 11 months ago

matthuska commented 12 months ago

Sublineage information in covsonar 1 is stored in a local lineage flat file rather than the database itself as in covsonar 2. This means that the user has to remember to run the update-lineage-info command regularly in order to keep this information up-to-date.

It might be helpful to always update the lineage information when a user does a sublineage query, so that there is no risk that they are using out-of-date information. Include a --no-update flag to allow users to skip this behavior, because it requires internet access and also takes a bit of extra time.

Discussed with @akifoss and she agrees that this should be done by default.