Skip to content

Commit 32d1dab

Browse files
authored
Merge pull request #30 from WEHI-ResearchComputing/29-rcopynum-is-failing-when-more-than-1-parent
fix RCopynum bug with multiple parents
2 parents 6634199 + 1e4c9a0 commit 32d1dab

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

main.nf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,8 @@ workflow {
176176
.unique()
177177
.combine(merged_ch,by:0)
178178
.map{row -> if (row[0]) tuple(row[1],row[0],row[2],row[3],row[4])}
179-
.join(bamlist_ch.map{gid,filepath ->
180-
def fileLines = filepath.readLines()
181-
def fileContents = fileLines.join(' ')
182-
return tuple(gid, fileContents)
183-
})
184179
.combine(bam_ch.bamnodup,by:0)
185-
.groupTuple(by:[0,1,2,3,4,5])
180+
.groupTuple(by:[0,1,2,3,4])
186181
.ifEmpty {
187182
error("""
188183
Input to CopyNum Analysis is empty.

modules/stvariant.nf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ process RCopyNum {
106106

107107
tuple val(groupId),val(parentId),path(refpath),val(bsref),
108108
path(mergedparent),
109-
val(bamfilenames),
110109
path(bams),
111110
val(bins),path(script)
112111

0 commit comments

Comments
 (0)