Skip to content

Commit

Permalink
Merge pull request #270 from ENCODE-DCC/dev
Browse files Browse the repository at this point in the history
v2.1.5
  • Loading branch information
leepc12 authored Mar 1, 2022
2 parents 93469ce + 223dccb commit e856124
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
12 changes: 6 additions & 6 deletions chip.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ struct RuntimeEnvironment {
}

workflow chip {
String pipeline_ver = 'v2.1.4'
String pipeline_ver = 'v2.1.5'

meta {
version: 'v2.1.4'
version: 'v2.1.5'

author: 'Jin wook Lee'
email: 'leepc12@gmail.com'
Expand All @@ -19,8 +19,8 @@ workflow chip {

specification_document: 'https://docs.google.com/document/d/1lG_Rd7fnYgRpSIqrIfuVlAz2dW1VaSQThzk836Db99c/edit?usp=sharing'

default_docker: 'encodedcc/chip-seq-pipeline:v2.1.4'
default_singularity: 'https://encode-pipeline-singularity-image.s3.us-west-2.amazonaws.com/chip-seq-pipeline_v2.1.4.sif'
default_docker: 'encodedcc/chip-seq-pipeline:v2.1.5'
default_singularity: 'https://encode-pipeline-singularity-image.s3.us-west-2.amazonaws.com/chip-seq-pipeline_v2.1.5.sif'
croo_out_def: 'https://storage.googleapis.com/encode-pipeline-output-definition/chip.croo.v5.json'

parameter_group: {
Expand Down Expand Up @@ -71,8 +71,8 @@ workflow chip {
}
input {
# group: runtime_environment
String docker = 'encodedcc/chip-seq-pipeline:v2.1.4'
String singularity = 'https://encode-pipeline-singularity-image.s3.us-west-2.amazonaws.com/chip-seq-pipeline_v2.1.4.sif'
String docker = 'encodedcc/chip-seq-pipeline:v2.1.5'
String singularity = 'https://encode-pipeline-singularity-image.s3.us-west-2.amazonaws.com/chip-seq-pipeline_v2.1.5.sif'
String conda = 'encode-chip-seq-pipeline'
String conda_macs2 = 'encode-chip-seq-pipeline-macs2'
String conda_spp = 'encode-chip-seq-pipeline-spp'
Expand Down
9 changes: 6 additions & 3 deletions scripts/install_conda_env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,12 @@ conda create -n encode-chip-seq-pipeline-macs2 --file ${SH_SCRIPT_DIR}/requireme
conda create -n encode-chip-seq-pipeline-spp --file ${SH_SCRIPT_DIR}/requirements.spp.txt \
--override-channels -c r -c bioconda -c defaults -y

# adhoc fix for https://github.com/ENCODE-DCC/chip-seq-pipeline2/issues/259
# force-install readline 6.2 from conda-forge (ignoring dependencies)
conda install -n encode-chip-seq-pipeline-spp --no-deps --no-update-deps -y readline==6.2 -c conda-forge
# adhoc fix for the following issues:
# - https://github.com/ENCODE-DCC/chip-seq-pipeline2/issues/259
# - https://github.com/ENCODE-DCC/chip-seq-pipeline2/issues/265
# force-install readline 6.2, ncurses 5.9 from conda-forge (ignoring dependencies)
conda install -n encode-chip-seq-pipeline-spp --no-deps --no-update-deps -y \
readline==6.2 ncurses==5.9 -c conda-forge

echo "$(date): Done successfully."

Expand Down
2 changes: 1 addition & 1 deletion src/encode_task_spp.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def spp(ta, ctl_ta, chrsz, fraglen, cap_num_peak, fdr_thresh,
basename_prefix = '{}_x_{}'.format(basename_ta, basename_ctl_ta)
if len(basename_prefix) > 200: # UNIX cannot have filename > 255
basename_prefix = '{}_x_control'.format(basename_ta)
nth_param = '-p={}'.format(nth) if nth < 2 else ''
nth_param = '-p={}'.format(nth) if nth >= 2 else ''
prefix = os.path.join(out_dir, basename_prefix)
rpeak = '{}.{}.regionPeak.gz'.format(
prefix,
Expand Down

0 comments on commit e856124

Please sign in to comment.