Skip to content

Commit

Permalink
Bugfix: Fixes GRIDSS slurm killing
Browse files Browse the repository at this point in the history
  • Loading branch information
tanubrata committed Nov 27, 2023
1 parent 0a44166 commit 457d351
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions modules/local/gridss/gridss/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ process GRIDSS_GRIDSS {
"""
${bwa}
gridss \\
gridss \\
--output ${prefix}.vcf.gz \\
--reference ${fasta} \\
--threads ${task.cpus} \\
$assembly_bam \\
$blacklist \\
--picardoptions VALIDATION_STRINGENCY=LENIENT \\
--jvmheap ${task.memory.toGiga() - 1}g \\
--otherjvmheap ${task.memory.toGiga() - 1}g \\
--jvmheap 31g \\
--otherjvmheap 31g \\
${normalbam} \\
${tumorbam}
Expand Down
5 changes: 3 additions & 2 deletions workflows/nfjabba.nf
Original file line number Diff line number Diff line change
Expand Up @@ -1243,8 +1243,9 @@ workflow NFJABBA {

// A conditional check to see if for some reason ASCAT failed and ploidy is empty
ploidy = ploidy.ifEmpty {
[ input_sample[0][0], ploidy_jab ]
}
input_sample.map { tuple -> [tuple[0], ploidy_jab] }
}

ploidy_jabba = ploidy // If ASCAT is used and it is not empty, then use the value from ASCAT

} else {
Expand Down

0 comments on commit 457d351

Please sign in to comment.