瀏覽代碼

first commit

master
LUYAO REN 4 年之前
當前提交
ca97dc0973
共有 4 個檔案被更改,包括 47 行新增0 行删除
  1. +6
    -0
      inputs
  2. 二進制
      tasks/.DS_Store
  3. +24
    -0
      tasks/untar.wdl
  4. +17
    -0
      workflow.wdl

+ 6
- 0
inputs 查看文件

@@ -0,0 +1,6 @@
{
"{{ project_name }}.cluster_config": "OnDemand bcs.a2.large img-ubuntu-vpc",
"{{ project_name }}.tar_file": "{{ tar_file }}",
"{{ project_name }}.disk_size": "200",
"{{ project_name }}.docker": "registry-vpc.cn-shanghai.aliyuncs.com/pgx-docker-registry/high_confidence_call_manuscript:v1.4"
}

二進制
tasks/.DS_Store 查看文件


+ 24
- 0
tasks/untar.wdl 查看文件

@@ -0,0 +1,24 @@
task untar {

File tar_file
String docker
String cluster_config
String disk_size


command <<<
nt=$(nproc)
tar -zxvf ${tar_file}
>>>

runtime {
docker:docker
cluster: cluster_config
systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
}

output {
Array[File] fastq_file = glob("*.fastq.gz")
}
}

+ 17
- 0
workflow.wdl 查看文件

@@ -0,0 +1,17 @@
import "./tasks/untar.wdl" as untar

workflow {{ project_name }} {

File tar_file
String docker
String cluster_config
String disk_size

call untar.untar as untar {
input:
tar_file=tar_file,
docker=docker,
cluster_config=cluster_config,
disk_size=disk_size
}
}

Loading…
取消
儲存