-
Notifications
You must be signed in to change notification settings - Fork 1
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
Singularity does not automatically bind current working directory #10
Comments
Thanks very much for the investigatory work! This looks like it is system-specific and so only relevant on a case-by-case basis depending on how singularity has been configured and installed for each user. I think in your case the best solution would be to create a new configuration file called
These settings will then apply globally to all Nextflow pipelines run by you on your system which make use of singularity, without need to edit the This is based on the troubleshooting from nf-core that you found, and the singularity config scope here: and the steps in singularity manual here: |
Thanks for the follow up. Is there anyway to automate this process where the current working directory could be added as a binding, upon initiation of the pipeline? If other users try to run this pipeline in a different directory on this computer, then we'll constantly need to customize config files. Our lab has a wide range of user expertise and troubleshooting and/or customizing config files might be beyond the abilities of some members. |
Yes, sure thing. You can change the You can then share the config file with all your users, who should save it as |
As noted in Issue #9 , this can be inelegantly solved by the user editing the Singularity system config file and then starting the pipeline.
However, I think the pipeline should automatically bind the working directory. This is especially important for users who do not have permissions to allow them to edit the Singularity system config file.
The text was updated successfully, but these errors were encountered: