Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

53 rindas
1.4KB

  1. task spladder_merge {
  2. String sample_id
  3. File bam
  4. File pickle
  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}/spladder_out/spladder
  13. ls ${bam} | grep bam$ > alignment.txt
  14. ls ${bam} | grep bai$ > alignment_bai.txt
  15. ln -s ${pickle}/*.pickle ${sample_id}/spladder_out/spladder/
  16. ls ${sample_id}/spladder_out/spladder/ >> pickle.txt
  17. # nt=$(nproc)
  18. # spladder build -o ${sample_id}/spladder_out \
  19. # --annotation ${reference_gtf_file} \
  20. # --bams alignment.txt \
  21. # --confidence 2 \
  22. # --merge-strat merge_graphs \
  23. # --validate-sg \
  24. # --readlen 150 \
  25. # --parallel $nt \
  26. # --event-types exon_skip,intron_retention,alt_3prime,alt_5prime,mutex_exons,mult_exon_skip
  27. find . -depth > fileList.txt
  28. >>>
  29. runtime {
  30. docker: docker
  31. cluster: cluster
  32. systemDisk: "cloud_ssd 500"
  33. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  34. timeout: 129600
  35. }
  36. output {
  37. File fileList = "fileList.txt"
  38. File alignment = "alignment.txt"
  39. File alignment_bai = "alignment_bai.txt"
  40. File pickle_txt = "pickle.txt"
  41. }
  42. }