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.

MSIsensor.wdl 921B

2 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. task MSIsensor {
  2. File ref_dir
  3. String fasta
  4. File tumor_bam
  5. File tumor_bam_index
  6. File? normal_bam
  7. File? normal_bam_index
  8. File baseline
  9. String docker
  10. String cluster_config
  11. String disk_size
  12. command <<<
  13. set -o pipefail
  14. set -e
  15. nt=$(nproc)
  16. # MSI
  17. mkdir -p /cromwell_root/tmp/${sample}
  18. msisensor-pro scan -d ${ref_dir}/${fasta} -o reference.list
  19. if [ ${normal_recaled_bam} ]; then
  20. msisensor-pro msi -d reference.list -n ${normal_bam} -t ${tumor_bam} -o /cromwell_root/tmp/${sample}
  21. else
  22. msisensor-pro pro -d ${baseline} -t ${tumor_bam} -o /cromwell_root/tmp/${sample}
  23. fi
  24. cp /cromwell_root/tmp/${sample} ${sample}.MSI.txt
  25. # TMB
  26. >>>
  27. runtime {
  28. docker: docker
  29. cluster: cluster_config
  30. systemDisk: "cloud_ssd 40"
  31. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  32. }
  33. output {
  34. File msi = "${sample}.MSI.txt"
  35. }
  36. }