Container definition
The container a module uses is defined in the container section. This container can be provided for
various engines and runtimes, like docker, apptainer
and podman, from official and private repositories (see dockerhub
and quay). A container can also be defined as a link to a valid OCI artifact (e.g. *.img
, *.simg
, *.tar.gz
).
Since our dependency is scilpy, we will use their images. Do the following replacements in the container section :
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? 'https://scil.usherbrooke.ca/containers/scilus_2.1.1.sif' : 'scilus/scilus:2.1.1' }"
Conda environment
Section titled “Conda environment”nf-neuro does not use conda
environments and does not run tests for it, but it is possible to define a
conda
environment following nf-core guidelines.
If doing so, open an issue to discuss it with the maintainers.
For now, we disable conda
support by filling the environment.yml file with the content below :
name: denoising_nlmeanschannels: [] # Empty, since we do not use conda.dependencies: [] # Empty, since we do not use conda.
With this, the main portion of the module is complete. Next, you will add metadata and tests to the module. You will also learn how to include quality control that get automatically collected into a report for your users to review after execution.