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

[BUFIX] fail when passed fastas with duplicate sequence ids #555

Merged
merged 2 commits into from
Dec 25, 2024

Conversation

skothenhill-nv
Copy link
Collaborator

When NvFaidx was used on Fasta files containing duplicate sequence ids, which violates the FASTA spec, it would silently fail and use the last-seen sequence as an entry.

This PR fails by default and exposes a parameter to ignore sequence_ids and use integer indexing instead.

@skothenhill-nv
Copy link
Collaborator Author

/build-ci

@skothenhill-nv skothenhill-nv enabled auto-merge (squash) December 24, 2024 21:35
Copy link
Collaborator

@edawson edawson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, and appreciate the tests - approved.

@skothenhill-nv skothenhill-nv merged commit f8db8a2 into main Dec 25, 2024
4 checks passed
@skothenhill-nv skothenhill-nv deleted the hillst/nvfaidx-restrictions branch December 25, 2024 03:00
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.

3 participants