Nicolai Laufer
04/03/2025, 8:16 AMMahesh Binzer-Panchal
04/03/2025, 9:06 AMmodule load PDC apptainer
and run with the -profile pdc_kth.
I usually load Nextflow with pixi or before that conda. It's fine to also just install the nextflow binary in your bin.
Also normally run in a screen session too. On Dardel you don't need to remember which login node you're in thoughMahesh Binzer-Panchal
04/03/2025, 9:09 AMpipeline_info for the reports of previous runsNicolai Laufer
04/03/2025, 10:00 AMMahesh Binzer-Panchal
04/03/2025, 10:48 AMcurl -fsSL <https://pixi.sh/install.sh> | sh
Depending on the operating systems you're working on and if you're using version control to share an environment between then you would do:
If you're only running nextflow on dardel, the leave off the -p osx-arm64 ( which would be for arm macs ).
# In your analysis project directory
pixi init -c conda-forge -c bioconda -p linux-64 -p osx-arm64
pixi add nextflow
pixi shell
nextflow run ...
pixi will write a pixi.toml file and a pixi.lock file which you should check into version control if you're using that.
Then each time you want to run the pipeline, you can go to that directory, run pixi shell , nextflow run ..., and then exit. I'll stop there. Just ask more if you're curious on utilizing Pixi further.Nicolai Laufer
04/03/2025, 11:35 AMpontus
04/03/2025, 5:40 PMMahesh Binzer-Panchal
04/04/2025, 8:37 AMNXF_VER and that's tracked in the log so one can choose their medicine. Using Pixi though means the others on my team who might take over end up using the same environment.Nicolai Laufer
04/07/2025, 7:46 AM# In your analysis project directory
pixi init -c conda-forge -c bioconda -p linux-64 -p osx-arm64
pixi add nextflow
pixi shell
nextflow run ...
) to run a next flow pipeline but then I encountered the following issue bash: singularity: command not found . What do I need to add to this, so it works?pontus
04/07/2025, 7:48 AMmodule load apptainer (or singularity, either should be fine).pontus
04/07/2025, 7:49 AMpdc_kth profile will make sure its available within the jobs but nextflow will want it available for the monitoring process to pull the images available over https before submitting the jobs.Mahesh Binzer-Panchal
04/07/2025, 7:54 AMmodule load PDC apptainer if the PDC module is not loaded tooNicolai Laufer
04/07/2025, 8:03 AMmodule load apptainer . But then I get the following error: Lmod has detected the following error: These module(s) or extension(s) exist but cannot be
loaded as requested: "apptainer"Mahesh Binzer-Panchal
04/07/2025, 8:04 AMPDC before apptainerNicolai Laufer
04/07/2025, 8:12 AMMahesh Binzer-Panchal
04/07/2025, 8:13 AMprojinfo that your project compute allocation code is correctMahesh Binzer-Panchal
04/07/2025, 8:14 AM-name Luuk2Nicolai Laufer
04/07/2025, 8:24 AMNicolai Laufer
04/07/2025, 9:26 AMMahesh Binzer-Panchal
04/07/2025, 9:27 AMpixi upgrade
and to update pixi
pixi self-updateMahesh Binzer-Panchal
04/07/2025, 9:28 AMpixi upgrade if you're using version controlNicolai Laufer
04/07/2025, 10:47 AMNicolai Laufer
04/07/2025, 2:45 PMMahesh Binzer-Panchal
04/08/2025, 6:57 AMpixi.lock or pixi.toml. Only package upgrades update those files. pixi self-update only upgrades the binary as far as I'm aware.Nicolai Laufer
04/08/2025, 9:16 AMMahesh Binzer-Panchal
04/08/2025, 9:26 AMNicolai Laufer
04/08/2025, 9:28 AMMahesh Binzer-Panchal
04/08/2025, 9:30 AMgit :
See https://nbisweden.github.io/workshop-reproducible-research/home_contents.htmlNicolai Laufer
04/08/2025, 9:37 AM