Skip to content

Commit

Permalink
publish samtools index into different dirs by alias
Browse files Browse the repository at this point in the history
  • Loading branch information
rannick committed Mar 21, 2022
1 parent bbec348 commit c262031
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,22 @@ process {
]
}

withName: SAMTOOLS_INDEX_FOR_ARRIBA {
publishDir = [
path: { "${params.outdir}/samtools_index_for_arriba" },
mode: 'copy',
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: SAMTOOLS_INDEX_FOR_QC {
publishDir = [
path: { "${params.outdir}/samtools_index_for_qc" },
mode: 'copy',
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

withName: SAMTOOLS_SORT_FOR_ARRIBA {
ext.prefix = { "${meta.id}_sorted" }
publishDir = [
Expand Down

0 comments on commit c262031

Please sign in to comment.