Reads missing from alignment

Issue #38 resolved
Jakob Nissen created an issue

Dear Philip

When aligning reads to a short reference, I saw that even small differences between the reference and the read caused a large drop in depth around the area of the divergence. This worries me, because the divergence is much lower that what I would expect would cause such a drop. Specifically, nucleotide identity is still above 85%, and there are stretches of more than 20 bases with 100% identity. BWA MEM finds the matches.

I’ve made a minimal working example, attached. Simply extract the archive and run the shell script.

Comments (10)

  1. Jakob Nissen reporter

    It seems like it works when setting -mrs 0.1. I don’t understand why that is, could it perhaps be better documented what -mrs X does?

    • It’s not that the alignment score should be at least X * length(read), since the alignment score for this read pair is around 150 for a 250 bp read.
    • It’s not some threshold that sets whether the template should be included, since, in my original non-minimal example, the template was included, but some reads just didn’t map to it.

  2. Jakob Nissen reporter

    I was using KMA-1.3.10b. It’s working for me as well with v 1.3.19. Closing this issue 🙂

  3. Jakob Nissen reporter
    • changed status to open

    Unfortunately, it turned out it only solved the problem for the particular read in the minimal working example. Picking another read, it's still the same.

  4. Jakob Nissen reporter

    @ptlcc I have updated the minimal example, such that it now also fails for the newest version of KMA

  5. ptlcc

    Hi Jakob

    I have found the bug, but it will take a little more to fix than usual. Fingers crossed en of this week, start of next at the latest.

    Best,
    Philip

  6. Log in to comment