Einar
06/25/2026, 12:32 PMMatthias De Smet
06/25/2026, 12:36 PMMatthias De Smet
06/25/2026, 12:36 PMEinar
06/25/2026, 12:37 PMMatthias De Smet
06/25/2026, 12:38 PMeval and handle it like we do the versions?Einar
06/25/2026, 12:38 PMmeta.id so I can have the sample and the associated valueEinar
06/25/2026, 12:38 PMMatthias De Smet
06/25/2026, 12:39 PMstdout option, then read it and add it to meta using mapEinar
06/25/2026, 12:39 PMEinar
06/25/2026, 12:39 PMMatthias De Smet
06/25/2026, 12:40 PMMatthias De Smet
06/25/2026, 12:41 PMEinar
06/25/2026, 12:41 PMMatthias De Smet
06/25/2026, 12:42 PMstdout if you’re just going to read the value anywayMatthias De Smet
06/25/2026, 12:42 PMMatthias De Smet
06/25/2026, 12:45 PMprocess stdoutprocess {
input:
tuple val(meta), path(whatever)
output:
tuple val(meta), stdout, emit: results
script:
"""
tool --input $whatever
"""
}
workflow {
stdoutprocess.results.map{ meta, out -> return [meta + [output: out]]}
}
Or smth like thisEinar
06/25/2026, 12:46 PMmeta.idEinar
06/25/2026, 12:46 PMsed to prepend meta.id then a tab, done.Matthias De Smet
06/25/2026, 12:46 PMPhil Ewels
06/25/2026, 3:57 PMstdout because it can sometimes pick up noise from other side processes (eg. slurm complaining about something)Phil Ewels
06/25/2026, 3:57 PM