Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate list of new titers references on each new ingest #163

Open
huddlej opened this issue Sep 23, 2024 · 1 comment
Open

Generate list of new titers references on each new ingest #163

huddlej opened this issue Sep 23, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@huddlej
Copy link
Contributor

huddlej commented Sep 23, 2024

Description

Incoming titer measurements often include new reference strains that we need to include in our reports. It is easy to miss these by manual inspection each week and would be more effective to generate a list of these new references as they appear and somehow report these as part of the ingest.

@huddlej huddlej added the enhancement New feature or request label Sep 23, 2024
@joverlee521
Copy link
Contributor

I'm not sure how to easily integrate this into fauna because the tdb/upload does an upsert using a generated index, not the reference strains.

Maybe this can be a new rule in the seasonal flu upload workflow. We could create a list of reference strains and their inclusion date, something like:

csvtk sort -t -k inclusion_date data/titers.tsv \
    | csvtk cut -t -f serum_strain,inclusion_date \
    | csvtk uniq -t -f serum_strain > reference_strains.tsv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants