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.

manta.wdl 1009B

3 년 전
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. task manta {
  2. File ref_dir
  3. File fasta
  4. File normal_bam
  5. File normal_bam_index
  6. File tumour_bam
  7. File tumour_bam_index
  8. String memory
  9. String sample
  10. String docker
  11. String cluster_config
  12. String disk_size
  13. command <<<
  14. nt=$(nproc)
  15. mkdir -p /cromwell_root/tmp
  16. manta_config=opt/manta-1.6.0.centos6_x86_64/bin/configManta.py
  17. $manta_config --normalBam ${normal_bam} --tumorBam ${tumour_bam} --referenceFasta ${ref_dir}/${fasta} --runDir /cromwell_root/tmp
  18. /cromwell_root/tmp/runWorkflow.py -j $nt -g ${memory}
  19. cp /cromwell_root/tmp/results/variants/somaticSV.vcf.gz ${sample}_manta_somaticSV.vcf.gz
  20. cp /cromwell_root/tmp/results/variants/diploidSV.vcf.gz ${sample}_manta_germlineSV.vcf.gz
  21. >>>
  22. runtime {
  23. docker:docker
  24. cluster: cluster_config
  25. systemDisk: "cloud_ssd 40"
  26. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  27. }
  28. output {
  29. File manta_somatic_vcf = "${sample}_manta_somaticSV.vcf.gz"
  30. File manta_germline_vcf = "${sample}_manta_germlineSV.vcf.gz"
  31. }
  32. }