|
|
@@ -1,27 +1,27 @@ |
|
|
|
task BAMReadCount { |
|
|
|
import "./tasks/BAMReadCount.wdl" as BAMReadCount |
|
|
|
|
|
|
|
String sample_id |
|
|
|
workflow {{ project_name }} { |
|
|
|
File fa |
|
|
|
File fai |
|
|
|
File bed |
|
|
|
File bam |
|
|
|
File bai |
|
|
|
String sample_id |
|
|
|
String docker |
|
|
|
String cluster_config |
|
|
|
String disk_size |
|
|
|
|
|
|
|
|
|
|
|
command <<< |
|
|
|
bam-readcount -f ${reference} -l ${bedfile} ${bamfile} > ${sample_id}.readcount |
|
|
|
>>> |
|
|
|
|
|
|
|
runtime { |
|
|
|
docker: docker |
|
|
|
cluster: cluster_config |
|
|
|
systemDisk: "cloud_ssd 40" |
|
|
|
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" |
|
|
|
} |
|
|
|
|
|
|
|
output { |
|
|
|
File BAMReadCount = "${sample_id}.readcount" |
|
|
|
call BAMReadCount.BAMReadCount as BAMReadCount { |
|
|
|
input: |
|
|
|
fa = fa, |
|
|
|
fai = fai, |
|
|
|
bed = bed, |
|
|
|
bam = bam, |
|
|
|
bai = bai, |
|
|
|
docker = docker, |
|
|
|
disk_size = disk_size, |
|
|
|
cluster_config=cluster_config, |
|
|
|
sample_id=sample_id |
|
|
|
} |
|
|
|
} |