You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Under the new method, log files are automatically saved to ${params.log_output_dir}/process-log/${task.ext.log_dir}${task.ext.log_dir_suffix}/ (no need to specify a publishDir directive).
${task.ext.log_dir} defaults to ${task.process.replace(':', '/')}. ${task.ext.log_dir_suffix} defaults to a blank string.
The key steps are:
Add methods.setup_process_afterscript() to methods.setup().
For each Nextflow process:
Remove the file ".command.*"output directive.
Add ext log_dir { ... } and ext log_sur_suffix { ... } directives, if appropriate.
Remove the publishDir directive with pattern: ".command.*".
This pipeline does some atypical configuration with params.workflow_log_output_dir, but that can still be handled with ext log_dir:
We should incorporate the new
methods.setup_process_afterscript()
from uclahs-cds/pipeline-Nextflow-config#64 into this pipeline.Under the new method, log files are automatically saved to
${params.log_output_dir}/process-log/${task.ext.log_dir}${task.ext.log_dir_suffix}/
(no need to specify apublishDir
directive).${task.ext.log_dir}
defaults to${task.process.replace(':', '/')}
.${task.ext.log_dir_suffix}
defaults to a blank string.The key steps are:
methods.setup_process_afterscript()
tomethods.setup()
.file ".command.*"
output
directive.ext log_dir { ... }
andext log_sur_suffix { ... }
directives, if appropriate.publishDir
directive withpattern: ".command.*"
.This pipeline does some atypical configuration with
params.workflow_log_output_dir
, but that can still be handled withext log_dir
:Current
pipeline-call-sSNV/main.nf
Lines 74 to 76 in 772592a
pipeline-call-sSNV/module/somaticsniper-processes.nf
Lines 18 to 21 in 772592a
Updated
See https://github.com/uclahs-cds/pipeline-recalibrate-BAM/pull/76/files for a full example.
The text was updated successfully, but these errors were encountered: