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.

hisat2.wdl 663B

5 yıl önce
4 yıl önce
4 yıl önce
5 yıl önce
4 yıl önce
4 yıl önce
5 yıl önce
4 yıl önce
5 yıl önce
4 yıl önce
4 yıl önce
5 yıl önce
1234567891011121314151617181920212223242526272829
  1. task hisat2 {
  2. File idx
  3. File read_1P
  4. File read_2P
  5. String sample_name=sub(basename(read_1P),"\\_*1.\\S+$", "")
  6. String idx_prefix
  7. String docker
  8. String cluster
  9. String disk_size
  10. command {
  11. nt=$(nproc)
  12. hisat2 -t -p $nt -x ${idx}/${idx_prefix} -1 ${read_1P} -2 ${read_2P} -S ${sample_name}.sam --un-conc-gz ${sample_name}_un.fq.gz
  13. }
  14. runtime {
  15. docker: docker
  16. cluster: cluster
  17. systemDisk: "cloud_ssd 40"
  18. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  19. }
  20. output {
  21. File sam=sample_name + ".sam"
  22. File unmapread_1p=sample_name + "_un.fq.1.gz"
  23. File unmapread_2p=sample_name + "_un.fq.2.gz"
  24. }
  25. }