Explorar el Código

n starts + qual

Thomas hace 2 años
padre
commit
4a7af4fc47
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/lib.rs

+ 1 - 1
src/lib.rs

@@ -109,7 +109,7 @@ pub fn get_n_start(
         let record = read.context(format!("eRR"))?;
         let rstart = record.pos() as i32;
         if rstart >= start && rstart < stop {
-            if record.qual() > 40 {
+            if record.mapq() > 40 {
                 n_start += 1;
             }
             // start_positions.push(rstart);