-
Notifications
You must be signed in to change notification settings - Fork 34
Update h3n2/titer-strain-map #309
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
Draft
joverlee521
wants to merge
1
commit into
master
Choose a base branch
from
fix-h3n2-titers
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,31 @@ | ||
| TITER_STRAIN CURATED_STRAIN | ||
| A/Camb/925256/2020 A/Cambodia/925256/2020 | ||
| A/Eng/538/2018 A/England/538/2018 | ||
| A/Greecd/4/2017 A/Greece/4/2017 | ||
| A/Hk/5738/2014 A/HongKong/5738/2014 | ||
| A/Hk/656/2018 A/HongKong/656/2018 | ||
| A/Hk/675/2018 A/HongKong/675/2018 | ||
| A/Lyon/CHU/R1811667/2018 A/Lyon/CHU-R1811667/2018 | ||
| A/Lyon/CHU/R181282/2018 A/Lyon/CHU-R181282/2018 | ||
| A/Lyon/CHU/R1813393/2018 A/Lyon/CHU-R1813393/2018 | ||
| A/Lyon/CHU/R190259/2019 A/Lyon/CHU-R190259/2019 | ||
| A/Lyon/CHU/R190377/2019 A/Lyon/CHU-R190377/2019 | ||
| A/Lyon/CHU/R1914685/2019 A/Lyon/CHU-R1914685/2019 | ||
| A/Lyon/CHU/R1915450/2019 A/Lyon/CHU-R1915450/2019 | ||
| A/Lyon/EHPAD/108/2019 A/Lyon/EHPAD-108/2019 | ||
| A/Nor/2516/2018 A/Norway/2516/2018 | ||
| A/Nor/2620/2018 A/Norway/2620/2018 | ||
| A/Nor/4436/2016 A/Norway/4436/2016 | ||
| A/Norway/3806-egg A/Norway/3806/2016-egg | ||
| A/Singapore/INFIMH-16-001/2016 A/Singapore/INFIMH-16-0019/2016 | ||
| A/Singapore/INFIMH-16-001/2016-egg A/Singapore/INFIMH-16-0019/2016-egg | ||
| A/Singapore/Infimh-16-0019/2016 A/Singapore/INFIMH-16-0019/2016 | ||
| A/Singapore/Infimh-16-0019/2016-egg A/Singapore/INFIMH-16-0019/2016-egg | ||
| A/Singapore/Infimh-16-0019/2016-egg A/Singapore/INFIMH-16-0019/2016-egg | ||
| A/StEtienne/1912/2018 A/Saint-Etienne/1912/2018 | ||
| A/StEtienne/1998/2018 A/Saint-Etienne/1998/2018 | ||
| A/StEtienne/2539/2020 A/Saint-Etienne/2539/2020 | ||
| A/Stock/6/2014 A/Stockholm/6/2014 | ||
| A/Switz/8060/2017-egg A/Switzerland/8060/2017-egg | ||
| A/Switzerlandz/8060/2017-egg A/Switzerland/8060/2017-egg | ||
|
|
||
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you use a pattern match (like #306)
/Hk/→HongKongyou'd capture more occurrences of such misspelled titers!You'd probably want some logging / checking to see what the actual changes were here & how many were found in the sequence data etc
Same for
/Switz/(n=444),/Switzerlandz/(n=2184),/StEtienne/(n=972),/Nor/(n=628),Eng(n=2818),Greecd(n=32),Camb(n=68)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's fair! I'm hesitant about something as general as
/Hk/but I'll look into the pattern replacements.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, and it's unclear how you ever really know (or how Tal originally knew for these specific strains).
The pattern matching is applied only after a few other approaches have failed, and the code (below) means it'll only be applied if it results in a sequence match. But still, that doesn't mean it's right
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I should have paid closer attention to the logs after these changes...There were 14 titer strains removed from
missing-titer-strains.tsv, but 11 titer strains were added! Will have to dig into each specific strain to check what the matching sequence strain would be after our latest ingest curations.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we should add verbose logging for each (titer) strain name we change - it's encoded in the
Matchobjects so should be easy. It's another TSV, but that seems worth it...