Automated integrated analysis software for genomics data of the cancer patients.
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

33 lines
652B

  1. task TMB {
  2. File regions
  3. File snpindel_txt
  4. String docker
  5. String cluster_config
  6. String disk_size
  7. command <<<
  8. set -o pipefail
  9. set -e
  10. nt=$(nproc)
  11. sort -k1,1 -k2,2n ${regions} | bedtools merge -i - > merged.bed
  12. size=`awk -F'\t' 'BEGIN{SUM=0}{SUM+=$3-$2}END{print SUM}' merged.bed`
  13. # analysis in python
  14. python ~/tmb.py ${snpindel_txt} ${size} ${sample}
  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. snp_indel="${sample}.snp_indel.txt"
  24. tmb="${sample}.TMB.txt"
  25. }
  26. }