Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

37 lines
735B

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