Automated integrated analysis software for genomics data of the cancer patients.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

31 lines
879B

  1. task somatic {
  2. String sample
  3. File normal_bam
  4. File normal_bam_index
  5. File tumor_bam
  6. File tumor_bam_index
  7. File ref_dir
  8. String fasta
  9. String docker
  10. String cluster_config
  11. String disk_size
  12. command <<<
  13. samtools mpileup -f ${ref_dir}/${fasta} -B ${normal_bam} ${tumor_bam} | java -Xmx32g -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.SNP --output-indel ${sample}.VarScan.INDEL --strand-filter 1
  14. >>>
  15. runtime {
  16. docker: 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.SNP.vcf"
  23. File varscan_indel = "${sample}.VarScan.INDEL.vcf"
  24. }
  25. }