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.

36 lines
1000B

  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} -outputDir .
  16. fi
  17. if [ ${germline_vcf} ]; then
  18. $ANNOTSV/bin/AnnotSV -SVinputFile ${germline_vcf} -outputFile ${sample}.germline.SV.annotated.tsv -genomeBuild GRCh38 -annotationsDir ${annotsv_database} -outputDir .
  19. fi
  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 AnnotSV_somatic_SV = "${sample}.somatic.SV.annotated.tsv"
  29. File? AnnotSV_germline_SV = "${sample}.germline.SV.annotated.tsv"
  30. }
  31. }