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

Allow all ksizes for protein signature calculation if input is protein #575

Closed
bluegenes opened this issue Dec 13, 2018 · 1 comment
Closed

Comments

@bluegenes
Copy link
Contributor

https://github.com/dib-lab/sourmash/blob/4aab62f65fb08044e9a43ec49331b65be8b5ae15/sourmash/commands.py#L161

Here, we check ksize and only allow ksize divisible by 3 when computing protein signatures, which is necessary when we need to translate nucleotide seq to protein seq, but not if the input is protein (--input-is-protein flag is set).

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

No branches or pull requests

2 participants