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.

28 lines
597B

  1. task hisat2 {
  2. File idx
  3. File Trim_R1
  4. File Trim_R2
  5. String idx_prefix
  6. String sample_id
  7. String docker
  8. String cluster
  9. command <<<
  10. nt=$(nproc)
  11. hisat2 -t -p $nt -x ${idx}/${idx_prefix} -1 ${Trim_R1} -2 ${Trim_R2} -S ${sample_id}.sam --un-conc-gz ${sample_id}_un.fq.gz
  12. >>>
  13. runtime {
  14. docker: docker
  15. cluster: cluster
  16. systemDisk: "cloud_ssd 40"
  17. dataDisk: "cloud_ssd 200 /cromwell_root/"
  18. }
  19. output {
  20. File sam = "${sample_id}.sam"
  21. File unmapread_1p = "${sample_id}_un.fq.1.gz"
  22. File unmapread_2p = "${sample_id}_un.fq.2.gz"
  23. }
  24. }