Felix Kummer
04/15/2025, 12:29 PMMahesh Binzer-Panchal
04/15/2025, 12:39 PMprocess FILTER_INPUT {
publishDir "${params.outdir}/resume/${workflow.runName}"
input:
val to_resume
exec:
file("${task.workDir}/inputs_to_resume.csv").text = (["file"] + to_resume).join("\n")
output:
path "inputs_to_resume.csv"
}
(from https://community.seqera.io/t/how-to-skip-specific-failed-samples-on-next-resume/2078)
Native processes ( exec: ) always run locally and can be good for quick processes.
The nextflow documentation has been updated recently to give a good overview of functions to work on iterables too: https://www.nextflow.io/docs/latest/reference/stdlib.html#iterable-eRike Hanssen
04/15/2025, 12:41 PMMahesh Binzer-Panchal
04/15/2025, 1:01 PMcatFelix Kummer
04/15/2025, 1:02 PMRike Hanssen
04/15/2025, 1:06 PMMahesh Binzer-Panchal
04/15/2025, 1:17 PM