File tree Expand file tree Collapse file tree 4 files changed +23
-25
lines changed
Expand file tree Collapse file tree 4 files changed +23
-25
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ defaults: &defaults
77
88machine_defaults : &machine_defaults
99 machine :
10- image : ubuntu-1604:202007 -01
10+ image : ubuntu-2004:202010 -01
1111 working_directory : ~/chip-seq-pipeline2
1212
1313make_tag : &make_tag
@@ -22,21 +22,11 @@ commands:
2222 - run :
2323 command : |
2424 sudo apt-get update && sudo apt-get install software-properties-common git wget curl -y
25+ sudo apt-get install -y software-properties-common git wget curl python3 python3-pip default-jre
2526
26- # install java 11
27- sudo add-apt-repository ppa:openjdk-r/ppa -y
28- sudo apt-get update && sudo apt-get install openjdk-11-jdk -y
29- # automatically set 11 as default java
30- sudo update-java-alternatives -a
31-
32- sudo add-apt-repository ppa:deadsnakes/ppa -y
33- sudo apt-get update && sudo apt-get install python3.6 -y
34- sudo wget --no-check-certificate https://bootstrap.pypa.io/get-pip.py
35- sudo python3.6 get-pip.py
36- sudo ln -s /usr/bin/python3.6 /usr/local/bin/python3
37-
38- pip3 install --upgrade pip
39- pip3 install caper google-cloud-storage
27+ sudo python3 -m pip install --upgrade pip
28+ sudo pip3 install PyYAML --ignore-installed
29+ sudo pip3 install caper google-cloud-storage
4030
4131 run_workflow_test :
4232 description : " Run workflow test. This requires an env var INPUT as input JSON's basename."
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ struct RuntimeEnvironment {
77}
88
99workflow chip {
10- String pipeline_ver = 'v2.1.3 '
10+ String pipeline_ver = 'v2.1.4 '
1111
1212 meta {
13- version : 'v2.1.3 '
13+ version : 'v2.1.4 '
1414
1515 author : 'Jin wook Lee'
1616@@ -19,8 +19,8 @@ workflow chip {
1919
2020 specification_document : 'https://docs.google.com/document/d/1lG_Rd7fnYgRpSIqrIfuVlAz2dW1VaSQThzk836Db99c/edit?usp=sharing'
2121
22- default_docker : 'encodedcc/chip-seq-pipeline:v2.1.3 '
23- default_singularity : 'https://encode-pipeline-singularity-image.s3.us-west-2.amazonaws.com/chip-seq-pipeline_v2.1.3 .sif'
22+ default_docker : 'encodedcc/chip-seq-pipeline:v2.1.4 '
23+ default_singularity : 'https://encode-pipeline-singularity-image.s3.us-west-2.amazonaws.com/chip-seq-pipeline_v2.1.4 .sif'
2424 croo_out_def : 'https://storage.googleapis.com/encode-pipeline-output-definition/chip.croo.v5.json'
2525
2626 parameter_group : {
@@ -71,8 +71,8 @@ workflow chip {
7171 }
7272 input {
7373 # group: runtime_environment
74- String docker = 'encodedcc/chip-seq-pipeline:v2.1.3 '
75- String singularity = 'https://encode-pipeline-singularity-image.s3.us-west-2.amazonaws.com/chip-seq-pipeline_v2.1.3 .sif'
74+ String docker = 'encodedcc/chip-seq-pipeline:v2.1.4 '
75+ String singularity = 'https://encode-pipeline-singularity-image.s3.us-west-2.amazonaws.com/chip-seq-pipeline_v2.1.4 .sif'
7676 String conda = 'encode-chip-seq-pipeline'
7777 String conda_macs2 = 'encode-chip-seq-pipeline-macs2'
7878 String conda_spp = 'encode-chip-seq-pipeline-spp'
Original file line number Diff line number Diff line change @@ -3,13 +3,21 @@ set -e # Stop on error
33
44SH_SCRIPT_DIR=$( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd)
55
6- echo " ** Installing pipeline's Conda environments..."
6+ echo " $( date) : Installing pipeline's Conda environments..."
7+
78conda create -n encode-chip-seq-pipeline --file ${SH_SCRIPT_DIR} /requirements.txt \
89 --override-channels -c bioconda -c defaults -y
10+
911conda create -n encode-chip-seq-pipeline-macs2 --file ${SH_SCRIPT_DIR} /requirements.macs2.txt \
1012 --override-channels -c bioconda -c defaults -y
13+
1114conda create -n encode-chip-seq-pipeline-spp --file ${SH_SCRIPT_DIR} /requirements.spp.txt \
1215 --override-channels -c r -c bioconda -c defaults -y
13- echo " ** Done."
16+
17+ # adhoc fix for https://github.com/ENCODE-DCC/chip-seq-pipeline2/issues/259
18+ # force-install readline 6.2 from conda-forge (ignoring dependencies)
19+ conda install -n encode-chip-seq-pipeline-spp --no-deps --no-update-deps -y readline==6.2 -c conda-forge
20+
21+ echo " $( date) : Done successfully."
1422
1523bash ${SH_SCRIPT_DIR} /update_conda_env.sh
Original file line number Diff line number Diff line change @@ -11,10 +11,10 @@ PIPELINE_CONDA_ENVS=(
1111)
1212chmod u+rx ${SRC_DIR} /* .py
1313
14- echo " ** Updating WDL task wrappers on each Conda environment..."
14+ echo " $( date ) : Updating WDL task wrappers on each Conda environment..."
1515for PIPELINE_CONDA_ENV in " ${PIPELINE_CONDA_ENVS[@]} "
1616do
1717 CONDA_BIN=$( dirname $( conda run -n ${PIPELINE_CONDA_ENV} which python) )
18- echo -e " ** Transferring WDL task wrappers to ${CONDA_BIN} ..."
18+ echo -e " $( date ) : Transferring WDL task wrappers to ${CONDA_BIN} ..."
1919 cp -f ${SRC_DIR} /* .py ${CONDA_BIN} /
2020done
You can’t perform that action at this time.
0 commit comments