Skip to content

Commit e563727

Browse files
authored
Merge pull request #149 from nschcolnicov/dev
ch_fasta_fai and ch_gtf fix after nf-core/tools v2.14.1 merge
2 parents 0b2c66e + ccd9d82 commit e563727

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3030
- [#138](https://github.com/nf-core/rnavar/pull/138) - Proper usage of GVCF
3131
- [#142](https://github.com/nf-core/rnavar/pull/142) - Fix dbsnp channels
3232
- [#143](https://github.com/nf-core/rnavar/pull/143) - Use `DROP_MISSING_CONTIGS` by default in `GATK4_BEDTOINTERVALLIST`
33+
- [#145](https://github.com/nf-core/rnavar/pull/145) - Updated ch_gtf and ch_fasta_fai channels emitted by main.nf
3334

3435
### Dependencies
3536

main.nf

+2-3
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,13 @@ workflow NFCORE_RNAVAR {
111111

112112
ch_fasta = PREPARE_GENOME.out.fasta
113113
ch_star_index = PREPARE_GENOME.out.star_index
114+
ch_gtf = PREPARE_GENOME.out.gtf
114115
ch_dict = params.dict ? Channel.fromPath(params.dict).map{ it -> [ [id:'dict'], it ] }.collect()
115116
: PREPARE_GENOME.out.dict
116-
ch_fasta_fai = params.fasta_fai ? Channel.fromPath(params.fasta_fai).map{ it -> [ [id:'fai'], it ] }.collect()
117+
ch_fasta_fai = params.fasta_fai ? Channel.fromPath(params.fasta_fai)
117118
: PREPARE_GENOME.out.fasta_fai
118119
ch_exon_bed = params.exon_bed ? Channel.fromPath(params.exon_bed).map{ it -> [ [id:'exon_bed'], it ] }.collect()
119120
: PREPARE_GENOME.out.exon_bed
120-
ch_gtf = params.gtf ? Channel.fromPath(params.gtf).map{ it -> [ [id:'gtf'], it ] }.collect()
121-
: PREPARE_GENOME.out.gtf
122121
ch_dbsnp_tbi = params.dbsnp ? params.dbsnp_tbi ? Channel.fromPath(params.dbsnp_tbi).collect()
123122
: PREPARE_GENOME.out.dbsnp_tbi : Channel.value([])
124123
ch_known_indels_tbi = params.known_indels ? params.known_indels_tbi ? Channel.fromPath(params.known_indels_tbi).collect()

0 commit comments

Comments
 (0)