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

amino acid support #23

Open
jianshu93 opened this issue Jun 22, 2022 · 3 comments
Open

amino acid support #23

jianshu93 opened this issue Jun 22, 2022 · 3 comments

Comments

@jianshu93
Copy link

Hello COBS team,

Any possibilities to also support amino acid sequences (20 alphabets instead of 4 for DNA). I found this to be extremely useful for genome query/search.

Thanks,

Jianshu

@iqbal-lab
Copy link

Should already support amino acid sequences in the sense that it indexes free text. Pass in a .txt file of amino acids and see how you go?

@jianshu93
Copy link
Author

Thanks for quick response. I saw that fasta file in test folder is amino acid sequence. for example sample6.fasta. I will try now.

Thanks

Jianshu

@iqbal-lab
Copy link

Note that by default it tries to canonicalize kmers (taking kmer and reverse complement and choosing smaller). See this text from the README:

With the flag --no-canonicalize any letters or text can be indexed.

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