From bf05f40f5ea297aff21f33d95995d379bb07f469 Mon Sep 17 00:00:00 2001 From: Dan Fornika Date: Wed, 15 May 2024 15:03:23 -0700 Subject: [PATCH 1/3] Fix publishDir pattern for prokka outputs --- modules/prokka.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/prokka.nf b/modules/prokka.nf index f4a779c..5d429a7 100644 --- a/modules/prokka.nf +++ b/modules/prokka.nf @@ -4,7 +4,7 @@ process prokka { errorStrategy 'ignore' - publishDir params.versioned_outdir ? "${params.outdir}/${sample_id}/${params.pipeline_short_name}-v${params.pipeline_minor_version}-output" : "${params.outdir}/${sample_id}", pattern: "${sample_id}_${assembler}_prokka.{gbk,gff}", mode: 'copy' + publishDir params.versioned_outdir ? "${params.outdir}/${sample_id}/${params.pipeline_short_name}-v${params.pipeline_minor_version}-output" : "${params.outdir}/${sample_id}", pattern: "${sample_id}_${assembler}_${assembly_mode}_prokka.{gbk,gff}", mode: 'copy' input: tuple val(sample_id), path(assembly), val(assembler), val(assembly_mode) From 6be0d3f07d9d6ca583c46656bfda6e2ac22632c4 Mon Sep 17 00:00:00 2001 From: Dan Fornika Date: Wed, 15 May 2024 15:09:55 -0700 Subject: [PATCH 2/3] Run prokka in tests --- .github/scripts/run_pipeline.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/scripts/run_pipeline.sh b/.github/scripts/run_pipeline.sh index 7cc5112..486bb6b 100755 --- a/.github/scripts/run_pipeline.sh +++ b/.github/scripts/run_pipeline.sh @@ -10,5 +10,6 @@ nextflow run main.nf \ --cache ${HOME}/.conda/envs \ --fastq_input .github/data/fastq \ --outdir .github/data/test_output \ + --prokka \ -with-report .github/data/test_output/nextflow_report.html \ -with-trace .github/data/test_output/nextflow_trace.tsv From 6db62a285d15305a7cc2efa04d52609f658d8139 Mon Sep 17 00:00:00 2001 From: Dan Fornika Date: Wed, 15 May 2024 15:29:16 -0700 Subject: [PATCH 3/3] Fix artifacts name --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f5471f0..b4a7ccf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -44,5 +44,5 @@ jobs: uses: actions/upload-artifact@v4 if: always() with: - name: artifacts-BCCDC-PHL-tbprofiler-nf-nextflow-v${{ matrix.nextflow_version }}-${{ github.run_id }}.${{ github.run_attempt }} + name: artifacts-BCCDC-PHL-routine-assembly-nextflow-v${{ matrix.nextflow_version }}-${{ github.run_id }}.${{ github.run_attempt }} path: artifacts