From e83035e8298415c897fa25bd394d1c93d1ada958 Mon Sep 17 00:00:00 2001 From: Wenwen Huo <39632669+huoww07@users.noreply.github.com> Date: Wed, 26 Oct 2022 21:32:06 -0500 Subject: [PATCH] Update README.md include more instructions with docker and singularity usage --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 13f30e2..e730527 100644 --- a/README.md +++ b/README.md @@ -31,15 +31,26 @@ brew install brewsci/bio/prokka ### Docker Maintained by https://hub.docker.com/u/staphb ``` - +# pull docker image to local docker pull staphb/prokka:latest + +# test run to print out help messages from prokka docker run staphb/prokka:latest prokka -h + +# actual run: remember to add such as /user/Documents +docker run -v :/mydata staphb/prokka:latest prokka --outdir /mydata/annotation /mydata/contigs.fa ``` ### Singularity ``` +# build local image singularity build prokka.sif docker://staphb/prokka:latest + +# test run to print out help messages from prokka singularity exec prokka.sif prokka -h + +# actual run: remember to use --bind to link absolute local path continaing contigs.fa to singularity path /mydata +singularity exec --bind /local/path/to/fasta:/mydata prokka.sif prokka --outdir /mydata/annotation /mydata/contigs.fasta ``` ### Ubuntu/Debian/Mint