Hi! I am using CWL to run a program, and when I do cwl-runner tool.cwl tool_params.yml, the docker command has a
--user=500:500
When I try running my tool, there is an id error that doesn't allow me to run it correctly (see https://gatkforums.broadinstitute.org/gatk/discussion/comment/59004#Comment_59004).
How can I make it use the correct uid? I checked my etc/passwd file and the user is indeed 500:500 Any ideas what may be going on?
Thank you,
Best,
Daiana
I'm not sure this problem is caused by lacking permissions. But then again i have no experience using GATK. Would you mind sharing the docker container and the command line tool?
Hi Tom! Sorry for the belated response. Here is the command line tool where you can see the docker container:
Thanks, Daiana
Hi Daiana! Did the answer below help you? Please feel free to ask if you have further questions.
Coming from a biology background, it takes me a lot of time (and questions in this forum) to figure some of the bioinformatics stuff out. So i'm very sympathetic to anyone needing more elaborate explanations
Regards, Tom
Hi Tom, thank you very much for your help! Indeed, I have stuggled a lot with bioinformatic stuff !! I'm sorry for my belated response, but I have yet not been able to make it work... Maybe there is something wrong with my importation of the dockerfile? Just to be sure, my new code has:
And then my gatk-docker.yml is:
And the gatk-Dockerfile is your dockerfile posted below. Still when I run it, I get the same error... Any ideas on what may be going on? How did you manage to make it work? Would you mind sharing the command and code?
Thank you very much again!
Regards,
Daiana
I just realized that you use the Github file and not the Docker image, maybe that is what I am doing wrong... I'll check and get back to you !
You have to remove the
dockerPull: broadinstitute/gatk:4.1.2.0
line from your code. The broadinstitutes docker container is part of the issue, so you don't want to use that one anymore.I used the Dockerfile i posted below. I usually put my containers on docker hub, but the easiest solution would be to just put the Dockerfile right into the .cwl file. Like so: