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.

43 lines
1.1KB

  1. task rediscoverte {
  2. String sample_id
  3. File fastq1
  4. File fastq2
  5. File salmon_index
  6. File r_annotation
  7. String disk_size
  8. String docker
  9. String cluster
  10. command <<<
  11. set -o pipefail
  12. set -e
  13. mkdir ./output/
  14. /software/Salmon-0.8.2_linux_x86_64/bin/salmon quant --seqBias --gcBias -i ${salmon_index} -l ISR -1 ${fastq1} -2 ${fastq2} -p 28 -o Step_2_salmon_counts
  15. echo -e "sample\tquant_sf_path" > Step_3_metadata_for_rollup.tsv.txt
  16. echo -e "${sample_id}\tStep_2_salmon_counts/quant.sf" >> Step_3_metadata_for_rollup.tsv.txt
  17. cp -r ${r_annotation} ./
  18. cp /software/REdiscoverTE/a.Rdata ./
  19. /opt/conda/bin/Rscript /software/REdiscoverTE/rollup.R
  20. cp Step_2_salmon_counts/quant.sf ./${sample_id}_quant.sf
  21. >>>
  22. runtime {
  23. docker: docker
  24. cluster: cluster
  25. systemDisk: "cloud_ssd 40"
  26. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  27. }
  28. output {
  29. Array[File] te_result=glob("./Step_4_rollup2/*.RDS")
  30. Array[File] te_quant=glob("./*.sf")
  31. }
  32. }