From: Benchmarking of computational error-correction methods for next-generation sequencing data
 | Metric name | Metric formula |
---|---|---|
a. | Precision | \( =\Big\{{\displaystyle \begin{array}{rr}\frac{\mathrm{TP}}{\mathrm{TP}+\mathrm{FP}+{\mathrm{FP}}_{\mathrm{INDEL}}},& \mathrm{TP}+\mathrm{FP}+{\mathrm{FP}}_{\mathrm{INDEL}}>0\\ {}0,& \mathrm{TP}+\mathrm{FP}+{\mathrm{FP}}_{\mathrm{INDEL}}=0\end{array}} \) |
b. | Sensitivity | \( =\Big\{{\displaystyle \begin{array}{rr}\frac{\mathrm{TP}}{\mathrm{TP}+\mathrm{FN}},& \mathrm{TP}+\mathrm{FN}>0\\ {}0,& \mathrm{TP}+\mathrm{FN}=0\end{array}} \) |
c. | Gain | \( =\Big\{{\displaystyle \begin{array}{rr}\frac{\mathrm{TP}-\left(\mathrm{FP}+{\mathrm{FP}}_{\mathrm{INDEL}}\right)}{\mathrm{TP}+\mathrm{FN}},& \mathrm{TP}+\mathrm{FN}>0\\ {}0,& \mathrm{TP}+\mathrm{FN}=0\end{array}} \) |
d. | Trim percent | \( =\Big\{{\displaystyle \begin{array}{rr}\frac{{\mathrm{TP}}_{\mathrm{TRIM}}+{\mathrm{FP}}_{\mathrm{TRIM}}}{\mathrm{TotalBases}},& \mathrm{TotalBases}>0\\ {}0,& \mathrm{TotalBases}=0\end{array}} \) |
e. | Trim efficiency | \( =\Big\{{\displaystyle \begin{array}{rr}\frac{{\mathrm{TP}}_{\mathrm{TRIM}}}{{\mathrm{TP}}_{\mathrm{TRIM}}+F{P}_{\mathrm{TRIM}}},& {\mathrm{TP}}_{\mathrm{TRIM}}+{\mathrm{FP}}_{\mathrm{TRIM}}>0\\ {}0,& {\mathrm{TP}}_{\mathrm{TRIM}}+{\mathrm{FB}}_{\mathrm{TRIM}}=0\end{array}} \) |