Skip to content

Commit 2f8597d

Browse files
committed
Fix duplicate input file names in zerone - close #5
1 parent e667aa2 commit 2f8597d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

chipseq-pipeline.nf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,10 @@ controlBams
391391
[sampleId, bam, control, mark, view]
392392
}
393393
.groupTuple(by:[0,3,4], sort: {it.baseName})
394+
.map{
395+
it[2] = it[2].unique()
396+
it
397+
}
394398
.set {bamsZerone}
395399

396400
def globalFragmentLength = params.fragmentLength ?: defaults.fragmentLength

0 commit comments

Comments
 (0)