Using Seqera Containers
Seqera Containers simplifies the container creation process for nf-core modules. Currently, nf-core supports Seqera Containers as an alternative to the default biocontainers source. In the future, Seqera Containers will become the default source for all nf-core module containers. For more information, see the nf-core blog post.
Follow these steps to obtain both Docker and Singularity containers from the Seqera Containers website and configure your modules for integration with nf-core workflows.
-
(Optional but recommended) Test the
environment.yml
file locally to ensure that all packages and their versions are compatible:conda env create -f environment.yml
-
Open the Seqera Containers website.
-
In the search bar, add all the required packages. You can copy and paste entries directly from your
environment.yml
file (for example,conda-forge::<TOOL>=<VERSION>
) to ensure that the correct channels and versions are used.Warningnf-core modules SHOULD include only a single tool and its required dependencies. Only add additional tools when necessary.
-
Set Container setting to
Docker
. -
Select Get Container.
-
Copy the generated container URL and add it to the last line of the container definition in your module’s
main.nf
file.NoteThe URL does not include
https://
at the beginning. Copy it exactly as shown. -
Change the Container settings to
Singularity
. -
Select Get container.
-
❕ Select the HTTPS checkbox.
NoteThis checkbox appears only after the container has been successfully built.
-
Copy the generated URL (including the
https://community-cr-prod...
prefix) and add it to the middle line of the container definition in your module’smain.nf
file.