Jelajahi Sumber

ignoreUnmated

Thomas 3 tahun lalu
induk
melakukan
cd95637479
1 mengubah file dengan 4 tambahan dan 0 penghapusan
  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);