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

Add syncmers at ends of reads #452

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Add syncmers at ends of reads #452

wants to merge 4 commits into from

Commits on Oct 7, 2024

  1. Add syncmers at the ends of reads as seeds without auxiliary hash

    Increases the number of seeds per read by 2*w_min seeds
    ksahlin authored and marcelm committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    cb5c819 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ee4150 View commit details
    Browse the repository at this point in the history
  3. Ensure unmappable.41 really is unmappable

    Randstrobes that have no downstream partner at least w_min syncmers away get
    their second hash set to 0, which means in the case of multi-context seeds
    that the primary/main hash is also zero (because it is the smaller of the
    two).
    
    When this is done both for the reference and for queries, we get spurious
    hits for all randstrobes towards the ends of queries (they get mapped to the
    end of the reference).
    
    Using the hash of the primary syncmer also as hash for the second syncmer
    gets rid of the problem.
    marcelm committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    179e2a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    970c6bf View commit details
    Browse the repository at this point in the history