Automated integrated analysis software for genomics data of the cancer patients.
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
880B

  1. task qualimap {
  2. String sample
  3. File bam
  4. File bai
  5. File covered_bed
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. nt=$(nproc)
  13. awk 'BEGIN{OFS="\t"}{sub("\r","",$3);print $1,$2,$3,"",0,"."}' ${covered_bed} > new.bed
  14. /opt/qualimap/qualimap bamqc -bam ${bam} -gff new.bed -outformat PDF:HTML -nt $nt -outdir ${sample} --java-mem-size=32G
  15. cat ${sample}/genome_results.txt | grep duplication | awk -F "= |%" '{print "'"${sample}"'""\t"$2}' > ${sample}_qualimap_duplication.txt
  16. tar -zcvf ${sample}_qualimap.tar ${sample}
  17. >>>
  18. runtime {
  19. docker:docker
  20. cluster:cluster_config
  21. systemDisk:"cloud_ssd 40"
  22. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  23. }
  24. output {
  25. File tar = "${sample}_qualimap.tar"
  26. File duplication = "${sample}_qualimap_duplication.txt"
  27. }
  28. }