Skip to content

Commit

Permalink
make editorconfig happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nvnieuwk committed Jan 13, 2025
1 parent 8037ce7 commit 0d2bb33
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions subworkflows/local/splitncigar/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ workflow SPLITNCIGAR {
[ new_meta, bam_, bai, intervals_ ]
}
.transpose(by:3)
.map { meta, bam_, bai, interval ->
.map { meta, bam_, bai, interval ->
def new_meta = meta + [id:"${meta.id}_${interval.baseName}", sample: meta.id]
[ new_meta, bam_, bai, interval ]
}
Expand All @@ -38,9 +38,9 @@ workflow SPLITNCIGAR {
ch_versions = ch_versions.mix(GATK4_SPLITNCIGARREADS.out.versions)

def bam_splitncigar_interval = bam_splitncigar
.map{ meta, bam_ ->
.map{ meta, bam_ ->
def new_meta = meta + [id:meta.sample] - meta.subMap('sample') - meta.subMap('interval_count')
[ groupKey(new_meta, meta.interval_count), bam_ ]
[ groupKey(new_meta, meta.interval_count), bam_ ]
}
.groupTuple()

Expand Down
2 changes: 1 addition & 1 deletion workflows/rnavar/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ workflow RNAVAR {

def haplotypecaller_out = GATK4_HAPLOTYPECALLER.out.vcf
.join(GATK4_HAPLOTYPECALLER.out.tbi, failOnMismatch:true, failOnDuplicate:true)
.map{ meta, vcf, tbi ->
.map{ meta, vcf, tbi ->
def new_meta = meta + [id:meta.sample] - meta.subMap('sample') - meta.subMap("interval_count")
[ groupKey(new_meta, meta.interval_count), vcf, tbi ]
}
Expand Down

0 comments on commit 0d2bb33

Please sign in to comment.