Variant calling using Varscan somatic, processSomatic and somaticFilter based on BAM file.
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

33 Zeilen
1.0KB

  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 -q 1 -f ${ref_dir}/${fasta} ${normal_bam} > normal_pileup
  14. samtools mpileup -q 1 -f ${ref_dir}/${fasta} ${tumor_bam} > tumor_pileup
  15. java -jar VarScan.v2.4.3.jar somatic normal_pileup tumor_pileup --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
  16. >>>
  17. runtime {
  18. docker:varscan_docker
  19. cluster: cluster_config
  20. systemDisk: "cloud_ssd 40"
  21. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  22. }
  23. output {
  24. File varscan_snp = "${sample}.VarScan.TN.SNP"
  25. File varscan_indel = "${sample}.VarScan.TN.INDEL"
  26. }
  27. }