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 line
920B

  1. task ANNOVAR {
  2. File vcf
  3. String basename = basename(vcf,".vcf")
  4. File annovar_database
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. set -o pipefail
  10. set -e
  11. nt=$(nproc)
  12. /installations/annovar/table_annovar.pl ${vcf} \
  13. ${annovar_database} -buildver hg38 \
  14. -out ${basename} -remove \
  15. -protocol refGene,cytoBand,genomicSuperDups,clinvar_20220320,intervar_20180118,cosmic95_coding,cosmic95_noncoding,gnomad211_exome,dbnsfp42c,avsnp150 \
  16. -operation g,r,r,f,f,f,f,f,f,f \
  17. -nastring . -vcfinput -polish -thread $nt
  18. >>>
  19. runtime {
  20. docker: docker
  21. cluster: cluster_config
  22. systemDisk: "cloud_ssd 40"
  23. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  24. }
  25. output {
  26. File avinput = "${basename}.avinput"
  27. File multianno_txt = "${basename}.hg38_multianno.txt"
  28. File multianno_vcf = "${basename}.hg38_multianno.vcf"
  29. }
  30. }