Skip to content

Commit

Permalink
Correcting processes that show up as 'no matching config selector'
Browse files Browse the repository at this point in the history
  • Loading branch information
atrull314 committed Oct 2, 2023
1 parent 70eaa51 commit 1071e0a
Showing 1 changed file with 18 additions and 35 deletions.
53 changes: 18 additions & 35 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ if (!params.skip_qc && !params.skip_fastqc) {
]
}

withName: '.*:FASTQC_NANOPLOT_POST_TRIM:FASTQC' {
ext.prefix = { "${meta.id}.filtered" }
publishDir = [
path: { "${params.outdir}/${meta.id}/qc/fastqc/post_trim" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
if (!params.skip_trimming) {
withName: '.*:FASTQC_NANOPLOT_POST_TRIM:FASTQC' {
ext.prefix = { "${meta.id}.filtered" }
publishDir = [
path: { "${params.outdir}/${meta.id}/qc/fastqc/post_trim" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
}

withName: '.*:FASTQC_NANOPLOT_POST_EXTRACT:FASTQC' {
Expand All @@ -84,12 +86,14 @@ if (!params.skip_qc && !params.skip_nanoplot) {
]
}

withName: '.*:FASTQC_NANOPLOT_POST_TRIM:NANOPLOT' {
publishDir = [
path: { "${params.outdir}/${meta.id}/qc/nanoplot/post_trim/" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
if (!params.skip_trimming) {
withName: '.*:FASTQC_NANOPLOT_POST_TRIM:NANOPLOT' {
publishDir = [
path: { "${params.outdir}/${meta.id}/qc/nanoplot/post_trim/" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
}

withName: '.*:FASTQC_NANOPLOT_POST_EXTRACT:NANOPLOT' {
Expand Down Expand Up @@ -181,7 +185,7 @@ if (!params.skip_qc){

// PREPARE_REFERENCE_FILES
process {
withName: '.*:PREPARE_GTF' {
withName: '.*:PREPARE_REFERENCE_FILES:PREPARE_GTF' {
publishDir = [
enabled: false
]
Expand Down Expand Up @@ -321,27 +325,6 @@ process {
}
}

// PIGZ
process {
withName: '.*:ZIP_R1' {
publishDir = [
path: { "${params.outdir}/fastq/pre_extract/${meta.id}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
}

process {
withName: '.*:ZIP_R2' {
publishDir = [
path: { "${params.outdir}/fastq/pre_extract/${meta.id}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}
}

///////////////////////
// BARCODE DETECTION //
///////////////////////
Expand Down

0 comments on commit 1071e0a

Please sign in to comment.