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

Implement a correct reverse complement in terms of strings #14

Merged
merged 1 commit into from
Oct 11, 2018

Conversation

adamnovak
Copy link
Member

Our current reverse-complement forgets to reserve space for the terminating null, leading to undefined behavior.

I've re-implemented it in terms of STL strings, and dropped the C-style version, so it should be hard to have this problem again.

@adamnovak adamnovak merged commit a54e103 into vgteam:master Oct 11, 2018
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.

None yet

1 participant