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

Remove deduplication on strain #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

victorlin
Copy link
Member

@victorlin victorlin commented Aug 9, 2023

Description of proposed changes

On the phylogenetic workflow side, the metadata is processed with accession as the ID column, which should be unique. De-duplicating on strain (which is what was previously done) would only result in a loss of data.

Furthermore, sequences are already written by accession so there is no need for deduplication there.

Related issue(s)

Prompted by Slack discussion.

Testing

  • Checks pass, though they don't test the changes here
  • Partial ingest workflow runs locally without errors (excluding S3 upload failures)
  • Post-merge: next automated rebuild is successful

Sequences are written by accession, which should already be unique.
Metadata is deduplicated on strain, which may not be unique.
On the phylogenetic workflow side, the metadata is processed with
accession as the ID column, which should be unique. De-duplicating on
strain (which is what was previously done) would only result in a loss
of data.
@victorlin victorlin self-assigned this Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

1 participant