Skip to content

Commit

Permalink
Fixing output file locations
Browse files Browse the repository at this point in the history
  • Loading branch information
atrull314 committed Jul 2, 2024
1 parent 6d4bb3d commit 0656fe5
Showing 1 changed file with 27 additions and 2 deletions.
29 changes: 27 additions & 2 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ if (!params.skip_qc){
]
}
}

process {
withName:'.*:BAM_SORT_STATS_SAMTOOLS_DEDUP:BAM_STATS_SAMTOOLS:.*' {
ext.prefix = { "${meta.id}.dedup.sorted" }
Expand Down Expand Up @@ -229,6 +229,22 @@ if (!params.skip_qc) {

}

// READ COUNTS
if (!params.skip_qc) {

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

}

}

/////////////////////
// REFERENCE FILES //
/////////////////////
Expand Down Expand Up @@ -306,7 +322,7 @@ process {

// GUNZIP
process {
withName: '.*:GUNZIP' {
withName: '.*:GUNZIP.*' {
publishDir = [
enabled: false
]
Expand Down Expand Up @@ -506,6 +522,15 @@ process {
}
}

process {
withName:'.*:BAM_SORT_STATS_SAMTOOLS_TAGGED:.*' {
ext.prefix = { "${meta.id}.sorted" }
publishDir = [
enabled: false
]
}
}

process {
withName:'.*:BAM_SORT_STATS_SAMTOOLS_DEDUP:SAMTOOLS_SORT' {
ext.prefix = { "${meta.id}.dedup.sorted" }
Expand Down

0 comments on commit 0656fe5

Please sign in to comment.