mpgagebioinformatics/bioinformatics_softwareThis image contains some of the most popular software used at Bioinformatics Core Facility of the Max Planck Institute for Biology of Ageing.
Software is versioned by making use of Environment Modules.
Additionally to the standard bioinformatics tools, there is also a Jupyter and RStudio server installation.
The Jupyter installation comes with Python 2, Python 3, and R kernels ready to go.
Check the GitHub repo for these images here.
mkdir -p ~/bioinf-container
sudo docker run -d -p 8787:8787 -p 8888:8888 \ -v ~/bioinf-container:/home/mpiage --name bioinf-container \ -it mpgagebioinformatics/bioinformatics_software:latest
sudo docker run -d -p 8787:8787 -p 8888:8888 \ -v ~/bioinf-container:/home/mpiage --name bioinf-container \ -it mpgagebioinformatics/bioinformatics_software:<tag>
sudo docker exec -i -t bioinf-container /bin/bash
sudo docker stop bioinf-container
Once you have connected to the running container you can start jupyter with
module load jupyterhub jupyter notebook --ip=0.0.0.0
A URL will be presented to you, and it should be pasted into your host's browser (Chrome recommended).
For using the ruby kernel you will have to get your kernel registered by running once
module load jupyterhub iruby notebook
Rstudio server withmodule load rlang sudo rstudio-server start
You can then get access by connecting on your host's browser to http://localhost:8787.
For stopping the server use:
sudo rstudio-server stop
On a Mac install socat and xquartz:
brew install socat brew install xquartz
Open Xquartz:
open -a Xquartz
Then navigate to XQuartz > Preferences > Security and tick the box 'Allow connections from network clients'.
Check your ip address:
IP=$(ifconfig en0 | grep inet | awk '{ print $2 }')
Start socat:
socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
an then start the container by adding the -e DISPLAY=${IP}:0 argument.
Complete example call:
IP=$(ifconfig en0 | grep inet | awk '{ print $2 }') && \ socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\" & \ docker run -d -e DISPLAY=${IP}:0 -p 8787:8787 -p 8888:8888 \ -v ~/bioinf-container:/home/mpiage --name bioinf-container \ -it mpgagebioinformatics/bioinformatics_software:latest
User: mpiage
Pass: bioinf
Note : As only the home folder in the guest container gets mapped to the local host, all files NOT placed IN the home folder will be lost if the container is removed.
A centralized software system. The modules system loads software (version of choice) and changes environment variables (eg. LD_LIBRARY_PATH).
module availmodule whatis samtoolsmodule show samtoolsmodule load samtoolsmodule load samtools/1.2.1module listmodule unload samtoolsmodule purgeAll images are released with the following tag structure:
<major release>.<changed system package>.<changed software module>
container:~$ module avail ------------------------------- /modules/modulefiles/bioinformatics ------------------------------- bamutil/1.0.14(default) hisat/2.1.0(default) samtools/0.1.19 bcl2fastq/2.20.0.422(default) homer/4.11.0(default) samtools/1.9.0(default) bedtools/2.29.0(default) igor/1.3.0(default) segemehl/0.2.0(default) blast/2.9.0(default) igrec/3.1.1(default) seqtk/1.3.0(default) bowtie/1.2.3 iseerna/1.2.2(default) skewer/0.2.2(default) bowtie/2.3.5(default) kallisto/0.46.1(default) snpeff/4.3.t(default) bwa/0.7.17(default) kenttools/390(default) spades/3.11.1(default) bwtool/face601(default) lofreq/2.1.3(default) sratoolkit/2.9.6(default) cufflinks/2.2.1(default) meme/5.1.0(default) star/2.7.3a(default) cytoscape/3.7.2(default) methpipe/3.4.3(default) stringtie/2.0.4(default) emboss/6.6.0(default) mitools/1.5.0(default) subread/2.0.0(default) epiteome/1.0.0(default) ngsutils/0.5.9(default) tophat/2.1.1(default) expat/2.2.9(default) picard/2.21.4(default) trimmomatic/0.39(default) fastqc/0.11.8(default) primer3/2.5.0(default) vcftools/0.1.16(default) flexbar/3.5.0(default) quast/5.0.2(default) vdjtools/1.2.1(default) gatk/4.1.4(default) rsem/1.3.1(default) walt/1.1.0(default) ---------------------------------- /modules/modulefiles/general ----------------------------------- jdk/13.0.1(default) jupyterhub/1.0.0(default) python/2.7.16(default) rlang/3.6.1(default) jre/8.0.231(default) perl/5.28.1(default) python/3.8.0 ------------------------------------ /modules/modulefiles/libs ------------------------------------ bzip2/1.0.8(default) imagemagick/7.0.9-7(default) xz/5.2.4(default) gsl/2.6.0(default) openblas/0.3.7(default)
Shifer and Singularity users should add the following line to their host ~/.bashrc:
bashif [[ -e /home/mpiage/.bashrc ]]; then module purge; unset PYTHONHOME PYTHONUSERBASE PYTHONPATH; source /home/mpiage/.bashrc; fi
Clone this repo:
bashgit clone [***]
Make a new version folder in agreement with Versioning/Tags:
bashcd software_docker mkdir v1.0.1 cd v1.0.1 touch Dockerfile
Generate the content of the Dockerfile making sure that on the "FROM" you are using the key for latest available version and using the examples from previous Dockerfiles.
Build the image with:
bashsudo docker build .
Try the image and test respective changes
bashmkdir -p ~/bioinf-container sudo docker run -d -p 8787:8787 -p 8888:8888 \ -v ~/bioinf-container:/home/mpiage --name bioinf-container \ -it <image tag> sudo docker exec -i -t bioinf-container /bin/bash
Push your changes to the repo to github.
Python and perl Modules should be installed by the user with the --user option.
If modules are needed for the installation of software on module environment they should be installed inside the package.
Example:
echo "setenv PYTHONUSERBASE $SOFT/package/1.0.0/lib/python2.7" >> $MODF/bioinformatics/quast/4.6.0 && \ echo "prepend-path PERL5LIB $SOFT/package/1.0.0/lib/perl5" >> $MODF/bioinformatics/quast/4.6.0
探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
在 Linux 系统配置镜像服务
在 Docker Desktop 配置镜像
Docker Compose 项目配置
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
MacOS OrbStack 容器配置
在宝塔面板一键配置镜像
Synology 群晖 NAS 配置
飞牛 fnOS 系统配置镜像
极空间 NAS 系统配置服务
爱快 iKuai 路由系统配置
绿联 NAS 系统配置镜像
QNAP 威联通 NAS 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
无需登录使用专属域名
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。
专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。
当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。
通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。
先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。
使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。
来自真实用户的反馈,见证轩辕镜像的优质服务