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.

48 lines
1.1KB

  1. task spladder_single {
  2. String sample_id
  3. File bam
  4. File bai
  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
  13. nt=$(nproc)
  14. spladder build --bams ${bam} \
  15. --annotation ${reference_gtf_file} \
  16. --ignore-mismatches \
  17. --verbose \
  18. --merge-strat single \
  19. --confidence 2 \
  20. --readlen 150 \
  21. --parallel $nt \
  22. --outdir ${sample_id}/spladder_out \
  23. --no-extract-ase
  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] spladder_out = glob("${sample_id}/spladder_out/*")
  35. Array[File] spladder = glob("${sample_id}/spladder_out/spladder/*")
  36. }
  37. }