Closed splaisan closed 1 year ago
Hello @splaisan. Thanks so much for reporting the issue.
We do not maintain the staphb docker image. If I use the most recent version of staramr (0.10.0) through the Docker image on quay.io/biocontainers everything does work fine when specifying to run the command as my local user.
image="quay.io/biocontainers/staramr:0.10.0--pyhdfd78af_0"
docker pull ${image}
docker run -it --rm --user "$(id -u):$(id -g)" -v $PWD:/data ${image} staramr search -o /data/staramr_results /data/SRR1952908.fasta
I hope this helps.
thanks a lot Aaron, I meanwhile used the dev version from the git but it is good to know that there is a better image out there
You're welcome. Here's the list of all versions available on quay.io/biocontainers: https://quay.io/repository/biocontainers/staramr?tab=tags (biocontainers are automatically built for any software in bioconda).
Hi,
When I run without
--user "$(id -u):$(id -g)"
the docker executes and I get results owned by rootIf I add --user to have results owned by me (much nicer for later cleanup)
docker run -it --rm --user "$(id -u):$(id -g)" -v $PWD:/data ${image} staramr search -o /data/staramr_results /data/bc${bc}_assembly.fasta
I get the error:
thanks for your help