Skip to content

Commit

Permalink
Bump version and docker description
Browse files Browse the repository at this point in the history
  • Loading branch information
SchwarzMarek committed Nov 25, 2019
1 parent 6c834c9 commit d517679
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions docs/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ Install compatible docker version from https://www.docker.com/.
- The Rfam database is in the container and it's version is 14.1.
- The container is ready to use - no other preparation should be necessary

## Prepare for running the examples
## Running the examples inside the docker container
### Prepare for running the examples
- Pull rboAnalyzer image
```
docker pull schwarzmarek/rboanalyzer:0.1
docker pull schwarzmarek/rboanalyzer:0.1.4
```

- Obtain the `examples` directory
Expand All @@ -29,11 +30,11 @@ Install compatible docker version from https://www.docker.com/.
Inside the session you can run rboAnalyzer commands. Take care to point the output files to the mounted directory (otherwise they will not be saved).

The commnand below expects that you are inside the directory with the data you want to analyze (e.g. the `examples` directory) and does following:
- Runs the `/bin/bash` in the specified container (`schwarzmarek/rboanalyzer:0.1`) in the interactive mode (`-it`)
- Runs the `/bin/bash` in the specified container (`schwarzmarek/rboanalyzer:0.1.4`) in the interactive mode (`-it`) thus providing interactive session
- Mounts the current directory (`source="$(pwd)"`) to `/data` directory (`target=/data`) inside the container. This will cause that any changes in the mounted directory inside the container will be propagated to the directory on host. (for other options see https://docs.docker.com/storage/)

```
docker container run -it --mount type=bind,source="$(pwd)",target=/data schwarzmarek/rboanalyzer:0.1 /bin/bash
docker container run -it --mount type=bind,source="$(pwd)",target=/data schwarzmarek/rboanalyzer:0.1.4 /bin/bash
```

Now you should see the content of the `examples` dictionary. If so, you can execute the commands from the [Example](../readme.md#Example) section.
2 changes: 1 addition & 1 deletion rna_blast_analyze/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.4
0.1.4a2

0 comments on commit d517679

Please sign in to comment.