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

The singularity image pulled from docker://sangerpathogens/roary does not accept input gff files #613

Open
dawnmy opened this issue Feb 19, 2024 · 2 comments

Comments

@dawnmy
Copy link

dawnmy commented Feb 19, 2024

Since conda failed to install roary, I switched to use singularity. I pulled the image with

singularity pull roary.sif docker://sangerpathogens/roary

But when I run the command:

singularity run pipelines/singularity/roary.sif roary -f outputs -e -n -v all_strains/*.gff -p 20

I got:

2024/02/19 16:58:50 Error: Cant access file all_strains/1.gff

I am sure all the gff files are in the all_strains dir and can be read

@cyanochic
Copy link

You may have already solved this since it's been a few months, but just in case you haven't. I use apptainer (essentially same as singularity) and I get this type of error when the container isn't allowed read/write access to that directory without additional options/flags. I fix this by adding --bind /path/to/directory/ after run.

@dawnmy
Copy link
Author

dawnmy commented Jul 18, 2024

Thank you so much for sharing the solution.

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

No branches or pull requests

2 participants