git clone https://github.com/Rfam/rfam-family-pipeline.git
cd /path/to/rfam-family-pipeline
docker image build -t rfam-local .
docker run -i -t rfam-local:latest /bin/bash
:warning: Your work will be lost after killing the container. To prevent that from happening do one of the following:
docker container ls # use this to find the container id
docker container cp CONTAINER_ID:/workdir/within/container /path/to/local/dir
docker run -i -t rfam-local:latest -v /path/to/local/workdir:/workdir /bin/bash
Note: Update Rfam/Conf/rfam.conf to provide a local location of the sequence database
and Rfam/Conf/rfam_local.conf to establish a connection with the public MySQL database.
To easily test any changes your make to the code, mount your local directory to the rfam-family-pipeline directory in the docker container.
docker run -i -t rfam-local:latest -v /path/to/local/rfam-family-pipeline:/Rfam/rfam-family-pipeline bash
:exclamation: You can also mount a directory on your machine to the /workdir inside the container to have any testing output generated directly on your local machine:
docker run -i -t rfam-local:latest -v /path/to/local/rfam-family-pipeline:/Rfam/rfam-family-pipeline -v /path/to/local/dir:/workdir bash
Content type
Image
Digest
Size
1.6 GB
Last updated
about 6 years ago
docker pull ikalvari/rfam-cloud:kubes