Closed mahdiheydari closed 8 years ago
1) Packed four parameters into a single class AlignmentMetrics. This greatly facilitates adding other metrics later on and prevents an explosion of performance counters in the other alignment classes 2) findByMEM was always false. This is fixed. 3) The number of substitutions was incorrectly computed. The correct formula is (read.length() - score)/2 because per subsitution, the score drops by 2 points (1 (match) -> -1 (mismatch)).
Please revise.
This modifications enables Brownie to display number of changes in the entire data set to correct the reads. Indels are ignored and only substitutions took into consideration. It also shows percentages of reads which have been corrected and the number of reads which are corrected by EssaMEM.