Skip to content

Commit d8f2f50

Browse files
committed
Specify command for pulled Docker image
1 parent 9a56d71 commit d8f2f50

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,22 @@ Pull from Docker Hub or build the image using the stored [Dockerfile](./Dockerfi
7979
# docker pull niklases/pypef:VERSION_TAG, e.g.
8080
docker pull niklases/pypef:0.4.2
8181
```
82-
82+
a chained container command using the built Docker image can be run with e.g.:
83+
```bash
84+
docker run --gpus=all -v ./datasets/:/datasets --workdir /datasets/AVGFP niklases/pypef:0.4.2 /bin/bash -c \
85+
"python /app/run.py mklsts --wt P42212_F64L.fasta --input avGFP.csv --ls_proportion 0.01 && \
86+
python /app/run.py hybrid --ls LS.fasl --ts TS.fasl --params GREMLIN --llm prosst --wt P42212_F64L.fasta --pdb GFP_AEQVI.pdb"
87+
```
8388
- building image from Dockerfile
8489
```bash
8590
docker build -t pypef . # --progress=plain --no-cache
8691
```
87-
88-
89-
A chained container command using the built Docker image can be run with e.g.:
90-
```bash
91-
docker run --gpus=all -v ./datasets/:/datasets --workdir /datasets/AVGFP pypef /bin/bash -c \
92-
"python /app/run.py mklsts --wt P42212_F64L.fasta --input avGFP.csv --ls_proportion 0.01 && \
93-
python /app/run.py hybrid --ls LS.fasl --ts TS.fasl --params GREMLIN --llm prosst --wt P42212_F64L.fasta --pdb GFP_AEQVI.pdb"
94-
95-
```
92+
a chained container command using the built Docker image can be run with e.g.:
93+
```bash
94+
docker run --gpus=all -v ./datasets/:/datasets --workdir /datasets/AVGFP pypef /bin/bash -c \
95+
"python /app/run.py mklsts --wt P42212_F64L.fasta --input avGFP.csv --ls_proportion 0.01 && \
96+
python /app/run.py hybrid --ls LS.fasl --ts TS.fasl --params GREMLIN --llm prosst --wt P42212_F64L.fasta --pdb GFP_AEQVI.pdb"
97+
```
9698

9799

98100
<a name="gui-installation"></a>

0 commit comments

Comments
 (0)