|
|
@@ -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);
|