Calculate the bed coverage of multiple BAM files before and after dedup
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

26 lines
433B

  1. import "./tasks/cp_bam.wdl" as cp_bam
  2. import "./tasks/bedtools.wdl" as bedtools
  3. workflow {{ project_name }} {
  4. File input_samples_file
  5. File bed_file
  6. Array[Array[File]] input_samples = read_tsv(input_samples_file)
  7. scatter (sample in input_samples) {
  8. call cp_bam.cp_bam as cp_bam {
  9. input:
  10. bam=sample[0]
  11. }
  12. call bedtools.bedtools as bedtools {
  13. input:
  14. tmp_bam=cp_bam.tmp_bam,
  15. bed_file=bed_file
  16. }
  17. }
  18. }