您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

5 年前
5 年前
4 年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. task delly {
  2. File tumor_bam
  3. File tumor_bam_idx
  4. File normal_bam
  5. File normal_bam_idx
  6. File ref_dir
  7. String fasta
  8. String sample_name
  9. String docker
  10. String disk_size
  11. String cluster_config
  12. command <<<
  13. set -o pipefail
  14. set -e
  15. echo -e "${sample_name}.tumor\ttumor\n${sample_name}.normal\tcontrol" > samples.tsv
  16. nt=$(nproc)
  17. export OMP_NUM_THREADS=$nt
  18. /opt/delly/src/delly call -g ${ref_dir}/${fasta} -o ${sample_name}.delly.somatic.bcf -x /opt/delly/excludeTemplates/human.hg38.excl.tsv ${tumor_bam} ${normal_bam}
  19. /opt/delly/src/delly filter -f somatic -o ${sample_name}.delly.somatic.filtered.bcf -s samples.tsv ${sample_name}.delly.somatic.bcf
  20. >>>
  21. runtime {
  22. docker:docker
  23. cluster:cluster_config
  24. systemDisk: "cloud_ssd 40"
  25. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  26. }
  27. output {
  28. File bcf = "${sample_name}.delly.somatic.filtered.bcf"
  29. File bcf_index = "${sample_name}.delly.somatic.filtered.bcf.csi"
  30. }
  31. }