Calculate the bed coverage of multiple BAM files before and after dedup
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

26 lines
424B

  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. bam=sample[0],
  15. bed_file=bed_file
  16. }
  17. }
  18. }