Explorar el Código

ignoreUnmated

Thomas hace 4 años
padre
commit
cd95637479
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      index.ts

+ 4 - 0
index.ts

@@ -92,6 +92,10 @@ const asyncBwaMem = (
         retObj = {...retObj, discordantFile}
       }
 
+      if (!isPairedEnd) {
+        samblasterCmd = [...samblasterCmd, '--ignoreUnmated']
+      }
+
       if(options?.output_splitted) {
         const splitterFile   = path.join(outputDir, `bwa_mem_splitters_on_${refName}.sam`)
         console.log('Splitted reads file path: ', splitterFile);