Infer and visualize copy number from high-throughput DNA sequencing data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 satır
1.0KB

  1. task batch {
  2. String sample_id
  3. Array[File] tumor_bam
  4. Array[File] tumor_bai
  5. Array[File] normal_bam
  6. Array[File] normal_bai
  7. File bed
  8. File fasta
  9. File fai
  10. File access_bed
  11. String docker
  12. String cluster_config
  13. String disk_size
  14. command <<<
  15. set -o pipefail
  16. set -e
  17. mkdir -p /cromwell_root/tmp/cnvkit
  18. cp ${sep=' ' normal_bai} /cromwell_root/tmp/cnvkit
  19. cp ${sep=' ' tumor_bai} /cromwell_root/tmp/cnvkit
  20. cd /cromwell_root/tmp/cnvkit
  21. cnvkit.py batch ${sep=' ' tumor_bam} --normal ${sep=' ' normal_bam} \
  22. --targets ${bed} \
  23. --fasta ${fasta} --access ${access_bed} \
  24. --output-reference my_reference.cnn --output-dir ./results/ \
  25. --diagram --scatter
  26. >>>
  27. runtime {
  28. docker: docker
  29. cluster: cluster_config
  30. systemDisk: "cloud_ssd 40"
  31. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  32. }
  33. output {
  34. File reference_cnn = "my_reference.cnn"
  35. Array[File] result = glob("result/*")
  36. }
  37. }