Skip to content
This repository was archived by the owner on Jan 27, 2020. It is now read-only.

Commit 36ddecf

Browse files
authored
Merge pull request #579 from arontommi/master
Bam files for manta no longer saved (but still channeled to strelka)
2 parents f4a2581 + bfda9da commit 36ddecf

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

somaticVC.nf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,11 @@ if (params.verbose) strelkaOutput = strelkaOutput.view {
532532
process RunManta {
533533
tag {idSampleTumor + "_vs_" + idSampleNormal}
534534

535-
publishDir directoryMap.manta, mode: 'link'
536-
535+
publishDir directoryMap.manta, mode: 'link',
536+
saveAs: {filename ->
537+
if (filename.endsWith(".bam") || filename.endsWith(".bai")) null
538+
else $filename
539+
}
537540
input:
538541
set idPatient, idSampleNormal, file(bamNormal), file(baiNormal), idSampleTumor, file(bamTumor), file(baiTumor) from bamsForManta
539542
set file(genomeFile), file(genomeIndex) from Channel.value([

0 commit comments

Comments
 (0)