Skip to content

Commit 593f7cf

Browse files
committed
Document DPPOP container smoke test
1 parent a2dda63 commit 593f7cf

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

‎src/DPPOP.CLI/README.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@ Run it with mounted input data under `/data`:
2222
docker run --rm --mount "type=bind,source=C:/my-data,target=/data" dppop --proteome /data/proteome.fasta --proteins-of-interest /data/targets.fasta --output /data/results.tsv
2323
```
2424

25+
### Local container smoke test
26+
27+
From the repository root, build the image and run it against the checked-in
28+
container fixtures:
29+
30+
```powershell
31+
docker build -t dppop:local .
32+
33+
docker run --rm `
34+
--mount "type=bind,source=${PWD}\tests\Container\data,target=/data" `
35+
dppop:local `
36+
--proteome /data/Chlamy_JGI5_5.fasta `
37+
--proteins-of-interest /data/rbcl.fasta `
38+
--model plant `
39+
--output /data/dppop-results.tsv
40+
```
41+
42+
The command mounts `tests/Container/data` as writable so the output TSV is
43+
created next to the two input FASTA files.
44+
2545
### Notes
2646

2747
- `--model` controls the normalization profile and accepts `plant` or `nonplant`.

0 commit comments

Comments
 (0)