Thomas преди 4 години
родител
ревизия
cd95637479
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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);