Automated integrated analysis software for genomics data of the cancer patients.
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.

35 lines
941B

  1. task AnnotSV {
  2. String sample
  3. File somatic_vcf
  4. File? germline_vcf
  5. File annotsv_database
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. nt=$(nproc)
  13. export ANNOTSV=/opt/AnnotSV
  14. if [ ${somatic_vcf} ]; then
  15. $ANNOTSV/bin/AnnotSV -SVinputFile ${somatic_vcf} -outputFile ${sample}.somatic.SV.annotated.tsv -genomeBuild GRCh38 -annotationsDir ${annotsv_database}
  16. else
  17. $ANNOTSV/bin/AnnotSV -SVinputFile ${germline_vcf} -outputFile ${sample}.germline.SV.annotated.tsv -genomeBuild GRCh38 -annotationsDir ${annotsv_database}
  18. fi
  19. >>>
  20. runtime {
  21. docker: docker
  22. cluster: cluster_config
  23. systemDisk: "cloud_ssd 40"
  24. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  25. }
  26. output {
  27. File AnnotSV_somatic_SV = "${sample}.somatic.SV.annotated.tsv"
  28. File? AnnotSV_germline_SV = "${sample}.germline.SV.annotated.tsv"
  29. }
  30. }