Skip to content

Potential add-ons

Thanks for the cool template, on top of my head here is what could go into it as well.

  • cache for singularity apptainer cacheDir = '/scratch/YOUR_NAME/singularity-cache'
  • the following for version tracking
manifest {
  nextflowVersion = '>= 23.04.0'
}
  • some conda section
conda {
  enabled = true
  useMamba = true
  cacheDir = '/someDir/envs/nextflow' 
}
  • I think from Matthew Boulanger
def trace_timestamp = new java.util.Date().format('yyyy-MM-dd_HH-mm-ss')

report {
  enabled = true
  file = "${params.out_dir}/${params.name}_${trace_timestamp}_report.html"
}

timeline {
  enabled = true
  file = "${params.out_dir}/${params.name}_${trace_timestamp}_timeline.html"
}

trace {
  enabled = true
  file = "${params.out_dir}/${params.name}_${trace_timestamp}_trace.txt"
}

dag {
  enabled = true
  file = "${params.out_dir}/${params.name}_${trace_timestamp}_dag.html"
}