Hello, I have a dumb question. Where can I found w...
# help
l
Hello, I have a dumb question. Where can I found which container are used in a nf-core pipeline and which version is used for traceability? I am currently trying to use a "simple nf-core pipeline", bamtofastq. Thank you very much for your help !
j
In terms of the tool version, you should have a big list of versions at the bottom of the MultiQC report
I believe there is a
nextflow inspect
command that can give you a list of all contains 🙂
Copy code
$ nextflow inspect nf-core/mag -r 3.4.0
Monitor the execution with Seqera Platform using this URL: https://cloud.seqera.io/user/jfy133/watch/1rmlabj1bCSL2c
{
    "processes": [
        {
            "name": "MAG_DEPTHS_PLOT",
            "container": "quay.io/biocontainers/mulled-v2-d14219255233ee6cacc427e28a7caf8ee42e8c91:0a22c7568e4a509925048454dad9ab37fa8fe776-0"
        },
        {
            "name": "BUSCO",
            "container": "quay.io/biocontainers/busco:5.4.3--pyhdfd78af_0"
        },
        {
            "name": "ADAPTERREMOVAL",
            "container": "quay.io/biocontainers/adapterremoval:2.3.2--hb7ba0dd_0"
        },
        {
            "name": "BOWTIE2_ASSEMBLY_BUILD",
            "container": "quay.io/biocontainers/bowtie2:2.4.2--py38h1c8e9b9_1"
        },
        {
It seems to default to the docker container
l
Thank you! Is it possible that a container or a version of a tool change? Is it possible to have the container in our own cluster?
j
1. In that you yourself want to specify that a module uses a different container? 2. Yes! Nextflow will do this itself if you specify a cache directory
For 2 you need to either specify in your config e.g.
<container_engine>.cacheDir
and
<container_engine>.libraryDir
https://www.nextflow.io/docs/latest/reference/config.html#apptainer Or use the correspinduing environment variabels: https://www.nextflow.io/docs/latest/reference/env-vars.html
l
We trace in another document which version we use for an analysis and I wanted to be sure we are always using the same version (except if we are moving to a new version but we need to register it in our quality system).
👍 1
Thank you for all your comments, I think that to respect our good practices I will DL the containers and specify in my config the cacheDir and libraryDir !
👍 1
j
Note if you want to manually download because of offline cluster, nf-core tools supports thiS: https://nf-co.re/docs/usage/getting_started/offline
l
Insane!! Thank you!
n
Hi Laura! For checking containers used by modules inside a nf-core pipeline, I directly go to the script for the module. For example, the code of SAMtools-index module inside
bamtofastq
is here. From line 6-8, the container information says it's
'samtools (version) 1.21'
and the the container is `'singularuty`'. These information can be found in every
main.nf
file of nf-core modules. Hope that helps 🙂
👍 1