Thomas Krannich
06/26/2025, 12:40 PMJim Downie
06/26/2025, 12:44 PMsaveAs: function of the publishDir directive to rename the directory?James Fellows Yates
06/26/2025, 12:44 PMJim Downie
06/26/2025, 12:45 PMpublishDir = [
path: { "${params.outdir}/bwa_indexes" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('bwa') ? "${meta.id}_bwa_index" : null }
]Jim Downie
06/26/2025, 12:45 PMMahesh Binzer-Panchal
06/26/2025, 12:46 PMJim Downie
06/26/2025, 12:48 PMbwa , if you set saveAs you rename bwa insteadMahesh Binzer-Panchal
06/26/2025, 12:48 PMThomas Krannich
06/26/2025, 12:48 PMThomas Krannich
06/26/2025, 1:18 PM