diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e62dcf41..6a240bdb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,3 +104,10 @@ jobs: --outdir /home/runner/work/rnafusion/rnafusion/results --starfusion \ --genomes_base /home/runner/work/rnafusion/rnafusion/results/references \ --cosmic_username ${{ secrets.COSMIC_USERNAME }} --cosmic_passwd ${{ secrets.COSMIC_PASSWD }} + + - name: Dry test stingtie + run: | + nextflow run ${GITHUB_WORKSPACE} -profile test,docker -stub \ + --outdir /home/runner/work/rnafusion/rnafusion/results --stringtie \ + --genomes_base /home/runner/work/rnafusion/rnafusion/results/references \ + --cosmic_username ${{ secrets.COSMIC_USERNAME }} --cosmic_passwd ${{ secrets.COSMIC_PASSWD }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b89e848..66a4ecd1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +- Fix channel i/o issue in StringTie workflow and add StringTie in github CI tests [#416](https://github.com/nf-core/rnafusion/pull/416) + ### Removed - Remove harsh trimming option `--trim` [#413](https://github.com/nf-core/rnafusion/pull/413) diff --git a/subworkflows/local/stringtie_workflow.nf b/subworkflows/local/stringtie_workflow.nf index d9e1c6c3..93a50e0c 100644 --- a/subworkflows/local/stringtie_workflow.nf +++ b/subworkflows/local/stringtie_workflow.nf @@ -12,7 +12,7 @@ workflow STRINGTIE_WORKFLOW { ch_stringtie_gtf = Channel.empty() if ((params.stringtie || params.all) && !params.fusioninspector_only) { - STRINGTIE_STRINGTIE(bam_sorted, ch_chrgtf) + STRINGTIE_STRINGTIE(bam_sorted, ch_chrgtf.map { meta, gtf -> [ gtf ]}) ch_versions = ch_versions.mix(STRINGTIE_STRINGTIE.out.versions) STRINGTIE_STRINGTIE @@ -21,7 +21,7 @@ workflow STRINGTIE_WORKFLOW { .map { it -> it[1] } .set { stringtie_gtf } - STRINGTIE_MERGE ( stringtie_gtf, ch_chrgtf ) + STRINGTIE_MERGE (stringtie_gtf, ch_chrgtf.map { meta, gtf -> [ gtf ]}) ch_versions = ch_versions.mix(STRINGTIE_MERGE.out.versions) ch_stringtie_gtf = STRINGTIE_MERGE.out.gtf }