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.

24 lines
409B

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