Automated integrated analysis software for genomics data of the cancer patients.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

TMB.wdl 662B

il y a 2 ans
il y a 2 ans
1234567891011121314151617181920212223242526272829303132
  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. File snp_indel="${sample}.snp_indel.txt"
  24. File tmb="${sample}.TMB.txt"
  25. }
  26. }