• Mikaël Salson's avatar
    segment.{h,cpp}: Make sure number of matches is > 0 · a42f8c39
    Mikaël Salson authored
    When computing whether the alignment has too many differences
    we should not allow having a negative number of mismatches.
    So we have to make sure that length >= BOTTOM_TRIANGLE_SHIFT.
    But this is not enough: having only 1 match in 20 nucleotides
    doesn't make sense. Therefore we may allow a given fraction
    of the sequences to be matches just by chance.
    We could have used probabilities but this should be a rare
    case. I'm not sure that's worth it.
    a42f8c39
Name
Last commit
Last update
..
Makefile Loading commit data...
affectanalyser.cpp Loading commit data...
affectanalyser.h Loading commit data...
automaton.h Loading commit data...
automaton.hpp Loading commit data...
bam.cpp Loading commit data...
bam.h Loading commit data...
bioreader.cpp Loading commit data...
bioreader.hpp Loading commit data...
check-compiler.h Loading commit data...
cluster-junctions.cpp Loading commit data...
cluster-junctions.h Loading commit data...
compare-all.cpp Loading commit data...
compare-all.h Loading commit data...
dynprog.cpp Loading commit data...
dynprog.h Loading commit data...
fasta.cpp Loading commit data...
fasta.h Loading commit data...
filter.cpp Loading commit data...
filter.h Loading commit data...
germline.cpp Loading commit data...
germline.h Loading commit data...
json.cpp Loading commit data...
json.h Loading commit data...
kmeraffect.cpp Loading commit data...
kmeraffect.h Loading commit data...
kmerstore.cpp Loading commit data...
kmerstore.h Loading commit data...
kmerstorefactory.hpp Loading commit data...
labels.cpp Loading commit data...
labels.h Loading commit data...
lazy_msa.cpp Loading commit data...
lazy_msa.h Loading commit data...
list_utils.h Loading commit data...
mkdir.cpp Loading commit data...
mkdir.h Loading commit data...
read_chooser.cpp Loading commit data...
read_chooser.h Loading commit data...
read_score.cpp Loading commit data...
read_score.h Loading commit data...
read_storage.cpp Loading commit data...
read_storage.h Loading commit data...
representative.cpp Loading commit data...
representative.h Loading commit data...
segment.cpp Loading commit data...
segment.h Loading commit data...
sequenceSampler.cpp Loading commit data...
sequenceSampler.h Loading commit data...
similarityMatrix.cpp Loading commit data...
similarityMatrix.h Loading commit data...
stats.cpp Loading commit data...
stats.h Loading commit data...
tools.cpp Loading commit data...
tools.h Loading commit data...
windowExtractor.cpp Loading commit data...
windowExtractor.h Loading commit data...
windows.cpp Loading commit data...
windows.h Loading commit data...