Niklas Schandry
01/22/2026, 3:04 PMmeta : Am I allowed to stuff whatever into meta in my pipeline, or are there guidelines that prohibit me from doing that? The background is that I am currently doing quite some join s to recover information stored in the channel, which is lost when I prepare the inputs for a process, but if I could store all of that valuable information in meta (e.g. meta.sample_data ), I could avoid joins, and thus blocking?Nicolas Vannieuwkerke
01/22/2026, 3:05 PMid and single_end, all other keys can be completely customSimon Pearce
01/22/2026, 3:06 PMmeta.id and meta.single_end , to not impose restrictions on useNiklas Schandry
01/22/2026, 3:06 PMNiklas Schandry
01/22/2026, 3:07 PMSimon Pearce
01/22/2026, 3:09 PMJim Downie
01/22/2026, 5:01 PM[id:baUndUnlc1.pri, assembler:hifiasm, long_read_dataset:baUndUnlc1, long_read_platform:pacbio_hifi, long_read_1n_coverage:[], illumina_hic_dataset:baUndUnlc1, illumina_10x_dataset:[], maternal_illumina_dataset:[], paternal_illumina_dataset:[], phased_assembly:false, trio_assembly:false, purge:true, polish:false, scaffold:true, assemble_mito:true, assemble_plastid:true, hifiasm_arguments:--primary -f0, purging_cutoffs:[], purge_middle:false, yahs_arguments:, busco_lineage:auto_euk, mitohifi_reference_species:Caradrina clavipalpis, mitohifi_mito_genetic_code:5, mitohifi_plastid_genetic_code:11, mitohifi_reads_arguments:, oatk_kmer_size:1000, oatk_coverage_cutoff:[], oatk_arguments:, oatk_mito_hmm:[], oatk_plastid_hmm:[], coverage:59.68]Niklas Schandry
01/22/2026, 5:02 PMJim Downie
01/22/2026, 5:04 PMNiklas Schandry
01/23/2026, 9:22 AMSimon Pearce
01/23/2026, 9:23 AMNiklas Schandry
01/23/2026, 9:24 AMNiklas Schandry
01/23/2026, 9:24 AMNiklas Schandry
01/23/2026, 3:25 PMConcurrentModificationException s, which I have not encountered beforeNiklas Schandry
01/23/2026, 3:26 PMNiklas Schandry
01/23/2026, 3:27 PMthing[0].unique()[0] into thing[0][0] which would work for my case but is kinda different, and suggested adding a bunch of .clone() statement, which I think I understand what they are supposed to do, but I am not convinced that they solve my problemJim Downie
01/23/2026, 3:30 PM.clone() as it's not guaranteed to return a deep copy?Niklas Schandry
01/23/2026, 3:32 PMNiklas Schandry
01/23/2026, 3:33 PMJim Downie
01/23/2026, 3:39 PMNiklas Schandry
01/23/2026, 3:40 PMJim Downie
01/23/2026, 3:40 PMJim Downie
01/23/2026, 3:40 PMNiklas Schandry
01/23/2026, 3:43 PM.flatMap { it -> // it looks like [meta, output_path]
it[0].metas
.collect { meta -> [ meta: meta + [hifireads: it[1]] ] }
}
potentially it is just dumb to use meta as key and valueNiklas Schandry
01/23/2026, 3:43 PMNiklas Schandry
01/24/2026, 2:21 PMoliviercoen
01/24/2026, 4:06 PMNiklas Schandry
01/25/2026, 1:24 PMConcurrentModificationException I complained about was caused by dumpMaxime Garcia
01/26/2026, 8:24 AMJim Downie
01/26/2026, 8:27 AMI think that's kind of the idea, yes. I don't think stuffing everything into meta is great, it seems like a crutch to do something that should be handled properly, but it is the only way i currently see to carry sample information through processes.From what I've seen so far of the Record type proposals in the 26.04 beta, I think we're still going to have to have
meta objects inside our nf-core modules 🙈Niklas Schandry
01/26/2026, 8:38 AMJim Downie
01/26/2026, 8:40 AM