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

Recommend setting singularity cache directory #268

Closed
ewels opened this issue Aug 8, 2018 · 6 comments · Fixed by #695
Closed

Recommend setting singularity cache directory #268

ewels opened this issue Aug 8, 2018 · 6 comments · Fixed by #695
Labels

Comments

@ewels
Copy link
Member

ewels commented Aug 8, 2018

From @ewels on July 12, 2018 7:34

We should instruct people to set NXF_SINGULARITY_CACHEDIR as part of the installation instructions.

Copied from original issue: nf-core/cookiecutter#39

@ewels
Copy link
Member Author

ewels commented Aug 18, 2019

We could also set singularity.cacheDir in the pipeline configs..

@drpatelh
Copy link
Member

I think this would be cool. Ill give it a go using the crick.config. if there is some sort of standardised naming convention used locally e.g. rnaseq/1.1/ then this could be replaced by NF variables at run-time to get the correct container.

What if the container hasn't been downloaded locally yet though? i.e. the folder doesn't exist. Just download it 😄

@drpatelh
Copy link
Member

drpatelh commented Aug 18, 2019

Or have a single folder with all of the images for all pipelines?

@ewels
Copy link
Member Author

ewels commented Aug 18, 2019

Don’t need to worry about folder and file names - nextflow handles all that for you from memory. This is purely the base directory that it does it from. It defaults to work/singularity from memory.

@maxulysse
Copy link
Member

@ewels ewels transferred this issue from nf-core/tools Feb 6, 2020
@jfy133 jfy133 added the first-timers-only Good for newcomers label Mar 22, 2021
@ewels ewels linked a pull request Mar 22, 2021 that will close this issue
@ewels ewels closed this as completed Mar 22, 2021
@ewels
Copy link
Member Author

ewels commented Mar 22, 2021

We could also set singularity.cacheDir in the pipeline configs..

This was done as part of nf-core/tools#832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants