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

Option to BLAST one protein sequence against another #5

Closed
hoangthienan95 opened this issue May 25, 2022 · 3 comments
Closed

Option to BLAST one protein sequence against another #5

hoangthienan95 opened this issue May 25, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@hoangthienan95
Copy link

Thank you for the very cool and important package! This will save me hours and hours of computational work

I was wondering if you can add an option to BLAST two protein sequences against each other and get their e-value etc. I have a list of proteins that I want to compare to each other. If you'd prefer to point me to how I can make this feature and do a pull request, I'm more than happy to do so too!

@lauraluebbert
Copy link
Member

lauraluebbert commented May 26, 2022

Currently, gget blast runs the BLAST on the NCBI BLAST server. This, unfortunately, limits it to the databases available on the server (if anybody has any ideas on how to circumvent this, I would love to hear them).
However, NCBI has its own command-line program called BLAST+, which runs a BLAST locally and allows the user to align to custom databases. When building gget blast, I decided to use the server instead of BLAST+ because I did not want to require the user to download a database and thereby limit the alignment to only the passed databases. However, for your case, BLAST+ might be the better option. I would love to hear about your experience with it if you give it a try.
One option for gget would be to build a "gget blast+" module that locally compiles the BLAST+ binary (similarly to what gget muscle does for Muscle v5). The question would be how to facilitate the database download/building of a custom database. Feel free to give it a try, I would be happy to help!

@lauraluebbert lauraluebbert added the enhancement New feature or request label Jun 13, 2022
@lauraluebbert
Copy link
Member

Hi, it took a while but this feature will be available in gget version 0.28.0 through gget diamond. Thank you again for your suggestion! :)

@hoangthienan95
Copy link
Author

Thanks so much for following up! This is awesome!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants