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.

mixcr.wdl 1.5KB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. task mixcr {
  2. File read1
  3. File read2
  4. String sample
  5. String base = sub(basename(read1),"\\.\\S+$", "")
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. mixcr align -t 4 -p rna-seq -s hsa -OallowPartialAlignments=true ${read1} ${read2} ${base}.vdjca
  11. mixcr assemblePartial ${base}.vdjca ${base}_rescued_1.vdjca
  12. mixcr assemblePartial ${base}_rescued_1.vdjca ${base}_rescued_2.vdjca
  13. mixcr extend ${base}_rescued_2.vdjca ${base}_rescued_2_extended.vdjca
  14. mixcr assemble ${base}_rescued_2_extended.vdjca ${base}.clns
  15. mixcr exportClones ${base}.clns ${base}.txt
  16. mixcr exportClones -c TRB ${base}.clns ${base}.TRB.txt
  17. mixcr exportClones -c TRA ${base}.clns ${base}.TRA.txt
  18. mixcr exportClones -c TRD ${base}.clns ${base}.TRD.txt
  19. mixcr exportClones -c TRG ${base}.clns ${base}.TRG.txt
  20. mixcr exportClones -c IGH ${base}.clns ${base}.IGH.txt
  21. >>>
  22. runtime {
  23. docker:docker
  24. cluster: cluster_config
  25. systemDisk: "cloud_ssd 40"
  26. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  27. }
  28. output {
  29. File align_out = base + ".vdjca"
  30. File assemble_rescued_1_out = base + "_rescued_1.vdjca"
  31. File assemble_rescued_2_out = base + "_rescued_2.vdjca"
  32. File assemble_rescued_extended_out = base + "_rescued_2_extended.vdjca"
  33. File clns_out = base + ".clns"
  34. File clones_out = base + ".txt"
  35. File trb_out = base + ".TRB.txt"
  36. File trb_out = base + ".TRA.txt"
  37. File trb_out = base + ".TRD.txt"
  38. File trb_out = base + ".TRG.txt"
  39. File igh_out = base + ".IGH.txt"
  40. }
  41. }