Niklas Schandry
08/28/2026, 9:53 AMJim Downie
08/28/2026, 9:56 AMMaxime Garcia
08/28/2026, 9:57 AMMaxime Garcia
08/28/2026, 9:57 AMNiklas Schandry
08/28/2026, 9:58 AMMaxime Garcia
08/28/2026, 9:59 AMNiklas Schandry
08/28/2026, 10:00 AMMaxime Garcia
08/28/2026, 10:00 AMJim Downie
08/28/2026, 10:00 AMNiklas Schandry
08/28/2026, 10:01 AMMaxime Garcia
08/28/2026, 10:02 AMNiklas Schandry
08/28/2026, 10:02 AMch_assembly_manifest = ch_main_scaffolded
.map { it ->
def meta = it.meta
// A list of filenames, corresponding and the candidate output folder
[
[ meta.id, meta.scaffolds ? meta.scaffolds.ragtag ?: null : null, 'scaffold/ragtag' ],
[ meta.id, meta.scaffolds ? meta.scaffolds.hic ?: null : null, 'scaffold/hic/yahs' ],
[ meta.id, meta.scaffolds ? meta.scaffolds.longstitch ?: null : null, 'scaffold/longstitch' ],
[ meta.id, meta.scaffolds ? meta.scaffolds.links ?: null : null, 'scaffold/links' ],
[ meta.id, meta.polished ? meta.polished.pilon ?: null : null, 'polish/pilon' ],
[ meta.id, meta.polished ? meta.polished.medaka ?: null : null, 'polish/medaka' ],
[ meta.id, meta.polished ? meta.polished.dorado ?: null : null, 'polish/dorado' ],
[ meta.id, meta.assembly, {
// Assembly publishdirs are a bit more specific
meta.strategy == "single" ? (
meta.assembler_ont == "flye" || meta.assembler_hifi == "flye"
? 'assembly/flye'
: 'assembly/hifiasm'
) :
meta.strategy == "hybrid"
? 'assembly/hifiasm'
: 'assembly/ragtag'
}
]
]
}Niklas Schandry
08/28/2026, 10:03 AMNiklas Schandry
08/28/2026, 10:03 AM.filter {
_id, file, _subdir -> file != null
}
.map {
id, assembly_file, subdir ->
[
file(assembly_file).name.baseName(),
{"${outdir_uri}/${id}/${subdir}/${file(assembly_file).name}"}
]
}Niklas Schandry
08/28/2026, 10:04 AMDaniel Lundin
08/28/2026, 10:26 AMNiklas Schandry
08/28/2026, 11:43 AMPhil Ewels
08/28/2026, 12:23 PMI wish the index system was more flexible, at the moment it is not greatHop onto
#nextflow-syntax on the Nextflow slack with any suggestions!Phil Ewels
08/28/2026, 12:24 PMJim Downie
08/28/2026, 12:24 PMJim Downie
08/28/2026, 12:25 PMJim Downie
08/28/2026, 12:26 PMWe're hoping to stop making changes to the syntax for a while after this release, so get your ideas in quickly otherwise it might be a while before it happenswe do need to catch up 🙏🙏🙏