For RNA-seq data, from bams to AS Information files.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
456B

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