Sign inSign up

helios/ensembl-docker-db

By helios

Updated almost 11 years ago

Instantiate an Ensembl database from docker.

Image
0

352

helios/ensembl-docker-db repository overview

Running the Database

Create your local db directories

mkdir -p /yourpath/log
mkdir -p /yourpath/mysql
mkdir -p /yourpath/ftp

Build the docker

git clone https://github.com/helios/ensembl-docker
cd ensembl-docker/database
docker build -t helios/ensembl-db .

Run the docker

Run the docker images which setup the first instance of MySQL.

docker run -p 5306:5306 -d --name ensembl-db -v /mnt/cdata/db/ensembl/log:/var/log/mysql -v /mnt/cdata/db/ensembl/mysql:/var/lib/mysql -v /mnt/cdata/db/ensembl/ftp:/ftp -e 'DB_REMOTE_ROOT_NAME=mysqldba' helios/ensembl-db

Initialize a database with the desired specie release and genome version

docker run --rm --link=ensembl-db -v /mnt/cdata/db/ensembl/ftp:/ftp -ti helios/ensembl-db /sbin/download_ensembl.sh homo_sapiens 81 38

Tag summary

Content type

Image

Digest

sha256:1f25fb5b6

Size

110.6 MB

Last updated

almost 11 years ago

docker pull helios/ensembl-docker-db