Variant calling using Varscan somatic, processSomatic and somaticFilter based on BAM file.
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
1.4KB

  1. task annovar {
  2. File varscan_snp
  3. File varscan_indel
  4. File database
  5. String sample
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. nt=$(nproc)
  13. /installations/annovar/table_annovar.pl ${varscan_snp} ${database} -buildver hg38 -out ${sample}_varscan_snp -remove -protocol refGene,ensGene,knownGene,cytoBand,genomicSuperDups,ljb26_all,dbnsfp35c,intervar_20180118,cosmic70,exac03,gnomad211_exome,clinvar_20200316 -operation g,g,g,r,r,f,f,f,f,f,f,f -nastring . -vcfinput -thread $nt
  14. /installations/annovar/table_annovar.pl ${varscan_indel} ${database} -buildver hg38 -out ${sample}_varscan_indel -remove -protocol refGene,ensGene,knownGene,cytoBand,genomicSuperDups,ljb26_all,dbnsfp35c,intervar_20180118,cosmic70,exac03,gnomad211_exome,clinvar_20200316 -operation g,g,g,r,r,f,f,f,f,f,f,f -nastring . -vcfinput -thread $nt
  15. >>>
  16. runtime {
  17. docker: docker
  18. cluster: cluster_config
  19. systemDisk: "cloud_ssd 40"
  20. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  21. }
  22. output {
  23. File avinput_varscan_snp = "${sample}_varscan_snp.avinput"
  24. File multianno_varscan_snp_txt = "${sample}_varscan_snp.hg38_multianno.txt"
  25. File multianno_varscan_snp = "${sample}_varscan_snp.hg38_multianno.vcf"
  26. File avinput_varscan_indel = "${sample}_varscan_indel.avinput"
  27. File multianno_varscan_indel_txt = "${sample}_varscan_indel.hg38_multianno.txt"
  28. File multianno_varscan_indel = "${sample}_varscan_indel.hg38_multianno.vcf"
  29. }
  30. }