Browse Source

first commit

master
LUYAO REN 4 years ago
commit
71f8ad8eb0
4 changed files with 47 additions and 0 deletions
  1. +7
    -0
      inputs
  2. BIN
      tasks/.DS_Store
  3. +22
    -0
      tasks/q30.wdl
  4. +18
    -0
      workflow.wdl

+ 7
- 0
inputs View File

@@ -0,0 +1,7 @@
{
"{{ project_name }}.disk_size": "100",
"{{ project_name }}.docker": "registry-vpc.cn-shanghai.aliyuncs.com/pgx-docker-registry/high_confidence_call_manuscript:v1.4",
"{{ project_name }}.fastq": "{{ fastq }}",
"{{ project_name }}.cluster_config": "OnDemand bcs.ps.g.xlarge img-ubuntu-vpc",
"{{ project_name }}.sample": "{{ sample }}"
}

BIN
tasks/.DS_Store View File


+ 22
- 0
tasks/q30.wdl View File

@@ -0,0 +1,22 @@
task q30 {
File fastq
String sample
String docker
String cluster_config
String disk_size
command <<<
python /opt/q30.py ${fastq} > ${sample}.q30.txt

>>>

runtime {
docker:docker
cluster: cluster_config
systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
}
output {
File result = "${sample}.q30.txt"
}
}

+ 18
- 0
workflow.wdl View File

@@ -0,0 +1,18 @@
import "./tasks/q30.wdl" as q30

workflow {{ project_name }} {
File fastq
String sample
String docker
String cluster_config
String disk_size

call q30.q30 as q30 {
input:
fastq=fastq,
sample=sample,
docker=docker,
cluster_config=cluster_config,
disk_size=disk_size
}
}

Loading…
Cancel
Save