Sunil
08/07/2026, 9:06 PMprocess {
withName: 'BOWTIE2_ALIGN' {
ext.args = {
[
meta.read_group ? "--rg-id ${meta.id} --rg SM:${meta.id - ~/_T\\d+$/} --rg PL:ILLUMINA --rg LB:${meta.id} --rg PU:1" : '',
params.seq_center ? "--rg CN:${params.seq_center}" : '',
'-X 1000'
].join(' ').trim()
}
}
withName: 'BAMTOOLS_FILTER' {
ext.args = {
[
meta.single_end ? '-F 0x004' : '-F 0x004 -F 0x0008 -f 0x001',
params.keep_dups ? '' : '-F 0x0400',
params.keep_multi_map ? '' : '-q 30'
].join(' ').trim()
}
}Kevin Brockers
08/21/2026, 7:03 AMcustom.config and supply it with the -c argument.
In case you have further chipseq pipeline specific questions, don't hesitate to ask in #CFP55NZ5G