from fastq to bam files
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.

34 line
1.3KB

  1. task stringtie {
  2. File bam
  3. File gtf
  4. String docker
  5. String sample_id
  6. String cluster
  7. String disk_size
  8. Int minimum_length_allowed_for_the_predicted_transcripts
  9. Int Junctions_no_spliced_reads
  10. Float minimum_isoform_abundance
  11. Float maximum_fraction_of_muliplelocationmapped_reads
  12. command <<<
  13. nt=$(nproc)
  14. mkdir ballgown
  15. /opt/conda/bin/stringtie -e -B -p $nt -f ${minimum_isoform_abundance} -m ${minimum_length_allowed_for_the_predicted_transcripts} -a ${Junctions_no_spliced_reads} -M ${maximum_fraction_of_muliplelocationmapped_reads} -G ${gtf} -o ballgown/${sample_id}/${sample_id}.gtf -C ${sample_id}.cov.ref.gtf -A ${sample_id}.gene.abundance.txt ${bam}
  16. >>>
  17. runtime {
  18. docker: docker
  19. cluster: cluster
  20. systemDisk: "cloud_ssd 40"
  21. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  22. }
  23. output {
  24. File covered_transcripts = "${sample_id}.cov.ref.gtf"
  25. File gene_abundance = "${sample_id}.gene.abundance.txt"
  26. Array[File] ballgown = ["ballgown/${sample_id}/${sample_id}.gtf", "ballgown/${sample_id}/e2t.ctab", "ballgown/${sample_id}/e_data.ctab", "ballgown/${sample_id}/i2t.ctab", "ballgown/${sample_id}/i_data.ctab", "ballgown/${sample_id}/t_data.ctab"]
  27. File genecount = "{sample_id}_genecount.csv"
  28. }
  29. }