Skip to content
Snippets Groups Projects
Commit efc2ba1b authored by Bienchen's avatar Bienchen
Browse files

Update README.md

parent ff88b88d
Branches
No related tags found
No related merge requests found
......@@ -62,7 +62,7 @@ $ DOCKER_BUILDKIT=1 docker build -t registry.scicore.unibas.ch/schwede/ma-wilkin
`DOCKER_BUILDKIT=1` is only needed for some older versions of Docker.
<a name="builduserid"></a>The Dockerfile knows two build time arguments (`--build-arg`), `MMCIF_USER_ID` and `ADD_DEV`. The latter is only used for developing the app. `MMCIF_USER_ID` sets the ID of the user running the translation script inside the Docker container. So files written by the Docker container belong to the user ID of the internal user. When you run into file permission issues with the produced ModelCIF files, build the Docker container using your own user ID:
<a name="builduserid"></a>The Dockerfile knows two [build time arguments](https://docs.docker.com/engine/reference/commandline/build/#set-build-time-variables---build-arg) (`--build-arg`), `MMCIF_USER_ID` and `ADD_DEV`. The latter is only used for developing the app. `MMCIF_USER_ID` sets the ID of the user running the translation script inside the Docker container. So files written by the Docker container belong to the user ID of the internal user. When you run into file permission issues with the produced ModelCIF files, build the Docker container using your own user ID:
```terminal
$ DOCKER_BUILDKIT=1 docker build --build-arg MMCIF_USER_ID=<YOUR USER ID> -t registry.scicore.unibas.ch/schwede/ma-wilkins-import/converter:latest .
......@@ -118,7 +118,7 @@ To actually run the conversion, we assume the ColabFold projects are separated i
There can be more models for the same combination of the two UniProtKB ACs in a directory, the above example just shows the minimum required files.
Since the Docker container does not see the file system of the computer it is running on, the top level directory of the projects needs to be mounted when running. This happens with the `-v` option and gets absolute paths to the project directory and the mount point inside the Docker container, e.g. `-v /path/to/projects:/data` makes the directory `/path/to/projects` on your computer, available as `/data` to the Docker container.
Since the Docker container does not see the file system of the computer it is running on, the top level directory of the projects needs to be mounted when running. This happens with the `-v` option and gets absolute paths to the projects directory and the mount point inside the Docker container, e.g. `-v /path/to/projects:/data` makes the directory `/path/to/projects` on your computer, available as `/data` to the Docker container.
Running the converter app to write the ModelCIF file back into the project directory for model of rank 1 looks like this:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment