@@ -0,0 +1,10 @@ | |||
{ | |||
"{{ project_name }}.cluster_config": "OnDemand ecs.sn1ne.2xlarge img-ubuntu-vpc", | |||
"{{ project_name }}.file1": "{{ file1 }}", | |||
"{{ project_name }}.file2": "{{ file2 }}", | |||
"{{ project_name }}.file3": "{{ file3 }}", | |||
"{{ project_name }}.file4": "{{ file4 }}", | |||
"{{ project_name }}.name": "{{ name }}", | |||
"{{ project_name }}.docker": "registry.cn-shanghai.aliyuncs.com/pgx-docker-registry/fastqc:v0.11.5", | |||
"{{ project_name }}.disk_size": "{{ disk_size }}" | |||
} |
@@ -0,0 +1,24 @@ | |||
task zcat { | |||
File file1 | |||
File file2 | |||
File file3 | |||
File file4 | |||
String name | |||
String cluster_config | |||
String disk_size | |||
String docker | |||
command <<< | |||
cat ${file1} ${file2} ${file3} ${file4} > ${name}.fq.gz | |||
>>> | |||
runtime { | |||
docker: docker | |||
cluster: cluster_config | |||
systemDisk: "cloud_ssd 40" | |||
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" | |||
} | |||
output { | |||
File gz = "${name}.fq.gz" | |||
} | |||
} |
@@ -0,0 +1,24 @@ | |||
import "./tasks/zcat.wdl" as zcat | |||
workflow {{ project_name }} { | |||
File file1 | |||
File file2 | |||
File file3 | |||
File file4 | |||
String name | |||
String cluster_config | |||
String disk_size | |||
String docker | |||
call zcat.zcat as zcat { | |||
input: | |||
file1=file1, | |||
file2=file2, | |||
file3=file3, | |||
file4=file4, | |||
name=name, | |||
disk_size=disk_size, | |||
docker=docker, | |||
cluster_config=cluster_config | |||
} | |||
} |