Integrate the graphs across samples, to form one merged splicing graph (per gene).
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

45 lines
911B

  1. task spladder {
  2. String sample_id
  3. Array[File] bam
  4. Array[File] bai
  5. Array[File] pickle
  6. File reference_gtf_file
  7. String docker
  8. String cluster
  9. String disk_size
  10. command <<<
  11. set -o pipefail
  12. set -e
  13. mkdir -p ${sample_id}/spladder_out
  14. sed ':a ; N;s/\n/,/ ; t a ; ' bam > alignment.txt
  15. for i in ${sep=" " pickle}
  16. do
  17. ln -s $i ${sample_id}/spladder_out/$i
  18. echo ${sample_id}/spladder_out/$i
  19. echo ${sample_id}/spladder_out/$i >> pickle.txt
  20. done
  21. find . -depth > fileList.txt
  22. >>>
  23. runtime {
  24. docker: docker
  25. cluster: cluster
  26. systemDisk: "cloud_ssd 40"
  27. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  28. }
  29. output {
  30. File fileList = "fileList.txt"
  31. File alignment = "alignment.txt"
  32. File pickle_txt = "pickle.txt"
  33. }
  34. }