diff --git a/CHANGELOG.md b/CHANGELOG.md index 322d56e6..4b134164 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,10 +13,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - [#142](https://github.com/nf-core/nascent/pull/142) - Add STAR aligner - [#149](https://github.com/nf-core/nascent/pull/149) - Add Software citations to MultiQC +### Fixed + +- [#171](https://github.com/nf-core/nascent/pull/171) - Clean up MultiQC report + ### Changed - [#137](https://github.com/nf-core/nascent/pull/137) - Use singularity containers for PINTS - [#142](https://github.com/nf-core/nascent/pull/142) - Updated CHM13 references +- [#171](https://github.com/nf-core/nascent/pull/171) - Use assertAll in tests ### Fixed diff --git a/assets/multiqc_config.yml b/assets/multiqc_config.yml index 44c6bde6..c2263ca3 100644 --- a/assets/multiqc_config.yml +++ b/assets/multiqc_config.yml @@ -3,6 +3,29 @@ report_comment: > analysis pipeline. For information about how to interpret these results, please see the documentation. report_section_order: + fastqc: + order: 4004 + fastp: + order: 4003 + star: + order: 3000 + hisat2: + order: 3000 + samtools: + order: 3000 + featurecounts_biotype: + order: 3000 + picard: + order: 3000 + preseq: + order: 3000 + qualimap: + order: 3000 + rseqc: + order: 3000 + umitools: + order: 3000 + # Summaries "nf-core-nascent-methods-description": order: -1000 software_versions: @@ -20,19 +43,14 @@ run_modules: - featureCounts - homer -module_order: - - fastqc: - name: "FastQC (raw)" - info: "This section of the report shows FastQC results before adapter trimming." - path_filters: - - "./fastqc/*.zip" - custom_data: grohmm_plot: section_name: "groHMM TD Plot" + description: "Transcription direction (TD) plot generated by groHMM" + plot_type: "image" sp: - my_custom_content_image: - fn: "./grohmm/*.tdplot.jpg" + grohmm_plot: + fn: "*.tdplot_mqc.jpg" ignore_images: false export_plots: true diff --git a/modules/local/grohmm/parametertuning/tests/main.nf.test b/modules/local/grohmm/parametertuning/tests/main.nf.test index 36925575..c80c61b4 100644 --- a/modules/local/grohmm/parametertuning/tests/main.nf.test +++ b/modules/local/grohmm/parametertuning/tests/main.nf.test @@ -28,7 +28,10 @@ nextflow_process { then { // FIXME Broken test - assert process.failed + assertAll( + { assert process.failed }, + { assert snapshot(process.out).match() } + ) } } diff --git a/modules/local/grohmm/transcriptcalling/tests/main.nf.test b/modules/local/grohmm/transcriptcalling/tests/main.nf.test index 21fdb8af..6b088542 100644 --- a/modules/local/grohmm/transcriptcalling/tests/main.nf.test +++ b/modules/local/grohmm/transcriptcalling/tests/main.nf.test @@ -27,8 +27,10 @@ nextflow_process { } then { - // FIXME Broken test - assert process.failed + assertAll( + { assert process.failed }, + { assert snapshot(process.out).match() } + ) } } diff --git a/nf-test.config b/nf-test.config index 261ec1c2..d8258c96 100644 --- a/nf-test.config +++ b/nf-test.config @@ -3,6 +3,7 @@ config { testsDir "." workDir System.getenv("NFT_WORKDIR") ?: ".nf-test" configFile "tests/nextflow.config" + profile "test" plugins { load "nft-bam@0.3.0" } diff --git a/subworkflows/local/grohmm/tests/main.nf.test b/subworkflows/local/grohmm/tests/main.nf.test index c54ce88a..59b159d0 100644 --- a/subworkflows/local/grohmm/tests/main.nf.test +++ b/subworkflows/local/grohmm/tests/main.nf.test @@ -27,8 +27,10 @@ nextflow_workflow { } then { - assert workflow.success - assert snapshot(workflow.out).match() + assertAll( + { assert workflow.success }, + { assert snapshot(workflow.out).match() } + ) } } @@ -55,8 +57,10 @@ nextflow_workflow { } then { - assert workflow.success - assert snapshot(workflow.out).match() + assertAll( + { assert workflow.success }, + { assert snapshot(workflow.out).match() } + ) } } @@ -84,8 +88,10 @@ nextflow_workflow { } then { - assert workflow.success - assert snapshot(workflow.out).match() + assertAll( + { assert workflow.success }, + { assert snapshot(workflow.out).match() } + ) } } diff --git a/workflows/tests/aligner/bwa.nf.test b/workflows/tests/aligner/bwa.nf.test index b8833f01..9add36bd 100644 --- a/workflows/tests/aligner/bwa.nf.test +++ b/workflows/tests/aligner/bwa.nf.test @@ -71,10 +71,13 @@ nextflow_pipeline { } then { - assert workflow.success - assert snapshot( - workflow.trace.tasks().size(), - ).match() + assertAll( + { assert workflow.success }, + { assert snapshot( + workflow.trace.tasks().size(), + ).match() + } + ) } } @@ -91,10 +94,13 @@ nextflow_pipeline { } then { - assert workflow.success - assert snapshot( - workflow.trace.tasks().size(), - ).match() + assertAll( + { assert workflow.success }, + { assert snapshot( + workflow.trace.tasks().size(), + ).match() + } + ) } }