For RNA-seq data, from bam/fastq to AS sites 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.

52 line
1.2KB

  1. task rmats {
  2. String sample_id
  3. File b1_1
  4. File b1_2
  5. File b1_3
  6. File b2_1
  7. File b2_2
  8. File b2_3
  9. File reference_gtf_file
  10. String docker
  11. String cluster
  12. String disk_size
  13. command <<<
  14. set -o pipefail
  15. set -e
  16. mkdir -p ${sample_id}/output
  17. mkdir -p ${sample_id}/tmp_output
  18. python /usr/local/bin/rmats.py --b1 ${b1_1},${b1_2},${b1_3} \
  19. --b2 ${b2_1},${b2_2},${b2_3}\
  20. --gtf ${reference_gtf_file} \
  21. -t paired \
  22. --readLength 150 \
  23. --nthread 4 \
  24. --od ${sample_id}/output \
  25. --tmp ${sample_id}/tmp_output
  26. find . -depth > fileList.txt
  27. >>>
  28. runtime {
  29. docker: docker
  30. cluster: cluster
  31. systemDisk: "cloud_ssd 40"
  32. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  33. }
  34. output {
  35. File fileList = "fileList.txt"
  36. Array[File] tmp_rmats = glob("${sample_id}/tmp_output/*.rmats")
  37. Array[File] tmp_txt = glob("${sample_id}/tmp_output/*.txt")
  38. Array[File] AS_txt = glob("${sample_id}/output/*.txt")
  39. Array[File] tmp = glob("${sample_id}/output/tmp/*")
  40. }
  41. }