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.

3 anni fa
3 anni fa
3 anni fa
12345678910111213141516171819202122232425262728293031323334353637383940
  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. /opt/manta-1.6.0.centos6_x86_64/bin/configManta.py --normalBam ${normal_bam} --tumorBam ${tumour_bam} --referenceFasta ${ref_dir}/${fasta} --runDir /cromwell_root/tmp
  17. /cromwell_root/tmp/runWorkflow.py -j $nt -g ${memory}
  18. cp /cromwell_root/tmp/results/variants/somaticSV.vcf.gz ${sample}_manta_somaticSV.vcf.gz
  19. cp /cromwell_root/tmp/results/variants/diploidSV.vcf.gz ${sample}_manta_germlineSV.vcf.gz
  20. >>>
  21. runtime {
  22. docker:docker
  23. cluster: cluster_config
  24. systemDisk: "cloud_ssd 40"
  25. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  26. }
  27. output {
  28. File manta_somatic_vcf = "${sample}_manta_somaticSV.vcf.gz"
  29. File manta_germline_vcf = "${sample}_manta_germlineSV.vcf.gz"
  30. }
  31. }