-
Notifications
You must be signed in to change notification settings - Fork 80
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
"sourmash sketch translate -p k=7,dayhoff" does not respect k in sourmash v4 #1383
Comments
Ah! The ksize in the signature is a multiple of 3 of the ksize specified. What I don't understand then (from having read the v4 migration guide and the sketch documentation): I thought the protein-hashing commands would hash, well, proteins, not nucleotide kmers. I'm sure I'm missing something here, so thank you for your help! |
Hm. And |
@phiweger If you run If I recall correctly, the decision was made to enable amino-acid sizes for all command-line and python interfaces, but to keep the k=k*3 representation of kmer size within the signature files themselves, in order to maintain compatibility with existing signatures. |
also, will link to relevant issues in a bit, just for posterity! |
yes @bluegenes |
A few historical notes -
These are some good FAQ entries so I'll put them there, and I'll keep this issue open 'til we update the docs appropriately! |
I want to sketch a genome to get 7-mers of amino-acids (ie peptides), so I give the new CLI a spin:
However, looking into the resulting signature, I suspect that the params are not applied:
... "signatures":[{"num":0,"ksize":21,"seed":42,"max_hash" ...
The text was updated successfully, but these errors were encountered: