Commit 525b1d4f authored by Carine Rey's avatar Carine Rey
Browse files

add matplotlib and docopt in python docker

parent 0067c5c2
...@@ -24,4 +24,8 @@ RUN pip install --upgrade pip ...@@ -24,4 +24,8 @@ RUN pip install --upgrade pip
RUN pip install ete3==3.0.0b35 RUN pip install ete3==3.0.0b35
RUN pip install scipy==1.1.0 RUN pip install scipy==1.1.0
RUN pip install biopython==1.72 RUN pip install biopython==1.72
RUN pip install docopt
RUN pip install matplotlib
RUN apt-get update && \
apt-get install --no-install-recommends -qy \
python-tk
...@@ -4,7 +4,7 @@ set -e ...@@ -4,7 +4,7 @@ set -e
IMAGE_NAME=python_basics IMAGE_NAME=python_basics
DOCKERFILE_DIR=. DOCKERFILE_DIR=.
TAG=07182018 TAG=07252018
REPO=carinerey/$IMAGE_NAME:$TAG REPO=carinerey/$IMAGE_NAME:$TAG
docker build -t $REPO -f ./Dockerfile $DOCKERFILE_DIR docker build -t $REPO -f ./Dockerfile $DOCKERFILE_DIR
......
...@@ -5,7 +5,7 @@ open Bistro_bioinfo.Std ...@@ -5,7 +5,7 @@ open Bistro_bioinfo.Std
open File_formats open File_formats
let multinomial ~(tree_id:_ workflow) ~(tree_sc:_ workflow) ~(faa:aminoacid_fasta workflow) : [`multinomial] directory workflow = let multinomial ~(tree_id:_ workflow) ~(tree_sc:_ workflow) ~(faa:aminoacid_fasta workflow) : [`multinomial] directory workflow =
let env = docker_image ~account:"carinerey" ~name:"python_basics" ~tag:"07182018" () in let env = docker_image ~account:"carinerey" ~name:"python_basics" ~tag:"07252018" () in
workflow ~descr:("calc_multinomial") [ workflow ~descr:("calc_multinomial") [
mkdir_p dest; mkdir_p dest;
cmd "python" ~env [ cmd "python" ~env [
......
...@@ -3,7 +3,7 @@ open Bistro.EDSL ...@@ -3,7 +3,7 @@ open Bistro.EDSL
open Bistro.Std open Bistro.Std
open File_formats open File_formats
let env = docker_image ~account:"carinerey" ~name:"python_basics" ~tag:"07182018" () let env = docker_image ~account:"carinerey" ~name:"python_basics" ~tag:"07252018" ()
let prepare tree = let prepare tree =
workflow ~descr:"utils.parse_input_tree" [ workflow ~descr:"utils.parse_input_tree" [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment