Pārlūkot izejas kodu

first commit

master
YaqingLiu pirms 4 gadiem
revīzija
02c69793aa
7 mainītis faili ar 61 papildinājumiem un 0 dzēšanām
  1. Binārs
      .DS_Store
  2. +0
    -0
      README.md
  3. +6
    -0
      defaults
  4. +9
    -0
      inputs
  5. Binārs
      tasks/.DS_Store
  6. +23
    -0
      tasks/depth.wdl
  7. +23
    -0
      workflow.wdl

Binārs
.DS_Store Parādīt failu


+ 0
- 0
README.md Parādīt failu


+ 6
- 0
defaults Parādīt failu

@@ -0,0 +1,6 @@
{
"regions": "oss://pgx-reference-data/reference/wes_bedfiles/agilent_v6/SureSelect_Human_All_Exon_V6_r2.bed",
"disk_size": "100",
"cluster_config": "OnDemand bcs.a2.large img-ubuntu-vpc",
"docker": "registry-vpc.cn-shanghai.aliyuncs.com/pgx-docker-registry/samtools:v1.3.1"
}

+ 9
- 0
inputs Parādīt failu

@@ -0,0 +1,9 @@
{
"{{ project_name }}.sample_id": "{{ sample_id }}",
"{{ project_name }}.bam": "{{ bam }}",
"{{ project_name }}.bam_idx": "{{ bam_idx }}",
"{{ project_name }}.regions": "{{ regions }}",
"{{ project_name }}.disk_size": "{{ disk_size }}",
"{{ project_name }}.docker": "{{ docker }}",
"{{ project_name }}.cluster_config": "{{ cluster_config }}"
}

Binārs
tasks/.DS_Store Parādīt failu


+ 23
- 0
tasks/depth.wdl Parādīt failu

@@ -0,0 +1,23 @@
task depth {
File bam
File bam_idx
String sample_id
String regions
String docker
String cluster_config
String disk_size
command <<<
/opt/conda/bin/samtools depth -b ${regions} ${bam} > ${sample_id}.depth
>>>

runtime {
docker:docker
cluster: cluster_config
systemDisk: "cloud_ssd 40"
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
}
output {
File bam_depth = "${sample_id}.depth"
}
}

+ 23
- 0
workflow.wdl Parādīt failu

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


workflow {{ project_name }} {
File bam
File bam_idx
String sample_id
File regions
String docker
String cluster_config
String disk_size

call depth.depth as depth {
input:
bam=bam,
bam_idx=bam_idx,
sample_id=sample_id,
regions=regions,
docker=docker,
cluster_config=cluster_config,
disk_size=disk_size
}
}

Notiek ielāde…
Atcelt
Saglabāt