-
Notifications
You must be signed in to change notification settings - Fork 22
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
deeparg bioconda singularity container is borked #23
Comments
Note to self
then apparently to build a docker container from built conda env...
UPDATE
Doesn't solve the the PKG issue though... (Note: it seems Biocontainer docs are out of date of the latest |
@Midnighter identified that the ErrNo files are not allowed to be read at all, even when in the docker container?!
|
Suggestion again from @Midnighter : update the DerpARG bioconda recipe to patch the files. So move the |
Maybe |
First attmpet:
|
We suspect the specific version of the recipe of theano used was SO OLD it had broken permissions that with modern tooling don't work (making it too restrictive). So the above should loosen those permissions (we hope) |
That didn't work either, so going to remove support for DeepaRG for now |
I was thinking, what if we change the |
It was singularity that failed... I dunno... Maybe worth a shot? Could you try it out? |
Currently, I don't have singularity installed but might get around to it. |
Ah ok, I'll see if I can find the relevent options |
This does actually work, but not sure how to customise |
Lets see if this is possible... |
It is with |
We need AWS batch support for the full_tests :\ |
Ah but it's only singularity is effected, so if we can turn on container options only for singularity runs then that would work 🤔 |
Should be possible with containerOptions "${workflow.containerEngine == 'singularity' ? '--fakeroot' : ''}" |
Aha, |
For workflow you can find it here https://www.nextflow.io/docs/latest/metadata.html, I haven't found a list yet for |
Support for AWS Batch was only added recently, check the edge docs. Currently |
Also funny enough I just submitted a Nextflow issue about the |
|
The workaround is in. @pontus has also kindly pointed a possibly more safe and more portable solution which is to make our own copy of PKG-INFO, and pass that with bind paths
This is a nice solution as Or we just make that a required input file....? |
If this is the only file, then yes, that's a perfect solution. |
@Midnighter thinks it's required... but I can just dump it onto test-datasets ;) |
If |
Ok maybe I try that... simple EDIT: tomorrow ;) |
Ah, yes, I should have tried that :) If I run interactively, I can do
fine with an empty file (no difference in output compared to an actual copy). |
Ok But I will try just executing against |
I think we fixed in the end 👍 |
I'm currently wrapping the deepARG tool so that it can be integrated into Galaxy, which requires the tool to be tested. These tests are carried out automatically in a Docker container with a Docker pull of the biocontainer of interest (in this case deepARG). |
Hi @hugolefeuvre ! Basically we ended up just mounting a dummy file (the bash binary of the execution node) to with the name of PKG_INFO to satisfy it: Not ideal but we've not had any one report issues with it yet |
It worked perfectly, thanks @jfy133 ! |
Description of the bug
Need to to fix it (this module will plague me forever it seems...)
I'm hoping warning and error is related. I'll try and add g++ to the conda recipe under
run
Command used and terminal output
No response
Relevant files
No response
System information
No response
The text was updated successfully, but these errors were encountered: