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

how were the curated similarity cut-offs calculated? #101

Closed
x1e5c opened this issue Apr 10, 2020 · 3 comments
Closed

how were the curated similarity cut-offs calculated? #101

x1e5c opened this issue Apr 10, 2020 · 3 comments

Comments

@x1e5c
Copy link

x1e5c commented Apr 10, 2020

I found that every protein model in CARD has a curated similarity cut-off for determining AMR genes, my question is how was this cut-off calculated? is these a method we can calculate that ourselves?

@huynhw1
Copy link

huynhw1 commented May 4, 2020

Hey there @xiestcn!

The curated similarity cut-off are bit-scores that are calculated from BLAST alignments. We calculate the bit-scores by blasting the sequence either against CARD or NCBI. The bit-score that we get is assuming a perfect match. We set the bit-score just under this perfect value so that RGI can detect both perfect matches and strict matches. You can calculate the bit-score yourself using BLAST.

Thanks for asking, I hope I was able to answer your question.


William Huynh, CARD Curator-Developer

@x1e5c
Copy link
Author

x1e5c commented May 6, 2020

Hey there @xiestcn!

The curated similarity cut-off are bit-scores that are calculated from BLAST alignments. We calculate the bit-scores by blasting the sequence either against CARD or NCBI. The bit-score that we get is assuming a perfect match. We set the bit-score just under this perfect value so that RGI can detect both perfect matches and strict matches. You can calculate the bit-score yourself using BLAST.

Thanks for asking, I hope I was able to answer your question.

William Huynh, CARD Curator-Developer

Thanks for your reply!!!
I'm still a little confused. You said "set bit-score just under this perfect value", what's the rule/formula for setting the bit-score. For instance, for protein CblA-1(model_id: 2), it's pass_bit_score in CARD is 575. and the self-BLAST bit_score is 616, how is the pass_bit-score set? I could not find the pattern when I inspected relationship between pass_bit_score and self-BLAST bit_score.

@huynhw1
Copy link

huynhw1 commented May 6, 2020

Hey @xiestcn !

The bit-score input are estimates based on a self-blast and other most similar models.

Thank you.


William Huynh, CARD Curator-Developer

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

3 participants