Skip to content

add error for duplicate taxid in build custom db#100

Merged
kdcurry merged 1 commit intomasterfrom
custom-db-name-duplication
Dec 4, 2025
Merged

add error for duplicate taxid in build custom db#100
kdcurry merged 1 commit intomasterfrom
custom-db-name-duplication

Conversation

@kdcurry
Copy link
Collaborator

@kdcurry kdcurry commented Dec 4, 2025

Prevent custom databases from being built with the same taxonomic id corresponding to two unique taxonomic lineages. Accomplish this by raising error message and having user clean up input taxonomy file.

Without this, current code will create an abundance file with two duplicate lines for the same tax_id containing different taxonomic lineages, and as a result sums to greater than 1.

In response to: #99

@kdcurry
Copy link
Collaborator Author

kdcurry commented Dec 4, 2025

Approved

@kdcurry kdcurry merged commit 1d6a57c into master Dec 4, 2025
0 of 2 checks passed
@kdcurry kdcurry deleted the custom-db-name-duplication branch December 4, 2025 15:44
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.

1 participant