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

43 行
1009B

  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. }