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

De-duplicate NCBI strain #79

Merged
merged 2 commits into from
Jul 23, 2024
Merged

De-duplicate NCBI strain #79

merged 2 commits into from
Jul 23, 2024

Conversation

joverlee521
Copy link
Contributor

@joverlee521 joverlee521 commented Jul 22, 2024

Description of proposed changes

De-duplicate records by strain name in both the Andersen lab ingest and the final join of NCBI and Andersen lab data.

This is necessary because we depend on the strain name to match metadata and sequences in the phylogenetic workflow.

Related issue(s)

Resolves #77

Checklist

  • Checks pass

Resolves #77

It is unclear whether the flagged records listed in the issue are true
duplicates or data entry errrors, but the workflow should deduplicate
by strain name anyways since we depend on the strain name to match
metadata and sequences in the phylogenetic workflow.
I noticed in working through #77
that we do not deduplicate the joined GenBank/Andersen lab SRA data.

We only append SRA data if they are not linked to any GenBank records,
but there's still a chance that they can share the same strain name.
We have not run into any duplicates yet, but adding deduplcation as a
precaution.
@joverlee521
Copy link
Contributor Author

Confirmed changes removes the 18 duplicate strain names flagged in #77.
Since the de-duplication keeps the first seen record, the ones removed are the later records that were released on 2024-07-19.

@joverlee521
Copy link
Contributor Author

Merging before today's automated run

@joverlee521 joverlee521 merged commit c6a8fcf into master Jul 23, 2024
6 checks passed
@joverlee521 joverlee521 deleted the dedup-ncbi-strain branch July 23, 2024 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NCBI/Andersen-lab: duplicate strain names
1 participant