Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ch_fasta_fai and ch_gtf fix after nf-core/tools v2.14.1 merge #149

Merged
merged 2 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#138](https://github.com/nf-core/rnavar/pull/138) - Proper usage of GVCF
- [#142](https://github.com/nf-core/rnavar/pull/142) - Fix dbsnp channels
- [#143](https://github.com/nf-core/rnavar/pull/143) - Use `DROP_MISSING_CONTIGS` by default in `GATK4_BEDTOINTERVALLIST`
- [#145](https://github.com/nf-core/rnavar/pull/145) - Updated ch_gtf and ch_fasta_fai channels emitted by main.nf

### Dependencies

Expand Down
5 changes: 2 additions & 3 deletions main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -111,14 +111,13 @@ workflow NFCORE_RNAVAR {

ch_fasta = PREPARE_GENOME.out.fasta
ch_star_index = PREPARE_GENOME.out.star_index
ch_gtf = PREPARE_GENOME.out.gtf
ch_dict = params.dict ? Channel.fromPath(params.dict).map{ it -> [ [id:'dict'], it ] }.collect()
: PREPARE_GENOME.out.dict
ch_fasta_fai = params.fasta_fai ? Channel.fromPath(params.fasta_fai).map{ it -> [ [id:'fai'], it ] }.collect()
ch_fasta_fai = params.fasta_fai ? Channel.fromPath(params.fasta_fai)
: PREPARE_GENOME.out.fasta_fai
ch_exon_bed = params.exon_bed ? Channel.fromPath(params.exon_bed).map{ it -> [ [id:'exon_bed'], it ] }.collect()
: PREPARE_GENOME.out.exon_bed
ch_gtf = params.gtf ? Channel.fromPath(params.gtf).map{ it -> [ [id:'gtf'], it ] }.collect()
: PREPARE_GENOME.out.gtf
ch_dbsnp_tbi = params.dbsnp ? params.dbsnp_tbi ? Channel.fromPath(params.dbsnp_tbi).collect()
: PREPARE_GENOME.out.dbsnp_tbi : Channel.value([])
ch_known_indels_tbi = params.known_indels ? params.known_indels_tbi ? Channel.fromPath(params.known_indels_tbi).collect()
Expand Down
Loading