command <<< | command <<< | ||||
set -e -o pipefail | set -e -o pipefail | ||||
bedtools multicov ${tmp_bam} -bed ${bed_file} > revread_count.txt | bedtools multicov ${tmp_bam} -bed ${bed_file} > revread_count.txt | ||||
>>> | >>> | ||||
runtime { | runtime { |
scatter (sample in input_samples) { | scatter (sample in input_samples) { | ||||
call cp_bam.cp_bam as cp_bam { | call cp_bam.cp_bam as cp_bam { | ||||
input: | input: | ||||
bam=sample[0], | |||||
bai=sample[1], | |||||
bam=sample[0] | |||||
} | } | ||||
call bedtools.bedtools as bedtools { | call bedtools.bedtools as bedtools { | ||||
input: | input: | ||||
bam=sample[0], | |||||
bai=sample[1], | |||||
bam=sample[0] | |||||
bed_file=bed_file | bed_file=bed_file | ||||
} | } |