Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download wf in CMD #8

Closed
passelma42 opened this issue Dec 20, 2023 · 3 comments
Closed

Download wf in CMD #8

passelma42 opened this issue Dec 20, 2023 · 3 comments
Labels
question Further information is requested

Comments

@passelma42
Copy link

Ask away!

Hi, is it possible to download the wf through command line and run it offline? If so, how would I go about?

@passelma42 passelma42 added the question Further information is requested label Dec 20, 2023
@julibeg
Copy link
Contributor

julibeg commented Dec 20, 2023

Hi @passelma42! If you've run the wf to completion once (i.e. the pipeline and docker / singularity images have been pulled), you can run it without internet using the regular CLI command.

Please let us know if you're running into any issues.

@passelma42
Copy link
Author

passelma42 commented Dec 20, 2023 via email

@julibeg
Copy link
Contributor

julibeg commented Dec 23, 2023

Hi Pieter and sorry for the delay!

So I'll need to run it in the same working directory to where the singularity folder/images are pulled?

You can set the env variable NXF_SINGULARITY_CACHEDIR to tell singularity where to put / look for images. Depending on your HPC environment, some additional setup for running singularity offline might be necessary.

Is it also possible to run it with apptainer?

Apptainer and Singularity can be used interchangeably. Depending on your Apptainer installation, you might need to create a symlink named singularity in a directory somewhere in your $PATH to make it available.

Good luck!

@julibeg julibeg closed this as completed Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

2 participants