Skip to content

Commit

Permalink
Merge pull request #416 from nf-core/fix_strintie_io
Browse files Browse the repository at this point in the history
Fix strintie io
  • Loading branch information
rannick authored Oct 2, 2023
2 parents c64830c + 8ece842 commit 91a5927
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions subworkflows/local/stringtie_workflow.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down

0 comments on commit 91a5927

Please sign in to comment.