ソースを参照

first commit

master
LUYAO REN 5年前
コミット
12bab8fd46
5個のファイルの変更64行の追加0行の削除
  1. +0
    -0
      README.md
  2. +9
    -0
      inputs
  3. バイナリ
      tasks/.DS_Store
  4. +35
    -0
      tasks/depth.wdl
  5. +20
    -0
      workflow.wdl

+ 0
- 0
README.md ファイルの表示


+ 9
- 0
inputs ファイルの表示

@@ -0,0 +1,9 @@
{
"{{ project_name }}.depth.disk_size": "500",
"{{ project_name }}.chromosome": "{{ chromosome }}",
"{{ project_name }}.sample_name": "{{ sample_name }}",
"{{ project_name }}.depth.docker": "registry-vpc.cn-shanghai.aliyuncs.com/pgx-docker-registry/samtools:v1.3.1",
"{{ project_name }}.bam_index": "{{ bam_index }}",
"{{ project_name }}.bam": "{{ bam }}",
"{{ project_name }}.depth.cluster_config": "OnDemand bcs.es.c.8xlarge img-ubuntu-vpc"
}

バイナリ
tasks/.DS_Store ファイルの表示


+ 35
- 0
tasks/depth.wdl ファイルの表示

@@ -0,0 +1,35 @@
task depth {
File bam
File bam_index
String chromosome
String sample_name
String docker
String disk_size
String cluster_config

command <<<

set -o pipefail
set -e

/opt/conda/bin/samtools depth ${bam} -r ${chromosome} > ${sample_name}.depth.txt

>>>

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

output {
File depth = "${sample_name}.depth.txt"
}
}





+ 20
- 0
workflow.wdl ファイルの表示

@@ -0,0 +1,20 @@
import "./tasks/depth.wdl" as depth

workflow {{ project_name }} {

File bam
File bam_index
String chromosome
String sample_name

call depth.depth as depth {
input:
bam=bam,
bam_index=bam_index,
chromosome=chromosome,
sample_name=sample_name
}

}


読み込み中…
キャンセル
保存