Skip to content

Almost perfect secondary matches not found #598

Description

@tprodanov

Good afternoon,

I encountered a problem (present in the latest commit) where almost perfect secondary alignments don't get reported no matter the -S and -M values.

Specifically, using the following flies:
haplotypes.fa.gz
read.fq.gz

strobealign --no-progress -M 10000 -N 10000 -S 0.1 -f 0.0001 -k 15 --eqx -r 150 -t 8 \
    db/loci/PARVB/haplotypes.fa.gz read.fq.gz

produces 116 alignments but I know for sure that there should be more. For example, the given read aligns to haplotypes HG02451.1 or NA19240.1 with just a single mismatch, so I hoped they would be reported. I tried different values of -M, -N, -S and -f but could not make it work. Could you please look into it and perhaps provide a flag to disable whatever heuristics that stops the read alignment when a perfect alignment is already found?

Best wishes,
Timofey

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions