Variant calling using Varscan somatic, processSomatic and somaticFilter based on BAM file.
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

varscan.wdl 958B

4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
4 anos atrás
123456789101112131415161718192021222324252627282930
  1. task varscan {
  2. File ref_dir
  3. String fasta
  4. File normal_bam
  5. File normal_bam_index
  6. File tumor_bam
  7. File tumor_bam_index
  8. String sample
  9. String varscan_docker
  10. String cluster_config
  11. String disk_size
  12. command <<<
  13. samtools mpileup -f ${ref_dir}/${fasta} -B ${normal_bam} ${tumor_bam} | java -jar /opt/VarScan.v2.4.3.jar somatic --mpileup 1 --min-coverage 3 --min-coverage-normal 3 --min-coverage-tumor 3 --min-var-freq 0.08 --p-value 0.10 --somatic-p-value 0.05 --output-vcf 1 --output-snp ${sample}.VarScan.TN.SNP --output-indel ${sample}.VarScan.TN.INDEL --strand-filter 1
  14. >>>
  15. runtime {
  16. docker:varscan_docker
  17. cluster: cluster_config
  18. systemDisk: "cloud_ssd 40"
  19. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  20. }
  21. output {
  22. File varscan_snp = "${sample}.VarScan.TN.SNP.vcf"
  23. File varscan_indel = "${sample}.VarScan.TN.INDEL.vcf"
  24. }
  25. }