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.

47 lines
972B

  1. task arriba{
  2. String sample_id
  3. File fastq1
  4. File fastq2
  5. File STAR_INDEX_DIR
  6. File ASSEMBLY_FA
  7. File ANNOTATION_GTF
  8. String disk_size
  9. String docker
  10. String cluster
  11. command <<<
  12. set -o pipefail
  13. set -e
  14. gzip -c ${fastq1} >${sample_id}_R1.fastq.gz
  15. gzip -c ${fastq2} >${sample_id}_R2.fastq.gz
  16. mkdir ./output/
  17. echo ${STAR_INDEX_DIR} >output/a.txt
  18. echo ${fastq1} >> output/a.txt
  19. echo ${fastq2} >> output/a.txt
  20. echo ${sample_id} >> output/a.txt
  21. echo ${ASSEMBLY_FA} >> output/a.txt
  22. echo ${ANNOTATION_GTF} >> output/a.txt
  23. >>>
  24. runtime {
  25. docker: docker
  26. cluster: cluster
  27. systemDisk: "cloud_ssd 40"
  28. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  29. }
  30. output {
  31. Array[File] arriba_result=glob("./output/*.txt")
  32. Array[File] arriba_gz=glob("./output/*.gz")
  33. }
  34. }