Browse Source

输出目录修正

master
huangyechao 6 years ago
parent
commit
788a82b3e6
3 changed files with 6 additions and 8 deletions
  1. +0
    -1
      inputs
  2. +1
    -2
      tasks/qualimap.wdl
  3. +5
    -5
      workflow.wdl

+ 0
- 1
inputs View File

@@ -1,5 +1,4 @@
{
"{{ project_name }}.qualimap.out_dir": "String (optional, default = \"./\")",
"{{ project_name }}.cluster_config": "OnDemand ecs.sn1ne.4xlarge img-ubuntu-vpc",
"{{ project_name }}.bam": "{{ bam }}",
"{{ project_name }}.bed": "{{ bed }}",

+ 1
- 2
tasks/qualimap.wdl View File

@@ -2,7 +2,6 @@ task qualimap {
File bam
File bed
String docker
String out_dir = "./"
String cluster_config
String disk_size

@@ -10,7 +9,7 @@ task qualimap {
set -o pipefail
set -e
nt=$(nproc)
/opt/qualimap/qualimap bamqc -bam ${bam} -gff ${bed} -nt $nt -outdir ${out_dir} --java-mem-size=16G
/opt/qualimap/qualimap bamqc -bam ${bam} -gff ${bed} -nt $nt -outdir ./ --java-mem-size=16G
>>>

runtime {

+ 5
- 5
workflow.wdl View File

@@ -9,10 +9,10 @@ workflow {{ project_name }} {

call qualimap.qualimap as qualimap {
input:
bam=bam,
bed=bed,
docker=docker,
disk_size=disk_size,
cluster_config=cluster_config
bam=bam,
bed=bed,
docker=docker,
disk_size=disk_size,
cluster_config=cluster_config
}
}

Loading…
Cancel
Save