For RNA-seq data, from bams to AS Information files.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

samtools_index.wdl 540B

12345678910111213141516171819202122232425
  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. }