Evangelos Karatzas
01/30/2025, 11:36 AMbiopython: \$(python -c "import pkg_resources; print(pkg_resources.get_distribution('biopython').version)")
This produces a warning saying that pkg_resources is deprecated.
To fix, use this instead:
biopython: \$(python -c "import importlib.metadata; print(importlib.metadata.version('biopython'))")Jonas S
01/30/2025, 12:04 PMbiopython: \$(python3 -c "import Bio; print(Bio.__version__)")
This worked for me and is a bit better readableJonas S
01/30/2025, 12:05 PMcontainer "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ?
'oras://community.wave.seqera.io/library/biopython:1.85--a6f54362a38870a0' :
'community.wave.seqera.io/library/biopython:1.85--6f761292fa9881b4' }"Evangelos Karatzas
01/30/2025, 12:09 PMPhil Ewels
01/30/2025, 12:11 PMJonas S
01/30/2025, 12:11 PMPhil Ewels
01/30/2025, 12:12 PMhttps://community-cr-prod.seqera.io/docker/registry/v2/blobs/sha256/83/8372f6241b480332d91bc00a88ec8c72c8f7fcc9994177a5dd67a07007cd6e32/data
🙂Phil Ewels
01/30/2025, 12:13 PMoliviercoen
02/04/2025, 1:40 PMPhil Ewels
02/04/2025, 1:52 PMPhil Ewels
02/04/2025, 1:52 PMPhil Ewels
02/04/2025, 1:53 PMoliviercoen
02/04/2025, 2:00 PMPhil Ewels
02/04/2025, 2:10 PMPhil Ewels
02/04/2025, 2:11 PMhttps is safer and I basically don't see any downsidesoliviercoen
02/04/2025, 5:19 PMtuple val("${task.process}"), val('python'), eval("python3 --version | sed 's/Python //'"), topic: versions
tuple val("${task.process}"), val('polars'), eval('python3 -c "import polars; print(polars.__version__)"'), topic: versions
and for Rscripts:
tuple val("${task.process}"), val('R'), eval('Rscript -e "cat(R.version.string)" | sed "s/R version //"'), topic: versions
tuple val("${task.process}"), val('DESeq2'), eval('Rscript -e "cat(as.character(packageVersion(\'DESeq2\')))"'), topic: versions