File tree Expand file tree Collapse file tree 2 files changed +7
-15
lines changed
Expand file tree Collapse file tree 2 files changed +7
-15
lines changed Original file line number Diff line number Diff line change @@ -79,24 +79,16 @@ process manta {
7979 module ' bioinfo-tools'
8080 module " $params . modules . manta "
8181
82+ errorStrategy { task. exitStatus == 143 ? ' retry' : ' terminate' }
83+ time { params. long_job * 2 ** task. attempt }
84+ maxRetries 3
85+ queue ' core'
86+ cpus 4
87+
8288 when: ' manta' in workflowSteps
8389
8490 script:
8591 """
86- # Manta follows symlinks and expects the index to be with the original
87- # file, so we copy it, and then clean up at script EXIT with a trap.
88- # TODO, this is fixed in manta v0.29.5, https://github.com/Illumina/manta/issues/32
89- DIR=`pwd`
90- function cleanup() {
91- echo "CLEAN UP"
92- cd \$ DIR
93- if [ -f bamfile ]; then
94- rm bamfile
95- fi
96- }
97- trap cleanup EXIT
98- cp bamfile_tmp bamfile
99-
10092 configManta.py --normalBam bamfile --referenceFasta $params . ref_fasta --runDir testRun
10193 cd testRun
10294 ./runWorkflow.py -m local -j $params . threads
Original file line number Diff line number Diff line change 66 // Modules and their versions on the HPC-system
77 modules {
88 samtools = ' samtools/0.1.19'
9- manta = ' manta/0.27.1 '
9+ manta = ' manta/1.0.0 '
1010 fermikit = ' fermikit/r178'
1111 vcftools = " vcftools/0.1.14"
1212 tabix = " tabix/0.2.6"
You can’t perform that action at this time.
0 commit comments