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

Commit

Permalink
Merge pull request #579 from arontommi/master
Browse files Browse the repository at this point in the history
Bam files for manta no longer saved (but still channeled to strelka)
  • Loading branch information
maxulysse authored Apr 30, 2018
2 parents f4a2581 + bfda9da commit 36ddecf
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions somaticVC.nf
Original file line number Diff line number Diff line change
Expand Up @@ -532,8 +532,11 @@ if (params.verbose) strelkaOutput = strelkaOutput.view {
process RunManta {
tag {idSampleTumor + "_vs_" + idSampleNormal}

publishDir directoryMap.manta, mode: 'link'

publishDir directoryMap.manta, mode: 'link',
saveAs: {filename ->
if (filename.endsWith(".bam") || filename.endsWith(".bai")) null
else $filename
}
input:
set idPatient, idSampleNormal, file(bamNormal), file(baiNormal), idSampleTumor, file(bamTumor), file(baiTumor) from bamsForManta
set file(genomeFile), file(genomeIndex) from Channel.value([
Expand Down

0 comments on commit 36ddecf

Please sign in to comment.