Skip to content

Commit

Permalink
Fix thanks to arthur and mahesh
Browse files Browse the repository at this point in the history
  • Loading branch information
apeltzer committed Feb 22, 2024
1 parent 7bd08bd commit c5e8393
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions workflows/smrnaseq.nf
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ workflow NFCORE_SMRNASEQ {
.mix(ch_fastq.single)
.set { ch_cat_fastq }

ch_versions = ch_versions.mix(CAT_FASTQ.out.versions.first().ifEmpty(null))
ch_versions = ch_versions.mix(CAT_FASTQ.out.versions.first())

mirna_adapters = params.with_umi ? [] : params.fastp_known_mirna_adapters

Expand Down Expand Up @@ -170,7 +170,7 @@ workflow NFCORE_SMRNASEQ {
// SUBWORKFLOW: MIRTRACE
//
MIRTRACE(ch_mirtrace_inputs)
ch_versions = ch_versions.mix(MIRTRACE.out.versions.ifEmpty(null))
ch_versions = ch_versions.mix(MIRTRACE.out.versions)

//
// SUBWORKFLOW: remove contaminants from reads
Expand Down Expand Up @@ -200,7 +200,7 @@ workflow NFCORE_SMRNASEQ {
mirna_gtf,
ch_reads_for_mirna
)
ch_versions = ch_versions.mix(MIRNA_QUANT.out.versions.ifEmpty(null))
ch_versions = ch_versions.mix(MIRNA_QUANT.out.versions)

//
// GENOME
Expand Down Expand Up @@ -242,7 +242,7 @@ workflow NFCORE_SMRNASEQ {
ch_workflow_summary = Channel.value(paramsSummaryMultiqc(summary_params))

ch_multiqc_files = Channel.empty()
ch_multiqc_files = ch_multiqc_files.mix(ch_collated_versions )
ch_multiqc_files = ch_multiqc_files.mix(ch_collated_versions)
ch_multiqc_files = ch_multiqc_files.mix(ch_workflow_summary.collectFile(name: 'workflow_summary_mqc.yaml'))
ch_multiqc_files = ch_multiqc_files.mix(FASTQ_FASTQC_UMITOOLS_FASTP.out.fastqc_raw_zip.collect{it[1]}.ifEmpty([]))
ch_multiqc_files = ch_multiqc_files.mix(FASTQ_FASTQC_UMITOOLS_FASTP.out.fastqc_trim_zip.collect{it[1]}.ifEmpty([]))
Expand Down

0 comments on commit c5e8393

Please sign in to comment.