Giter VIP home page Giter VIP logo

Comments (3)

frederic-mahe avatar frederic-mahe commented on June 3, 2024

What do you think @torognes? the idea of using top_hits_only and --maxaccepts 0 is to be sure to find all best matches: if there are 250 target sequences 100% identical to my query sequence, I want to get all of them in the output.

Or did I misunderstand the process? If the target sequences are pre-sorted by k-mer profile similarity first, can I safely set --maxrejects 32 to implement the speed up process I described above?

from vsearch.

torognes avatar torognes commented on June 3, 2024

In this scenario I think it would make sense to set a reasonable maxrejects value (e.g. 32 or even 1000). I think this will be a good heuristic that would capture all the top hits in almost all cases.

from vsearch.

frederic-mahe avatar frederic-mahe commented on June 3, 2024

Yes, I agree with you.

As the initial similarity sorting is done on k-mer profiles, which is a proxy for the actual pairwise similarity, there is always a risk of missing the optimal hit. This is especially true when none of the target sequences is close to the query: the behavior of the k-mer profile pre-sorting gets less predictable for low similarities.

Nonetheless, it is probably safe to use --maxrejects 32 as you suggested.

from vsearch.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.