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.

46 lines
1.0KB

  1. task strelka_calling{
  2. File tumour_bam
  3. File tumour_bam_bai
  4. File normal_bam
  5. File normal_bam_bai
  6. String ref_fasta
  7. File ref_dir
  8. String sample_id
  9. File manta_indel_vcf
  10. File manta_indel_vcf_index
  11. String docker
  12. String cluster_config
  13. String disk_size
  14. String out_dir = "${sample_id}_result"
  15. command <<<
  16. set -exo pipefail
  17. /home/biosoft/strelka-2.9.10.centos6_x86_64/bin/configureStrelkaSomaticWorkflow.py \
  18. --normalBam ${normal_bam} \
  19. --tumorBam ${tumour_bam} \
  20. --referenceFasta ${ref_dir}/${ref_fasta} \
  21. --indelCandidates ${manta_indel_vcf} \
  22. --runDir ${out_dir}
  23. ls ${out_dir}
  24. python2.7 ${out_dir}/runWorkflow.py -m local -j ${cpu}
  25. ls ${out_dir}
  26. tar cvf ${out_dir}.tar ${out_dir}
  27. >>>
  28. runtime{
  29. docker:docker
  30. cluster:cluster_config
  31. systemDisk:"cloud_ssd 40"
  32. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  33. }
  34. output{
  35. File out_file = "${out_dir}.tar"
  36. }
  37. }