Git Product home page Git Product logo

biopython_docker's Introduction

Docker containers for Biopython

logo/logo_python_final.png

Here you can find Docker containers that include Biopython.

To install these you will need Docker (https://www.docker.com/) on Linux or Docker Toolbox (https://www.docker.com/products/docker-toolbox) on Windows/Mac.

All containers should include all dependencies which can be installed without licensing/copyright issues.

There are 5 containers available at this time:

  • A basic one where you ssh into to use it. No databases included.
  • A basic one where you ssh into to use it. With BioSQL.
  • One with a Jupyter (IPython Notebook) interface,
  • One with a Jupyter (IPython Notebook) interface including a Biopython tutorial.
  • One for buildbot integration testing.

For each container there will be 2 versions: for Python 3 and legacy Python 2. For now only Python 3 is available.

Installation and Usage

Basic container

In the basic container, you ssh into it and use it from there.

Python 3:

docker pull biopython/biopython
docker run -t -i biopython/biopython /bin/bash
python3  # inside the container

BioSQL container

Python 3:

docker pull biopython/biopython-sql
docker run -t -i biopython/biopython-sql /bin/bash
python3  # inside the container

Jupyter container

Here you will need to point your browser to localhost:9803 (or 9802 on Python 2).

If you are on boot2docker you need to do an extra port mapping step on your VM

Python 3:

docker pull biopython/biopython-notebook
docker run -p 9803:9803 -t -i biopython/biopython-notebook

Jupyter container with tutorials

Here you will need to point your browser to localhost:9803 (or 9802 on Python 2).

If you are on boot2docker you need to do an extra port mapping step on your VM

Python 3:

docker pull biopython/biopython-tutorial
docker run -p 9803:9803 -t -i biopython/biopython-tutorial

Mount your local directory to Docker (here are are naming it $PWD/scratch, but change it as preferred):

docker run -v $PWD:/scratch -e JUPYTER_UID=$UID -it -p 9803:9803 biopython-notebook

Buildbot version

You only need this if you help with our testing effort

You will need to manually download the Docker file and update

CHANGEUSER CHANGEPASS

to your buildbot username and password

Python 3:

#do this in an empty directory
wget https://raw.githubusercontent.com/biopython/biopython_docker/master/biopython-buildbot/Dockerfile
#REMEMBER TO CHANGE CHANGEUSER AND CHANGEPASS
docker build -t biopython-buildbot .
docker run -t -i biopython-buildbot

LICENSING

The software herein is made available under a dual license under the Biopython historic license (see file LICENSE.Biopython) and the 3-clause BSD license (see file LICENSE.BSD-3-Clause)

Logo credits and copyright: Vincent Davis

Authors: Tiago Antao and Tao Zhang with help from Björn Grüning

biopython_docker's People

Contributors

biogeek avatar forrestzhang avatar lmanohara avatar tiagoantao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

biopython_docker's Issues

Updating notebooks using Git pull changes owner to root

If you use git pull to update the notebooks the changed files get the owner and group root:root. This makes the notebook unable to be saved. I tried correcting this locally(docker) by using the $chown --preserve[=ATTR_LIST] but that did not seem to work for some reason.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.