INNER CODE UNIT · C++

qual_score

soedinglab/plass · lib/flash/combine_reads.cpp:305

            float qual_score = mismatch_qual_total / score_len;
            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;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…