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.

25 lines
540B

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