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

Ignore Underscores within Brackets of Plasmid FASTA Record ID #159

Merged
merged 7 commits into from
Oct 26, 2022

Conversation

emarinier
Copy link
Member

Fixes #158

Solution is provided by this StackOverflow post: https://stackoverflow.com/a/26634150

@emarinier emarinier changed the title Ignoring underscores within brackets. Ignore Underscores within Brackets of Plasmid FASTA Record ID Oct 25, 2022
@emarinier emarinier self-assigned this Oct 25, 2022
@emarinier emarinier added the bug Something isn't working label Oct 25, 2022
@emarinier emarinier requested a review from apetkau October 25, 2022 17:32
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

Thanks @emarinier for the quick fix 😄

Could you add a test case in https://github.com/phac-nml/staramr/blob/development/staramr/tests/integration/detection/test_AMRDetectionPlasmid.py ? You can use the same file from this github issue.

@apetkau
Copy link
Member

apetkau commented Oct 25, 2022

Also, could you add a message to CHANGELOG.md about this (make a new section for version 0.9.1).

@emarinier
Copy link
Member Author

Okay, it should be good to go now.

@apetkau apetkau self-requested a review October 26, 2022 19:27
Copy link
Member

@apetkau apetkau left a comment

Choose a reason for hiding this comment

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

Okay, thanks so much Eric. This is perfect.

I also checked what PlasmidFinder does in this case, and here is the results:

image

So, it's the same as what we're doing. So it all looks good.

@apetkau apetkau merged commit 6e8ded8 into development Oct 26, 2022
@apetkau apetkau deleted the fix/parsing branch October 26, 2022 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Some plasmidfinder blast results causing staramr to crash
2 participants