For RNA-seq data, from bams to AS Information files.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

32 lines
634B

  1. task samtools {
  2. File bam_file
  3. String bam_id=basename(bam_file)
  4. String sample_id
  5. String docker
  6. String cluster
  7. String disk_size
  8. command <<<
  9. set -o pipefail
  10. set -e
  11. mkdir -p ${sample_id}/data
  12. cp ${bam_file} ${sample_id}/data/${bam_id}
  13. samtools index ${sample_id}/data/${bam_id}
  14. >>>
  15. runtime {
  16. docker: docker
  17. cluster: cluster
  18. systemDisk: "cloud_ssd 40"
  19. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  20. }
  21. output {
  22. File bam = "${bam_id}"
  23. File bam_index = "${bam_id}.bai"
  24. }
  25. }