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
1.2KB

  1. task starfusion{
  2. String sample_id
  3. File fastq1
  4. File fastq2
  5. File database_dir
  6. String docker
  7. String cluster
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. mkdir -p ${sample_id}/output
  13. STAR-Fusion --genome_lib_dir ${database_dir} \
  14. --left_fq ${fastq1} \
  15. --right_fq ${fastq2} \
  16. --CPU 4 \
  17. --output_dir ${sample_id}/output
  18. tar -zcvf ${sample_id}_output/${sample_id}_FusionInspector-validate.tgz ${sample_id}_output/FusionInspector-validate
  19. >>>
  20. runtime {
  21. docker : docker
  22. cluster: cluster
  23. systemDisk: "cloud_ssd 40"
  24. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  25. }
  26. output {
  27. Array[File] starfusion_result=glob("${sample_id}/output/*.tsv")
  28. Array[File] starfusion_bam=glob("${sample_id}/output/*.bam")
  29. Array[File] starfusion_tab=glob("${sample_id}/output/*.tab")
  30. Array[File] starfusion_junction=glob("${sample_id}/output/*.junction")
  31. Array[File] starfusion_out=glob("${sample_id}/output/*.out")
  32. Array[File] starfusion_tgz=glob("${sample_id}/output/*.tgz")
  33. }
  34. }