INNER CODE UNIT · C++
mismatch_density
soedinglab/plass · lib/flash/combine_reads.cpp:306
float mismatch_density = num_mismatches / score_len;
if (mismatch_density <= best_mismatch_density &&
(mismatch_density < best_mismatch_density ||
qual_score < best_qual_score))
{
best_qual_score = qual_score;
best_mismatch_density = mismatch_density;
best_position = i;
best_was_outie = doing_outie;
}
}
}
if (allow_outies) {
const struct read *tmp = read_1;
read_1 = read_2;
read_2 = tmp;