Infer and visualize copy number from high-throughput DNA sequencing data.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

52 行
1.5KB

  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 faidx
  9. File fasta
  10. File? ref_flat
  11. File access_bed
  12. File? reference
  13. String method
  14. String docker
  15. String cluster_config
  16. String disk_size
  17. String annotate_opt = if defined(ref_flat) then "--annotate ${ref_flat}" else ""
  18. String reference_opt = if defined(reference) then "--reference ${reference}" else ""
  19. command <<<
  20. set -o pipefail
  21. set -e
  22. mkdir -p /cromwell_root/tmp/cnvkit
  23. cp ${sep=' ' normal_bai} /cromwell_root/tmp/cnvkit
  24. cp ${sep=' ' tumor_bai} /cromwell_root/tmp/cnvkit
  25. cp ${fasta} /cromwell_root/tmp/cnvkit/hg38.fa
  26. cp ${faidx} /cromwell_root/tmp/cnvkit/hg38.fai
  27. cd /cromwell_root/tmp/cnvkit
  28. mkdir results
  29. cnvkit.py batch ${sep=' ' tumor_bam} --normal ${sep=' ' normal_bam} \
  30. --targets ${bed} --method ${method} \
  31. ${annotate_opt} ${reference_opt} \
  32. --fasta hg38.fa --access ${access_bed} \
  33. --output-reference ~/${sample_id}.reference.cnn \
  34. --output-dir ./results/ \
  35. --drop-low-coverage --diagram --scatter
  36. >>>
  37. runtime {
  38. docker: docker
  39. cluster: cluster_config
  40. systemDisk: "cloud_ssd 40"
  41. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  42. }
  43. output {
  44. File reference_cnn = "${sample_id}.reference.cnn"
  45. Array[File] results = glob("/cromwell_root/tmp/cnvkit/results/*")
  46. }
  47. }