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