Hello! For my Nextflow pipeline, I would like to write process fields, such as memory usage, runtime, and process name, to a CSV file, with a row for each individual process, that is cumulative across runs. Is there any way to access these fields from within the script for each process? I know how to access these for each workflow, but was wondering if there was a process-specific equivalent to $workflow.duration and such? Or is it possible to access any info from the execution report within the run? Thank you in advance.
You can get such information through the trace report. Run your pipeline with the following extra parameter --with-trace
and you will find after the run is finished a file named trace.txt
in your current directory.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.