Skip to content

Commit a208353

Browse files
committed
Get -profile test running
1 parent bd18b6c commit a208353

File tree

7 files changed

+268
-30
lines changed

7 files changed

+268
-30
lines changed

modules/local/multiqc.nf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ process MULTIQC {
1111
path multiqc_custom_config
1212
path software_versions
1313
path workflow_summary
14+
path methods_description
15+
path logo
1416
path fail_trimming_summary
1517
path fail_mapping_summary
1618
path fail_strand_check

modules/nf-core/modules/custom/dumpsoftwareversions/main.nf

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/modules/custom/dumpsoftwareversions/meta.yml

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/modules/custom/dumpsoftwareversions/templates/dumpsoftwareversions.py

Lines changed: 90 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/modules/fastqc/main.nf

Lines changed: 59 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/nf-core/modules/fastqc/meta.yml

Lines changed: 52 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

workflows/rnaseq.nf

Lines changed: 7 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,6 @@ include { QUANTIFY_SALMON as QUANTIFY_SALMON } from '../subworkflows/local/
130130
//
131131
// MODULE: Installed directly from nf-core/modules
132132
//
133-
<<<<<<< HEAD
134-
include { FASTQC } from '../modules/nf-core/fastqc/main'
135-
include { MULTIQC } from '../modules/nf-core/multiqc/main'
136-
include { CUSTOM_DUMPSOFTWAREVERSIONS } from '../modules/nf-core/custom/dumpsoftwareversions/main'
137-
=======
138133
include { CAT_FASTQ } from '../modules/nf-core/modules/cat/fastq/main'
139134
include { BBMAP_BBSPLIT } from '../modules/nf-core/modules/bbmap/bbsplit/main'
140135
include { SAMTOOLS_SORT } from '../modules/nf-core/modules/samtools/sort/main'
@@ -144,7 +139,6 @@ include { SORTMERNA } from '../modules/nf-core/modules/sortmer
144139
include { STRINGTIE_STRINGTIE } from '../modules/nf-core/modules/stringtie/stringtie/main'
145140
include { SUBREAD_FEATURECOUNTS } from '../modules/nf-core/modules/subread/featurecounts/main'
146141
include { CUSTOM_DUMPSOFTWAREVERSIONS } from '../modules/nf-core/modules/custom/dumpsoftwareversions/main'
147-
>>>>>>> origin/dev
148142

149143
//
150144
// SUBWORKFLOW: Consisting entirely of nf-core/modules
@@ -771,30 +765,16 @@ workflow RNASEQ {
771765
workflow_summary = WorkflowRnaseq.paramsSummaryMultiqc(workflow, summary_params)
772766
ch_workflow_summary = Channel.value(workflow_summary)
773767

774-
<<<<<<< HEAD
775-
methods_description = WorkflowRnaseq.methodsDescriptionText(workflow, ch_multiqc_custom_methods_description)
776-
ch_methods_description = Channel.value(methods_description)
777-
778-
ch_multiqc_files = Channel.empty()
779-
ch_multiqc_files = ch_multiqc_files.mix(ch_workflow_summary.collectFile(name: 'workflow_summary_mqc.yaml'))
780-
ch_multiqc_files = ch_multiqc_files.mix(ch_methods_description.collectFile(name: 'methods_description_mqc.yaml'))
781-
ch_multiqc_files = ch_multiqc_files.mix(CUSTOM_DUMPSOFTWAREVERSIONS.out.mqc_yml.collect())
782-
ch_multiqc_files = ch_multiqc_files.mix(FASTQC.out.zip.collect{it[1]}.ifEmpty([]))
783-
784-
MULTIQC (
785-
ch_multiqc_files.collect(),
786-
ch_multiqc_config.collect().ifEmpty([]),
787-
ch_multiqc_custom_config.collect().ifEmpty([]),
788-
ch_multiqc_logo.collect().ifEmpty([])
789-
)
790-
multiqc_report = MULTIQC.out.report.toList()
791-
ch_versions = ch_versions.mix(MULTIQC.out.versions)
792-
=======
768+
methods_description = WorkflowRnaseq.methodsDescriptionText(workflow, ch_multiqc_custom_methods_description)
769+
ch_methods_description = Channel.value(methods_description)
770+
793771
MULTIQC (
794772
ch_multiqc_config,
795773
ch_multiqc_custom_config.collect().ifEmpty([]),
796774
CUSTOM_DUMPSOFTWAREVERSIONS.out.mqc_yml.collect(),
797775
ch_workflow_summary.collectFile(name: 'workflow_summary_mqc.yaml'),
776+
ch_methods_description.collectFile(name: 'methods_description_mqc.yaml'),
777+
ch_multiqc_logo.collect().ifEmpty([]),
798778
ch_fail_trimming_multiqc.ifEmpty([]),
799779
ch_fail_mapping_multiqc.ifEmpty([]),
800780
ch_fail_strand_multiqc.ifEmpty([]),
@@ -829,7 +809,6 @@ workflow RNASEQ {
829809
)
830810
multiqc_report = MULTIQC.out.report.toList()
831811
}
832-
>>>>>>> origin/dev
833812
}
834813

835814
/*
@@ -842,14 +821,12 @@ workflow.onComplete {
842821
if (params.email || params.email_on_fail) {
843822
NfcoreTemplate.email(workflow, params, summary_params, projectDir, log, multiqc_report, fail_percent_mapped)
844823
}
845-
<<<<<<< HEAD
846-
NfcoreTemplate.summary(workflow, params, log)
824+
847825
if (params.hook_url) {
848826
NfcoreTemplate.adaptivecard(workflow, params, summary_params, projectDir, log)
849827
}
850-
=======
828+
851829
NfcoreTemplate.summary(workflow, params, log, fail_percent_mapped, pass_percent_mapped)
852-
>>>>>>> origin/dev
853830
}
854831

855832
/*

0 commit comments

Comments
 (0)