Skip to content

Commit

Permalink
Merge pull request #1 from MarieLataretu/feature/better-publishing
Browse files Browse the repository at this point in the history
tweak publishing of results
  • Loading branch information
MarieLataretu authored Nov 11, 2023
2 parents c13fb30 + 9aa7442 commit 9012b8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions modules/bwa/index/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ process BWA_INDEX {
// custom label for easier identification in the log file
tag "$reference.simpleName"

// copy the results to a defined folder
publishDir "${params.outdir}", mode: 'copy'

// engine settings
conda 'bioconda::bwa=0.7.17 bioconda::samtools=1.18'
container 'rkimf1/bwa-samtools:0.7.17--6eae1f3'
Expand Down
4 changes: 2 additions & 2 deletions modules/bwa/mem/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ process BWA_MEM {
// custom label for easier identification in the log file
tag "$name"

// copy the results to a defined folder
publishDir "${params.outdir}", mode: 'copy'
// copy the BAM file to a defined folder
publishDir "${params.outdir}", mode: 'copy', pattern: "*.bam"

// engine settings
conda 'bioconda::bwa=0.7.17 bioconda::samtools=1.18'
Expand Down

0 comments on commit 9012b8d

Please sign in to comment.