For RNA-seq data, from bam/fastq to AS sites files.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

rmats.wdl 1.1KB

4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
4 år sedan
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. task rmats {
  2. String sample_id
  3. File bam1
  4. File bam2
  5. File reference_gtf_file
  6. String CSTAT
  7. String docker
  8. String cluster
  9. String disk_size
  10. command <<<
  11. set -o pipefail
  12. set -e
  13. mkdir -p ${sample_id}/output
  14. mkdir -p ${sample_id}/tmp_output
  15. echo ${bam1} > b1_txt
  16. echo ${bam2} > b2_txt
  17. python /usr/local/bin/rmats.py --b1 b1_txt \
  18. --b2 b2_txt \
  19. --gtf ${reference_gtf_file} \
  20. -t paired \
  21. --readLength 150 \
  22. --nthread 4 \
  23. --cstat ${CSTAT} \
  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] AS_txt = glob("${sample_id}/output/*.txt")
  37. Array[File] tmp = glob("${sample_id}/output/tmp/*")
  38. }
  39. }