For RNA-seq data, from bam/fastq to AS sites files.
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

50 行
1.1KB

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