BigDataScript report: chipseq.bds

Script file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/chipseq.bds
Program ID chipseq.bds.20170407_180232_452
Start time 2017-04-07 18:02:32
Run time 4 days 05:57:39.348
Tasks executed 21
Tasks failed 9
Tasks failed names
macs2 n/s rep1
macs2 n/s rep2-pr1
macs2 n/s rep1-pr1
macs2 n/s ppr1
macs2 n/s rep1-pr2
macs2 n/s ppr2
macs2 n/s pooled_rep
macs2 n/s rep2
macs2 n/s rep2-pr2
Arguments* [-title, ZBTB26_MACS2, -nth, 5, -species, hg38, -url_base, http://mitra.stanford.edu/kundaje/leepc12/imk_chipseq/ZBTB26_MACS2/out, -filt_bam1, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.bam, -filt_bam2, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.bam, -ctl_tag, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz, -pe, $]
System* sge
Cpus* -1
Exit value 1
* Values in global scope when program finished execution.

Timeline

Task Graph

Parallel (threads) details

Thread ID Parent Tasks
thread_Root None
 chipseq.bds.20170407_180232_452/task.postalign_bed.pool_tag_pooled_rep.line_436.id_10
chipseq.bds.20170407_180232_452/task.postalign_bed.pool_tag_ppr1.line_436.id_11
chipseq.bds.20170407_180232_452/task.postalign_bed.pool_tag_ppr2.line_436.id_12
chipseq.bds.20170407_180232_452/task.callpeak_spp.spp_pooled_rep.line_59.id_13
chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_pooled_rep.line_66.id_14
chipseq.bds.20170407_180232_452/task.callpeak_spp.spp_ppr1.line_59.id_15
chipseq.bds.20170407_180232_452/task.callpeak_spp.spp_ppr2.line_59.id_16
chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_ppr1.line_66.id_17
chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_ppr2.line_66.id_18
chipseq.bds.20170407_180232_452/task.callpeak_spp.spp_rep1.line_59.id_19
chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep1.line_66.id_20
chipseq.bds.20170407_180232_452/task.callpeak_spp.spp_rep1_pr1.line_59.id_21
chipseq.bds.20170407_180232_452/task.callpeak_spp.spp_rep1_pr2.line_59.id_22
chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep1_pr1.line_66.id_23
chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep1_pr2.line_66.id_24
chipseq.bds.20170407_180232_452/task.callpeak_spp.spp_rep2.line_59.id_25
chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep2.line_66.id_26
chipseq.bds.20170407_180232_452/task.callpeak_spp.spp_rep2_pr1.line_59.id_27
chipseq.bds.20170407_180232_452/task.callpeak_spp.spp_rep2_pr2.line_59.id_28
chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep2_pr1.line_66.id_29
chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep2_pr2.line_66.id_30
 
thread_43 thread_Root
  
thread_42 thread_Root
  
thread_41 thread_Root
  

Task details

Task Execution Time Dependencies Task program, Errors, StdOut / StdErr
Num 1
ID task.postalign_bed.pool_tag_pooled_rep.line_436.id_10
Name pool_tag pooled_rep
Thread thread_Root
PID 46379
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:02:40
End 2017-04-07 18:08:57
Elapsed 00:06:17
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.gz
Dependencies
 
# SYS command. line 438

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 440

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.tagAlign.gz | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.gz

# SYS command. line 442

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
13811 (process ID) old priority 0, new priority 19

  
Num 2
ID task.postalign_bed.pool_tag_ppr1.line_436.id_11
Name pool_tag ppr1
Thread thread_Root
PID 46380
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:02:40
End 2017-04-07 18:05:23
Elapsed 00:02:43
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.gz
Dependencies
 
# SYS command. line 438

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 440

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.gz | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.gz

# SYS command. line 442

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
35891 (process ID) old priority 0, new priority 19

  
Num 3
ID task.postalign_bed.pool_tag_ppr2.line_436.id_12
Name pool_tag ppr2
Thread thread_Root
PID 46381
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:02:41
End 2017-04-07 18:05:58
Elapsed 00:03:17
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.gz
Dependencies
 
# SYS command. line 438

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 440

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.gz | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.gz

# SYS command. line 442

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
13812 (process ID) old priority 0, new priority 19

  
Num 4
ID task.callpeak_spp.spp_pooled_rep.line_59.id_13
Name spp pooled_rep
Thread thread_Root
PID 46402
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus 2
Mem
Start 2017-04-07 18:09:00
End 2017-04-08 21:28:02
Elapsed 1 day 03:19:02
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 61

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 64

 if [ $(which run_spp_nodups.R 2> /dev/null | wc -l || echo) == "1" ]; then RUN_SPP=$(which run_spp_nodups.R); \
		    else RUN_SPP=$(which run_spp.R); \
		    fi

# SYS command. line 68

 Rscript  ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.gz -p=2 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep -speak=238 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 72

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | awk 'BEGIN{OFS="\t"}{ if ($2<0) $2=0; print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' | gzip -f -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 74

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 76

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 79

 if [ $(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | wc -l ) == "0" ]; then rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz; fi

# SYS command. line 82

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 84

 if [[ true == "true" ]]; then \
			bedtools intersect -v -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz) \
			| awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}' | grep -P 'chr[\dXY]+[ \t]' \
			| gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.filt.regionPeak.gz; \
		fi

# SYS command. line 90

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
9105 (process ID) old priority 0, new priority 19
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 238 
exclusion(min): 10 
exclusion(max): NaN 
num parallel nodes: 2 
FDR threshold: 0.01 
NumPeaks Threshold: 3e+05 
Output Directory: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore 
Overwrite files?: TRUE

Decompressing ChIP file
Decompressing control file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.gz 
opened /tmp/46402.1.q/RtmpVvGXb1/ENCFF066ZSK_ENCFF241VRG.tagAlign23cb64a44f11
done. read 219735318 fragments
ChIP data read length 101 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/46402.1.q/RtmpVvGXb1/ss_50M_2000_GRCh38.nodup.tagAlign23cb4ca8fa8b
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.6723576 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.751185492688636 
Top 3 estimates for fragment length 238 
Window half size 740 
Phantom peak location 105 
Phantom peak Correlation 0.7263022 
Normalized Strand cross-correlation coefficient (NSC) 1.117241 
Relative Strand cross-correlation Coefficient (RSC) 1.461276 
Phantom Peak Quality Tag 1 
null device 
          1 
Removing read stacks
Finding peaks
finding background exclusion regions ... done
determining peaks on provided 1 control datasets:
using reversed signal for FDR calculations
bg.weight= 0.5298217  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 1.887427  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000002 
Detected 2864153 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools

 
Num 5
ID task.callpeak_macs2.macs2_n_s_pooled_rep.line_66.id_14
Name macs2 n/s pooled_rep
Thread thread_Root
PID 46403
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-07 18:09:01
End 2017-04-07 18:09:01
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw
Dependencies
 
# SYS command. line 68

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 69

 export LC_COLLATE=C

# SYS command. line 74

 macs2 callpeak -t /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.gz -c /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz -f BED -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign -g hs -p 0.01 --nomodel --shift 0 --extsize 238 --keep-dup all -B --SPMR

# SYS command. line 77

 sort -k 8gr,8gr "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak | awk 'BEGIN{OFS="\t"}{$4="Peak_"NR ; print $0}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz

# SYS command. line 80

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.xls \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_summits.bed

# SYS command. line 84

 if [[ true == "false" ]]; then \
			rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg; \
			TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi; \
			exit; \
		fi

# SYS command. line 94

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep -o "ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -m FE

# SYS command. line 97

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph

# SYS command. line 98

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg

# SYS command. line 101

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 102

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw

# SYS command. line 103

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 109

 chipReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}')

# SYS command. line 111

 controlReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}'); sval=$(echo "${chipReads} ${controlReads}" | awk '$1>$2{printf "%f",$2} $1<=$2{printf "%f",$1}')

# SYS command. line 113

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep -o "ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -m ppois -S "${sval}"

# SYS command. line 116

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph

# SYS command. line 117

 rm -rf "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg

# SYS command. line 120

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 121

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw

# SYS command. line 122

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 124

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_rep/ENCFF066ZSK_ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg

# SYS command. line 126

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
39106 (process ID) old priority 0, new priority 19

 
--------------------Stderr--------------------
Traceback (most recent call last):
  File "/software/miniconda3/envs/aquas_chipseq/bin/macs2", line 4, in 
    __import__('pkg_resources').run_script('MACS2==2.1.0.20150731', 'macs2')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in 
    @_call_aside
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside
    f(*args, **kwargs)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws = cls()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 646, in __init__
    self.add_entry(entry)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 702, in add_entry
    for dist in find_distributions(entry, True):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1996, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in from_location
    py_version=py_version, platform=platform, **kw
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2746, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in _version_from_file
    line = next(iter(version_lines), '')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2538, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1470, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1579, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/software/miniconda3/envs/aquas_chipseq/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg-info/PKG-INFO'

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46403
exec_file:                  job_scripts/46403
submission_time:            Fri Apr  7 18:09:01 2017
owner:                      imk1
uid:                        1048
group:                      users
gid:                        100
sge_o_home:                 /users/imk1/
sge_o_log_name:             imk1
sge_o_path:                 /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
sge_o_shell:                /bin/bash
sge_o_workdir:              /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_pooled_rep.line_66.id_14.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_pooled_rep.line_66.id_14.stdout.cluster
jobshare:                   0
env_list:                   LIBRARY_PATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/lib,TMUX=/tmp/tmux-1048/default,43619,2,MAIL=/var/mail/imk1,SSH_CLIENT=171.65.77.8 57066 22,USER=imk1,J2SDKDIR=/usr/lib/jvm/java-8-oracle,SHLVL=4,PERL_LOCAL_LIB_ROOT=/users/imk1/perl5,J2REDIR=/usr/lib/jvm/java-8-oracle/jre,HOME=/users/imk1/,DEEPLIFT_DIR=/srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift,SSH_TTY=/dev/pts/4,LOGNAME=imk1,_=/usr/bin/bds,EVENT_NOEPOLL=1,XDG_SESSION_ID=67062,TERM=screen,PERL_MB_OPT=--install_base "/users/imk1/perl5",KERAS_DIR=/users/imk1/.local/lib/python2.7/site-packages/keras/,SGE_ROOT=/var/lib/gridengine,PATH=/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect,DERBY_HOME=/usr/lib/jvm/java-8-oracle/db,PERL5LIB=/users/imk1/perl5/lib/perl5,XDG_RUNTIME_DIR=/run/user/1048,DISPLAY=localhost:12.0,SGE_CELL=default,STY=36935.ZBTB26_MACS2.BDS,LANG=en_US.UTF-8,SHELL=/bin/bash,KRB5CCNAME=FILE:/tmp/krb5cc_1048_CCx82k,XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt,RULEFITBASE=/srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/,PERL_MM_OPT=INSTALL_BASE=/users/imk1/perl5,UTIL_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/,MODULE_VERSION=3.2.10,MODULE_VERSION_STACK=3.2.10,WINDOW=0,NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat,PWD=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2,JAVA_HOME=/usr/lib/jvm/java-8-oracle,LOADEDMODULES=NONE,SSH_CONNECTION=171.65.77.8 57067 171.65.76.63 22,TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\,PYTHONPATH=/users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/,ENHANCER_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/,CPATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/include,MODULEPATH=/usr/local/Modules/versions				:/usr/local/Modules/$MODULE_VERSION/modulefiles	:/modules/				:/software/modulefiles,TMUX_PANE=%2,MODULESHOME=/software/env_module/3.2.10
script_file:                STDIN
usage    1:                 cpu=00:00:00, mem=0.00000 GBs, io=0.00000, vmem=N/A, maxvmem=N/A
scheduling info:            queue instance "q@indra" dropped because it is full

Num 6
ID task.callpeak_spp.spp_ppr1.line_59.id_15
Name spp ppr1
Thread thread_Root
PID 46404
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:09:02
End 2017-04-09 18:44:09
Elapsed 2 days 00:35:07
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 61

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 64

 if [ $(which run_spp_nodups.R 2> /dev/null | wc -l || echo) == "1" ]; then RUN_SPP=$(which run_spp_nodups.R); \
		    else RUN_SPP=$(which run_spp.R); \
		    fi

# SYS command. line 68

 Rscript  ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1 -speak=238 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 72

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | awk 'BEGIN{OFS="\t"}{ if ($2<0) $2=0; print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' | gzip -f -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 74

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 76

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 79

 if [ $(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | wc -l ) == "0" ]; then rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz; fi

# SYS command. line 82

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 84

 if [[ true == "true" ]]; then \
			bedtools intersect -v -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz) \
			| awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}' | grep -P 'chr[\dXY]+[ \t]' \
			| gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.filt.regionPeak.gz; \
		fi

# SYS command. line 90

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
39105 (process ID) old priority 0, new priority 19
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 238 
exclusion(min): 10 
exclusion(max): NaN 
num parallel nodes: 1 
FDR threshold: 0.01 
NumPeaks Threshold: 3e+05 
Output Directory: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore 
Overwrite files?: TRUE

Decompressing ChIP file
Decompressing control file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.gz 
opened /tmp/46404.1.q/Rtmpi4NZ7j/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign99684aa3db7
done. read 109867660 fragments
ChIP data read length 101 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/46404.1.q/Rtmpi4NZ7j/ss_50M_2000_GRCh38.nodup.tagAlign996825ca5d5a
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.520816 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.648155047911255 
Top 3 estimates for fragment length 238 
Window half size 710 
Phantom peak location 105 
Phantom peak Correlation 0.6095077 
Normalized Strand cross-correlation coefficient (NSC) 1.244499 
Relative Strand cross-correlation Coefficient (RSC) 1.43575 
Phantom Peak Quality Tag 1 
null device 
          1 
Removing read stacks
Finding peaks
finding background exclusion regions ... done
determining peaks on provided 1 control datasets:
using reversed signal for FDR calculations
bg.weight= 1.059437  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.9438978  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000001 
Detected 2391766 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools

 
Num 7
ID task.callpeak_spp.spp_ppr2.line_59.id_16
Name spp ppr2
Thread thread_Root
PID 46405
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:09:03
End 2017-04-09 16:26:54
Elapsed 1 day 22:17:51
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 61

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 64

 if [ $(which run_spp_nodups.R 2> /dev/null | wc -l || echo) == "1" ]; then RUN_SPP=$(which run_spp_nodups.R); \
		    else RUN_SPP=$(which run_spp.R); \
		    fi

# SYS command. line 68

 Rscript  ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2 -speak=238 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 72

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | awk 'BEGIN{OFS="\t"}{ if ($2<0) $2=0; print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' | gzip -f -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 74

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 76

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 79

 if [ $(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | wc -l ) == "0" ]; then rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz; fi

# SYS command. line 82

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 84

 if [[ true == "true" ]]; then \
			bedtools intersect -v -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz) \
			| awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}' | grep -P 'chr[\dXY]+[ \t]' \
			| gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.filt.regionPeak.gz; \
		fi

# SYS command. line 90

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
53104 (process ID) old priority 0, new priority 19
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 238 
exclusion(min): 10 
exclusion(max): NaN 
num parallel nodes: 1 
FDR threshold: 0.01 
NumPeaks Threshold: 3e+05 
Output Directory: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore 
Overwrite files?: TRUE

Decompressing ChIP file
Decompressing control file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.gz 
opened /tmp/46405.1.q/RtmpN9Gh7q/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlignd0d44bbc46d
done. read 109867658 fragments
ChIP data read length 101 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/46405.1.q/RtmpN9Gh7q/ss_50M_2000_GRCh38.nodup.tagAlignd0d451fab146
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.5208541 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.648103660884358 
Top 3 estimates for fragment length 238 
Window half size 710 
Phantom peak location 105 
Phantom peak Correlation 0.6094705 
Normalized Strand cross-correlation coefficient (NSC) 1.244309 
Relative Strand cross-correlation Coefficient (RSC) 1.43596 
Phantom Peak Quality Tag 1 
null device 
          1 
Removing read stacks
Finding peaks
finding background exclusion regions ... done
determining peaks on provided 1 control datasets:
using reversed signal for FDR calculations
bg.weight= 1.059418  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.9439147  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000005 
Detected 2394253 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools

 
Num 8
ID task.callpeak_macs2.macs2_n_s_ppr1.line_66.id_17
Name macs2 n/s ppr1
Thread thread_Root
PID 46407
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-07 18:09:22
End 2017-04-07 18:09:22
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz
Dependencies
 
# SYS command. line 68

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 69

 export LC_COLLATE=C

# SYS command. line 74

 macs2 callpeak -t /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.gz -c /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz -f BED -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign -g hs -p 0.01 --nomodel --shift 0 --extsize 238 --keep-dup all -B --SPMR

# SYS command. line 77

 sort -k 8gr,8gr "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak | awk 'BEGIN{OFS="\t"}{$4="Peak_"NR ; print $0}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz

# SYS command. line 80

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.xls \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_summits.bed

# SYS command. line 84

 if [[ false == "false" ]]; then \
			rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg; \
			TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi; \
			exit; \
		fi

# SYS command. line 94

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1 -o "ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -m FE

# SYS command. line 97

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph

# SYS command. line 98

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg

# SYS command. line 101

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 102

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw

# SYS command. line 103

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 109

 chipReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}')

# SYS command. line 111

 controlReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}'); sval=$(echo "${chipReads} ${controlReads}" | awk '$1>$2{printf "%f",$2} $1<=$2{printf "%f",$1}')

# SYS command. line 113

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1 -o "ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -m ppois -S "${sval}"

# SYS command. line 116

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph

# SYS command. line 117

 rm -rf "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg

# SYS command. line 120

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 121

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw

# SYS command. line 122

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 124

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr1/ENCFF066ZSK.pr1_ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg

# SYS command. line 126

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
39437 (process ID) old priority 0, new priority 19

 
--------------------Stderr--------------------
Traceback (most recent call last):
  File "/software/miniconda3/envs/aquas_chipseq/bin/macs2", line 4, in 
    __import__('pkg_resources').run_script('MACS2==2.1.0.20150731', 'macs2')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in 
    @_call_aside
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside
    f(*args, **kwargs)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws = cls()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 646, in __init__
    self.add_entry(entry)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 702, in add_entry
    for dist in find_distributions(entry, True):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1996, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in from_location
    py_version=py_version, platform=platform, **kw
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2746, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in _version_from_file
    line = next(iter(version_lines), '')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2538, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1470, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1579, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/software/miniconda3/envs/aquas_chipseq/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg-info/PKG-INFO'

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46407
submission_time:            Fri Apr  7 18:09:22 2017
owner:                      imk1
uid:                        1048
group:                      users
gid:                        100
sge_o_home:                 /users/imk1/
sge_o_log_name:             imk1
sge_o_path:                 /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
sge_o_shell:                /bin/bash
sge_o_workdir:              /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_ppr1.line_66.id_17.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_ppr1.line_66.id_17.stdout.cluster
jobshare:                   0
env_list:                   LIBRARY_PATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/lib,TMUX=/tmp/tmux-1048/default,43619,2,MAIL=/var/mail/imk1,SSH_CLIENT=171.65.77.8 57066 22,USER=imk1,J2SDKDIR=/usr/lib/jvm/java-8-oracle,SHLVL=4,PERL_LOCAL_LIB_ROOT=/users/imk1/perl5,J2REDIR=/usr/lib/jvm/java-8-oracle/jre,HOME=/users/imk1/,DEEPLIFT_DIR=/srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift,SSH_TTY=/dev/pts/4,LOGNAME=imk1,_=/usr/bin/bds,EVENT_NOEPOLL=1,XDG_SESSION_ID=67062,TERM=screen,PERL_MB_OPT=--install_base "/users/imk1/perl5",KERAS_DIR=/users/imk1/.local/lib/python2.7/site-packages/keras/,SGE_ROOT=/var/lib/gridengine,PATH=/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect,DERBY_HOME=/usr/lib/jvm/java-8-oracle/db,PERL5LIB=/users/imk1/perl5/lib/perl5,XDG_RUNTIME_DIR=/run/user/1048,DISPLAY=localhost:12.0,SGE_CELL=default,STY=36935.ZBTB26_MACS2.BDS,LANG=en_US.UTF-8,SHELL=/bin/bash,KRB5CCNAME=FILE:/tmp/krb5cc_1048_CCx82k,XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt,RULEFITBASE=/srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/,PERL_MM_OPT=INSTALL_BASE=/users/imk1/perl5,UTIL_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/,MODULE_VERSION=3.2.10,MODULE_VERSION_STACK=3.2.10,WINDOW=0,NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat,PWD=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2,JAVA_HOME=/usr/lib/jvm/java-8-oracle,LOADEDMODULES=NONE,SSH_CONNECTION=171.65.77.8 57067 171.65.76.63 22,TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\,PYTHONPATH=/users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/,ENHANCER_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/,CPATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/include,MODULEPATH=/usr/local/Modules/versions				:/usr/local/Modules/$MODULE_VERSION/modulefiles	:/modules/				:/software/modulefiles,TMUX_PANE=%2,MODULESHOME=/software/env_module/3.2.10
scheduling info:            There are no messages available

Num 9
ID task.callpeak_macs2.macs2_n_s_ppr2.line_66.id_18
Name macs2 n/s ppr2
Thread thread_Root
PID 46412
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-07 18:09:49
End 2017-04-07 18:09:49
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz
Dependencies
 
# SYS command. line 68

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 69

 export LC_COLLATE=C

# SYS command. line 74

 macs2 callpeak -t /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.gz -c /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz -f BED -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign -g hs -p 0.01 --nomodel --shift 0 --extsize 238 --keep-dup all -B --SPMR

# SYS command. line 77

 sort -k 8gr,8gr "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak | awk 'BEGIN{OFS="\t"}{$4="Peak_"NR ; print $0}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz

# SYS command. line 80

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.xls \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_summits.bed

# SYS command. line 84

 if [[ false == "false" ]]; then \
			rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg; \
			TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi; \
			exit; \
		fi

# SYS command. line 94

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2 -o "ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -m FE

# SYS command. line 97

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph

# SYS command. line 98

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg

# SYS command. line 101

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 102

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw

# SYS command. line 103

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 109

 chipReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}')

# SYS command. line 111

 controlReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}'); sval=$(echo "${chipReads} ${controlReads}" | awk '$1>$2{printf "%f",$2} $1<=$2{printf "%f",$1}')

# SYS command. line 113

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2 -o "ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -m ppois -S "${sval}"

# SYS command. line 116

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph

# SYS command. line 117

 rm -rf "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg

# SYS command. line 120

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 121

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw

# SYS command. line 122

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 124

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pooled_pseudo_reps/ppr2/ENCFF066ZSK.pr2_ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg

# SYS command. line 126

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
39782 (process ID) old priority 0, new priority 19

 
--------------------Stderr--------------------
Traceback (most recent call last):
  File "/software/miniconda3/envs/aquas_chipseq/bin/macs2", line 4, in 
    __import__('pkg_resources').run_script('MACS2==2.1.0.20150731', 'macs2')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in 
    @_call_aside
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside
    f(*args, **kwargs)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws = cls()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 646, in __init__
    self.add_entry(entry)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 702, in add_entry
    for dist in find_distributions(entry, True):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1996, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in from_location
    py_version=py_version, platform=platform, **kw
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2746, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in _version_from_file
    line = next(iter(version_lines), '')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2538, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1470, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1579, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/software/miniconda3/envs/aquas_chipseq/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg-info/PKG-INFO'

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46412
exec_file:                  job_scripts/46412
submission_time:            Fri Apr  7 18:09:49 2017
owner:                      imk1
uid:                        1048
group:                      users
gid:                        100
sge_o_home:                 /users/imk1/
sge_o_log_name:             imk1
sge_o_path:                 /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
sge_o_shell:                /bin/bash
sge_o_workdir:              /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_ppr2.line_66.id_18.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_ppr2.line_66.id_18.stdout.cluster
jobshare:                   0
env_list:                   LIBRARY_PATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/lib,TMUX=/tmp/tmux-1048/default,43619,2,MAIL=/var/mail/imk1,SSH_CLIENT=171.65.77.8 57066 22,USER=imk1,J2SDKDIR=/usr/lib/jvm/java-8-oracle,SHLVL=4,PERL_LOCAL_LIB_ROOT=/users/imk1/perl5,J2REDIR=/usr/lib/jvm/java-8-oracle/jre,HOME=/users/imk1/,DEEPLIFT_DIR=/srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift,SSH_TTY=/dev/pts/4,LOGNAME=imk1,_=/usr/bin/bds,EVENT_NOEPOLL=1,XDG_SESSION_ID=67062,TERM=screen,PERL_MB_OPT=--install_base "/users/imk1/perl5",KERAS_DIR=/users/imk1/.local/lib/python2.7/site-packages/keras/,SGE_ROOT=/var/lib/gridengine,PATH=/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect,DERBY_HOME=/usr/lib/jvm/java-8-oracle/db,PERL5LIB=/users/imk1/perl5/lib/perl5,XDG_RUNTIME_DIR=/run/user/1048,DISPLAY=localhost:12.0,SGE_CELL=default,STY=36935.ZBTB26_MACS2.BDS,LANG=en_US.UTF-8,SHELL=/bin/bash,KRB5CCNAME=FILE:/tmp/krb5cc_1048_CCx82k,XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt,RULEFITBASE=/srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/,PERL_MM_OPT=INSTALL_BASE=/users/imk1/perl5,UTIL_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/,MODULE_VERSION=3.2.10,MODULE_VERSION_STACK=3.2.10,WINDOW=0,NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat,PWD=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2,JAVA_HOME=/usr/lib/jvm/java-8-oracle,LOADEDMODULES=NONE,SSH_CONNECTION=171.65.77.8 57067 171.65.76.63 22,TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\,PYTHONPATH=/users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/,ENHANCER_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/,CPATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/include,MODULEPATH=/usr/local/Modules/versions				:/usr/local/Modules/$MODULE_VERSION/modulefiles	:/modules/				:/software/modulefiles,TMUX_PANE=%2,MODULESHOME=/software/env_module/3.2.10
script_file:                STDIN
usage    1:                 cpu=00:00:01, mem=0.08984 GBs, io=0.04775, vmem=126.773M, maxvmem=291.555M
scheduling info:            There are no messages available

Num 10
ID task.callpeak_spp.spp_rep1.line_59.id_19
Name spp rep1
Thread thread_Root
PID 46413
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:10:16
End 2017-04-10 09:00:55
Elapsed 2 days 14:50:38
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 61

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 64

 if [ $(which run_spp_nodups.R 2> /dev/null | wc -l || echo) == "1" ]; then RUN_SPP=$(which run_spp_nodups.R); \
		    else RUN_SPP=$(which run_spp.R); \
		    fi

# SYS command. line 68

 Rscript  ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1 -speak=235 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 72

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | awk 'BEGIN{OFS="\t"}{ if ($2<0) $2=0; print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' | gzip -f -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 74

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 76

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 79

 if [ $(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | wc -l ) == "0" ]; then rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz; fi

# SYS command. line 82

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 84

 if [[ true == "true" ]]; then \
			bedtools intersect -v -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz) \
			| awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}' | grep -P 'chr[\dXY]+[ \t]' \
			| gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.filt.regionPeak.gz; \
		fi

# SYS command. line 90

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
20416 (process ID) old priority 0, new priority 19
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 235 
exclusion(min): 10 
exclusion(max): NaN 
num parallel nodes: 1 
FDR threshold: 0.01 
NumPeaks Threshold: 3e+05 
Output Directory: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore 
Overwrite files?: TRUE

Decompressing ChIP file
Decompressing control file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.tagAlign.gz 
opened /tmp/46413.1.q/RtmpUeB9Q4/ENCFF066ZSK.tagAlign503d7e71b324
done. read 127505544 fragments
ChIP data read length 101 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/46413.1.q/RtmpUeB9Q4/ss_50M_2000_GRCh38.nodup.tagAlign503d7d8efbe9
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.553563 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.669991235968546 
Top 3 estimates for fragment length 235 
Window half size 710 
Phantom peak location 105 
Phantom peak Correlation 0.6354882 
Normalized Strand cross-correlation coefficient (NSC) 1.210325 
Relative Strand cross-correlation Coefficient (RSC) 1.421153 
Phantom Peak Quality Tag 1 
null device 
          1 
Removing read stacks
Finding peaks
finding background exclusion regions ... done
determining peaks on provided 1 control datasets:
using reversed signal for FDR calculations
bg.weight= 0.9105859  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 1.098194  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000002 
Detected 2530075 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools

 
Num 11
ID task.callpeak_macs2.macs2_n_s_rep1.line_66.id_20
Name macs2 n/s rep1
Thread thread_Root
PID 46478
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-08 21:28:03
End 2017-04-08 21:28:03
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw
Dependencies
 
# SYS command. line 68

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 69

 export LC_COLLATE=C

# SYS command. line 74

 macs2 callpeak -t /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.tagAlign.gz -c /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz -f BED -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign -g hs -p 0.01 --nomodel --shift 0 --extsize 235 --keep-dup all -B --SPMR

# SYS command. line 77

 sort -k 8gr,8gr "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak | awk 'BEGIN{OFS="\t"}{$4="Peak_"NR ; print $0}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz

# SYS command. line 80

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.xls \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_summits.bed

# SYS command. line 84

 if [[ true == "false" ]]; then \
			rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg; \
			TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi; \
			exit; \
		fi

# SYS command. line 94

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1 -o "ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -m FE

# SYS command. line 97

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph

# SYS command. line 98

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg

# SYS command. line 101

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 102

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw

# SYS command. line 103

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 109

 chipReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}')

# SYS command. line 111

 controlReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}'); sval=$(echo "${chipReads} ${controlReads}" | awk '$1>$2{printf "%f",$2} $1<=$2{printf "%f",$1}')

# SYS command. line 113

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1 -o "ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -m ppois -S "${sval}"

# SYS command. line 116

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph

# SYS command. line 117

 rm -rf "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg

# SYS command. line 120

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 121

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw

# SYS command. line 122

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 124

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep1/ENCFF066ZSK.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg

# SYS command. line 126

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
15626 (process ID) old priority 0, new priority 19

 
--------------------Stderr--------------------
Traceback (most recent call last):
  File "/software/miniconda3/envs/aquas_chipseq/bin/macs2", line 4, in 
    __import__('pkg_resources').run_script('MACS2==2.1.0.20150731', 'macs2')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in 
    @_call_aside
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside
    f(*args, **kwargs)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws = cls()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 646, in __init__
    self.add_entry(entry)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 702, in add_entry
    for dist in find_distributions(entry, True):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1996, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in from_location
    py_version=py_version, platform=platform, **kw
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2746, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in _version_from_file
    line = next(iter(version_lines), '')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2538, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1470, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1579, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/software/miniconda3/envs/aquas_chipseq/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg-info/PKG-INFO'

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46478
submission_time:            Sat Apr  8 21:28:03 2017
owner:                      imk1
uid:                        1048
group:                      users
gid:                        100
sge_o_home:                 /users/imk1/
sge_o_log_name:             imk1
sge_o_path:                 /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
sge_o_shell:                /bin/bash
sge_o_workdir:              /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep1.line_66.id_20.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep1.line_66.id_20.stdout.cluster
jobshare:                   0
env_list:                   LIBRARY_PATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/lib,TMUX=/tmp/tmux-1048/default,43619,2,MAIL=/var/mail/imk1,SSH_CLIENT=171.65.77.8 57066 22,USER=imk1,J2SDKDIR=/usr/lib/jvm/java-8-oracle,SHLVL=4,PERL_LOCAL_LIB_ROOT=/users/imk1/perl5,J2REDIR=/usr/lib/jvm/java-8-oracle/jre,HOME=/users/imk1/,DEEPLIFT_DIR=/srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift,SSH_TTY=/dev/pts/4,LOGNAME=imk1,_=/usr/bin/bds,EVENT_NOEPOLL=1,XDG_SESSION_ID=67062,TERM=screen,PERL_MB_OPT=--install_base "/users/imk1/perl5",KERAS_DIR=/users/imk1/.local/lib/python2.7/site-packages/keras/,SGE_ROOT=/var/lib/gridengine,PATH=/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect,DERBY_HOME=/usr/lib/jvm/java-8-oracle/db,PERL5LIB=/users/imk1/perl5/lib/perl5,XDG_RUNTIME_DIR=/run/user/1048,DISPLAY=localhost:12.0,SGE_CELL=default,STY=36935.ZBTB26_MACS2.BDS,LANG=en_US.UTF-8,SHELL=/bin/bash,KRB5CCNAME=FILE:/tmp/krb5cc_1048_CCx82k,XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt,RULEFITBASE=/srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/,PERL_MM_OPT=INSTALL_BASE=/users/imk1/perl5,UTIL_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/,MODULE_VERSION=3.2.10,MODULE_VERSION_STACK=3.2.10,WINDOW=0,NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat,PWD=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2,JAVA_HOME=/usr/lib/jvm/java-8-oracle,LOADEDMODULES=NONE,SSH_CONNECTION=171.65.77.8 57067 171.65.76.63 22,TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\,PYTHONPATH=/users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/,ENHANCER_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/,CPATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/include,MODULEPATH=/usr/local/Modules/versions				:/usr/local/Modules/$MODULE_VERSION/modulefiles	:/modules/				:/software/modulefiles,TMUX_PANE=%2,MODULESHOME=/software/env_module/3.2.10
scheduling info:            There are no messages available

Num 12
ID task.callpeak_spp.spp_rep1_pr1.line_59.id_21
Name spp rep1-pr1
Thread thread_Root
PID 46479
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-08 21:28:04
End 2017-04-11 01:03:13
Elapsed 2 days 03:35:08
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 61

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 64

 if [ $(which run_spp_nodups.R 2> /dev/null | wc -l || echo) == "1" ]; then RUN_SPP=$(which run_spp_nodups.R); \
		    else RUN_SPP=$(which run_spp.R); \
		    fi

# SYS command. line 68

 Rscript  ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1 -speak=235 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 72

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | awk 'BEGIN{OFS="\t"}{ if ($2<0) $2=0; print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' | gzip -f -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 74

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 76

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 79

 if [ $(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | wc -l ) == "0" ]; then rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz; fi

# SYS command. line 82

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 84

 if [[ true == "true" ]]; then \
			bedtools intersect -v -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz) \
			| awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}' | grep -P 'chr[\dXY]+[ \t]' \
			| gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.filt.regionPeak.gz; \
		fi

# SYS command. line 90

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
14582 (process ID) old priority 0, new priority 19
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 235 
exclusion(min): 10 
exclusion(max): NaN 
num parallel nodes: 1 
FDR threshold: 0.01 
NumPeaks Threshold: 3e+05 
Output Directory: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore 
Overwrite files?: TRUE

Decompressing ChIP file
Decompressing control file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.gz 
opened /tmp/46479.1.q/Rtmp9NoAAI/ENCFF066ZSK.pr1.tagAlign39544269be8
done. read 63752772 fragments
ChIP data read length 101 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/46479.1.q/Rtmp9NoAAI/ss_50M_2000_GRCh38.nodup.tagAlign39541b7e10e2
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.4042359 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.556710325726146 
Top 3 estimates for fragment length 235 
Window half size 645 
Phantom peak location 105 
Phantom peak Correlation 0.5075078 
Normalized Strand cross-correlation coefficient (NSC) 1.377192 
Relative Strand cross-correlation Coefficient (RSC) 1.476436 
Phantom Peak Quality Tag 1 
null device 
          1 
Removing read stacks
Finding peaks
finding background exclusion regions ... done
determining peaks on provided 1 control datasets:
using reversed signal for FDR calculations
bg.weight= 1.820842  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.5491964  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000002 
Detected 1957100 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools

 
Num 13
ID task.callpeak_spp.spp_rep1_pr2.line_59.id_22
Name spp rep1-pr2
Thread thread_Root
PID 46480
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-08 21:28:18
End 2017-04-10 14:46:10
Elapsed 1 day 17:17:51
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 61

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 64

 if [ $(which run_spp_nodups.R 2> /dev/null | wc -l || echo) == "1" ]; then RUN_SPP=$(which run_spp_nodups.R); \
		    else RUN_SPP=$(which run_spp.R); \
		    fi

# SYS command. line 68

 Rscript  ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2 -speak=235 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 72

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | awk 'BEGIN{OFS="\t"}{ if ($2<0) $2=0; print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' | gzip -f -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 74

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 76

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 79

 if [ $(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | wc -l ) == "0" ]; then rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz; fi

# SYS command. line 82

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 84

 if [[ true == "true" ]]; then \
			bedtools intersect -v -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz) \
			| awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}' | grep -P 'chr[\dXY]+[ \t]' \
			| gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.filt.regionPeak.gz; \
		fi

# SYS command. line 90

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
16189 (process ID) old priority 0, new priority 19
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 235 
exclusion(min): 10 
exclusion(max): NaN 
num parallel nodes: 1 
FDR threshold: 0.01 
NumPeaks Threshold: 3e+05 
Output Directory: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore 
Overwrite files?: TRUE

Decompressing ChIP file
Decompressing control file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.gz 
opened /tmp/46480.1.q/RtmpZwlufm/ENCFF066ZSK.pr2.tagAlign40ae325a765b
done. read 63752772 fragments
ChIP data read length 101 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/46480.1.q/RtmpZwlufm/ss_50M_2000_GRCh38.nodup.tagAlign40ae28d15904
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.404307 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.556524253464548 
Top 3 estimates for fragment length 235 
Window half size 645 
Phantom peak location 105 
Phantom peak Correlation 0.5076401 
Normalized Strand cross-correlation coefficient (NSC) 1.376489 
Relative Strand cross-correlation Coefficient (RSC) 1.473074 
Phantom Peak Quality Tag 1 
null device 
          1 
Removing read stacks
Finding peaks
finding background exclusion regions ... done
determining peaks on provided 1 control datasets:
using reversed signal for FDR calculations
bg.weight= 1.820808  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.5492067  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000009 
Detected 1956838 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools

 
Num 14
ID task.callpeak_macs2.macs2_n_s_rep1_pr1.line_66.id_23
Name macs2 n/s rep1-pr1
Thread thread_Root
PID 46495
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-09 16:26:57
End 2017-04-09 16:26:57
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz
Dependencies
 
# SYS command. line 68

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 69

 export LC_COLLATE=C

# SYS command. line 74

 macs2 callpeak -t /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.gz -c /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz -f BED -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign -g hs -p 0.01 --nomodel --shift 0 --extsize 235 --keep-dup all -B --SPMR

# SYS command. line 77

 sort -k 8gr,8gr "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak | awk 'BEGIN{OFS="\t"}{$4="Peak_"NR ; print $0}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz

# SYS command. line 80

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.xls \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_summits.bed

# SYS command. line 84

 if [[ false == "false" ]]; then \
			rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg; \
			TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi; \
			exit; \
		fi

# SYS command. line 94

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1 -o "ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -m FE

# SYS command. line 97

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph

# SYS command. line 98

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg

# SYS command. line 101

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 102

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw

# SYS command. line 103

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 109

 chipReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}')

# SYS command. line 111

 controlReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}'); sval=$(echo "${chipReads} ${controlReads}" | awk '$1>$2{printf "%f",$2} $1<=$2{printf "%f",$1}')

# SYS command. line 113

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1 -o "ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -m ppois -S "${sval}"

# SYS command. line 116

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph

# SYS command. line 117

 rm -rf "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg

# SYS command. line 120

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 121

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw

# SYS command. line 122

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 124

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr1/ENCFF066ZSK.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg

# SYS command. line 126

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
50606 (process ID) old priority 0, new priority 19

 
--------------------Stderr--------------------
Traceback (most recent call last):
  File "/software/miniconda3/envs/aquas_chipseq/bin/macs2", line 4, in 
    __import__('pkg_resources').run_script('MACS2==2.1.0.20150731', 'macs2')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in 
    @_call_aside
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside
    f(*args, **kwargs)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws = cls()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 646, in __init__
    self.add_entry(entry)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 702, in add_entry
    for dist in find_distributions(entry, True):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1996, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in from_location
    py_version=py_version, platform=platform, **kw
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2746, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in _version_from_file
    line = next(iter(version_lines), '')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2538, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1470, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1579, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/software/miniconda3/envs/aquas_chipseq/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg-info/PKG-INFO'

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46495
submission_time:            Sun Apr  9 16:26:57 2017
owner:                      imk1
uid:                        1048
group:                      users
gid:                        100
sge_o_home:                 /users/imk1/
sge_o_log_name:             imk1
sge_o_path:                 /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
sge_o_shell:                /bin/bash
sge_o_workdir:              /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep1_pr1.line_66.id_23.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep1_pr1.line_66.id_23.stdout.cluster
jobshare:                   0
env_list:                   LIBRARY_PATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/lib,TMUX=/tmp/tmux-1048/default,43619,2,MAIL=/var/mail/imk1,SSH_CLIENT=171.65.77.8 57066 22,USER=imk1,J2SDKDIR=/usr/lib/jvm/java-8-oracle,SHLVL=4,PERL_LOCAL_LIB_ROOT=/users/imk1/perl5,J2REDIR=/usr/lib/jvm/java-8-oracle/jre,HOME=/users/imk1/,DEEPLIFT_DIR=/srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift,SSH_TTY=/dev/pts/4,LOGNAME=imk1,_=/usr/bin/bds,EVENT_NOEPOLL=1,XDG_SESSION_ID=67062,TERM=screen,PERL_MB_OPT=--install_base "/users/imk1/perl5",KERAS_DIR=/users/imk1/.local/lib/python2.7/site-packages/keras/,SGE_ROOT=/var/lib/gridengine,PATH=/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect,DERBY_HOME=/usr/lib/jvm/java-8-oracle/db,PERL5LIB=/users/imk1/perl5/lib/perl5,XDG_RUNTIME_DIR=/run/user/1048,DISPLAY=localhost:12.0,SGE_CELL=default,STY=36935.ZBTB26_MACS2.BDS,LANG=en_US.UTF-8,SHELL=/bin/bash,KRB5CCNAME=FILE:/tmp/krb5cc_1048_CCx82k,XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt,RULEFITBASE=/srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/,PERL_MM_OPT=INSTALL_BASE=/users/imk1/perl5,UTIL_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/,MODULE_VERSION=3.2.10,MODULE_VERSION_STACK=3.2.10,WINDOW=0,NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat,PWD=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2,JAVA_HOME=/usr/lib/jvm/java-8-oracle,LOADEDMODULES=NONE,SSH_CONNECTION=171.65.77.8 57067 171.65.76.63 22,TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\,PYTHONPATH=/users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/,ENHANCER_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/,CPATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/include,MODULEPATH=/usr/local/Modules/versions				:/usr/local/Modules/$MODULE_VERSION/modulefiles	:/modules/				:/software/modulefiles,TMUX_PANE=%2,MODULESHOME=/software/env_module/3.2.10
scheduling info:            There are no messages available

Num 15
ID task.callpeak_macs2.macs2_n_s_rep1_pr2.line_66.id_24
Name macs2 n/s rep1-pr2
Thread thread_Root
PID 46496
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-09 16:27:19
End 2017-04-09 16:27:19
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz
Dependencies
 
# SYS command. line 68

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 69

 export LC_COLLATE=C

# SYS command. line 74

 macs2 callpeak -t /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.gz -c /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz -f BED -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign -g hs -p 0.01 --nomodel --shift 0 --extsize 235 --keep-dup all -B --SPMR

# SYS command. line 77

 sort -k 8gr,8gr "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak | awk 'BEGIN{OFS="\t"}{$4="Peak_"NR ; print $0}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz

# SYS command. line 80

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.xls \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_summits.bed

# SYS command. line 84

 if [[ false == "false" ]]; then \
			rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg; \
			TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi; \
			exit; \
		fi

# SYS command. line 94

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2 -o "ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -m FE

# SYS command. line 97

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph

# SYS command. line 98

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg

# SYS command. line 101

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 102

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw

# SYS command. line 103

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 109

 chipReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}')

# SYS command. line 111

 controlReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}'); sval=$(echo "${chipReads} ${controlReads}" | awk '$1>$2{printf "%f",$2} $1<=$2{printf "%f",$1}')

# SYS command. line 113

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2 -o "ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -m ppois -S "${sval}"

# SYS command. line 116

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph

# SYS command. line 117

 rm -rf "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg

# SYS command. line 120

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 121

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw

# SYS command. line 122

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 124

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep1/pr2/ENCFF066ZSK.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg

# SYS command. line 126

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
51229 (process ID) old priority 0, new priority 19

 
--------------------Stderr--------------------
Traceback (most recent call last):
  File "/software/miniconda3/envs/aquas_chipseq/bin/macs2", line 4, in 
    __import__('pkg_resources').run_script('MACS2==2.1.0.20150731', 'macs2')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in 
    @_call_aside
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside
    f(*args, **kwargs)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws = cls()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 646, in __init__
    self.add_entry(entry)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 702, in add_entry
    for dist in find_distributions(entry, True):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1996, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in from_location
    py_version=py_version, platform=platform, **kw
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2746, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in _version_from_file
    line = next(iter(version_lines), '')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2538, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1470, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1579, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/software/miniconda3/envs/aquas_chipseq/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg-info/PKG-INFO'

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46496
submission_time:            Sun Apr  9 16:27:19 2017
owner:                      imk1
uid:                        1048
group:                      users
gid:                        100
sge_o_home:                 /users/imk1/
sge_o_log_name:             imk1
sge_o_path:                 /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
sge_o_shell:                /bin/bash
sge_o_workdir:              /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep1_pr2.line_66.id_24.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep1_pr2.line_66.id_24.stdout.cluster
jobshare:                   0
env_list:                   LIBRARY_PATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/lib,TMUX=/tmp/tmux-1048/default,43619,2,MAIL=/var/mail/imk1,SSH_CLIENT=171.65.77.8 57066 22,USER=imk1,J2SDKDIR=/usr/lib/jvm/java-8-oracle,SHLVL=4,PERL_LOCAL_LIB_ROOT=/users/imk1/perl5,J2REDIR=/usr/lib/jvm/java-8-oracle/jre,HOME=/users/imk1/,DEEPLIFT_DIR=/srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift,SSH_TTY=/dev/pts/4,LOGNAME=imk1,_=/usr/bin/bds,EVENT_NOEPOLL=1,XDG_SESSION_ID=67062,TERM=screen,PERL_MB_OPT=--install_base "/users/imk1/perl5",KERAS_DIR=/users/imk1/.local/lib/python2.7/site-packages/keras/,SGE_ROOT=/var/lib/gridengine,PATH=/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect,DERBY_HOME=/usr/lib/jvm/java-8-oracle/db,PERL5LIB=/users/imk1/perl5/lib/perl5,XDG_RUNTIME_DIR=/run/user/1048,DISPLAY=localhost:12.0,SGE_CELL=default,STY=36935.ZBTB26_MACS2.BDS,LANG=en_US.UTF-8,SHELL=/bin/bash,KRB5CCNAME=FILE:/tmp/krb5cc_1048_CCx82k,XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt,RULEFITBASE=/srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/,PERL_MM_OPT=INSTALL_BASE=/users/imk1/perl5,UTIL_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/,MODULE_VERSION=3.2.10,MODULE_VERSION_STACK=3.2.10,WINDOW=0,NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat,PWD=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2,JAVA_HOME=/usr/lib/jvm/java-8-oracle,LOADEDMODULES=NONE,SSH_CONNECTION=171.65.77.8 57067 171.65.76.63 22,TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\,PYTHONPATH=/users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/,ENHANCER_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/,CPATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/include,MODULEPATH=/usr/local/Modules/versions				:/usr/local/Modules/$MODULE_VERSION/modulefiles	:/modules/				:/software/modulefiles,TMUX_PANE=%2,MODULESHOME=/software/env_module/3.2.10
scheduling info:            There are no messages available

Num 16
ID task.callpeak_spp.spp_rep2.line_59.id_25
Name spp rep2
Thread thread_Root
PID 46497
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-09 16:27:33
End 2017-04-11 13:01:16
Elapsed 1 day 20:33:43
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 61

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 64

 if [ $(which run_spp_nodups.R 2> /dev/null | wc -l || echo) == "1" ]; then RUN_SPP=$(which run_spp_nodups.R); \
		    else RUN_SPP=$(which run_spp.R); \
		    fi

# SYS command. line 68

 Rscript  ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2 -speak=240 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 72

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | awk 'BEGIN{OFS="\t"}{ if ($2<0) $2=0; print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' | gzip -f -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 74

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 76

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 79

 if [ $(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | wc -l ) == "0" ]; then rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz; fi

# SYS command. line 82

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 84

 if [[ true == "true" ]]; then \
			bedtools intersect -v -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz) \
			| awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}' | grep -P 'chr[\dXY]+[ \t]' \
			| gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.filt.regionPeak.gz; \
		fi

# SYS command. line 90

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
51774 (process ID) old priority 0, new priority 19
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 240 
exclusion(min): 10 
exclusion(max): NaN 
num parallel nodes: 1 
FDR threshold: 0.01 
NumPeaks Threshold: 3e+05 
Output Directory: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore 
Overwrite files?: TRUE

Decompressing ChIP file
Decompressing control file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.tagAlign.gz 
opened /tmp/46497.1.q/RtmpmPnYdk/ENCFF241VRG.tagAligncb8a6e05aca
done. read 92229774 fragments
ChIP data read length 101 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/46497.1.q/RtmpmPnYdk/ss_50M_2000_GRCh38.nodup.tagAligncb8a7543959
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.4823862 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.61716874932832 
Top 3 estimates for fragment length 240 
Window half size 700 
Phantom peak location 105 
Phantom peak Correlation 0.5748702 
Normalized Strand cross-correlation coefficient (NSC) 1.279408 
Relative Strand cross-correlation Coefficient (RSC) 1.457361 
Phantom Peak Quality Tag 1 
null device 
          1 
Removing read stacks
Finding peaks
finding background exclusion regions ... done
determining peaks on provided 1 control datasets:
using reversed signal for FDR calculations
bg.weight= 1.26688  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.7893409  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000006 
Detected 2195177 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools

 
Num 17
ID task.callpeak_macs2.macs2_n_s_rep2.line_66.id_26
Name macs2 n/s rep2
Thread thread_Root
PID 46500
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-09 18:44:13
End 2017-04-09 18:44:13
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw
Dependencies
 
# SYS command. line 68

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 69

 export LC_COLLATE=C

# SYS command. line 74

 macs2 callpeak -t /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.tagAlign.gz -c /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz -f BED -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign -g hs -p 0.01 --nomodel --shift 0 --extsize 240 --keep-dup all -B --SPMR

# SYS command. line 77

 sort -k 8gr,8gr "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak | awk 'BEGIN{OFS="\t"}{$4="Peak_"NR ; print $0}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz

# SYS command. line 80

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.xls \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_summits.bed

# SYS command. line 84

 if [[ true == "false" ]]; then \
			rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg; \
			TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi; \
			exit; \
		fi

# SYS command. line 94

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2 -o "ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -m FE

# SYS command. line 97

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph

# SYS command. line 98

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg

# SYS command. line 101

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 102

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw

# SYS command. line 103

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 109

 chipReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}')

# SYS command. line 111

 controlReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}'); sval=$(echo "${chipReads} ${controlReads}" | awk '$1>$2{printf "%f",$2} $1<=$2{printf "%f",$1}')

# SYS command. line 113

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2 -o "ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -m ppois -S "${sval}"

# SYS command. line 116

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph

# SYS command. line 117

 rm -rf "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg

# SYS command. line 120

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 121

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/signal/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw

# SYS command. line 122

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 124

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/rep2/ENCFF241VRG.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg

# SYS command. line 126

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
52389 (process ID) old priority 0, new priority 19

 
--------------------Stderr--------------------
Traceback (most recent call last):
  File "/software/miniconda3/envs/aquas_chipseq/bin/macs2", line 4, in 
    __import__('pkg_resources').run_script('MACS2==2.1.0.20150731', 'macs2')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in 
    @_call_aside
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside
    f(*args, **kwargs)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws = cls()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 646, in __init__
    self.add_entry(entry)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 702, in add_entry
    for dist in find_distributions(entry, True):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1996, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in from_location
    py_version=py_version, platform=platform, **kw
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2746, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in _version_from_file
    line = next(iter(version_lines), '')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2538, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1470, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1579, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/software/miniconda3/envs/aquas_chipseq/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg-info/PKG-INFO'

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46500
submission_time:            Sun Apr  9 18:44:13 2017
owner:                      imk1
uid:                        1048
group:                      users
gid:                        100
sge_o_home:                 /users/imk1/
sge_o_log_name:             imk1
sge_o_path:                 /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
sge_o_shell:                /bin/bash
sge_o_workdir:              /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep2.line_66.id_26.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep2.line_66.id_26.stdout.cluster
jobshare:                   0
env_list:                   LIBRARY_PATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/lib,TMUX=/tmp/tmux-1048/default,43619,2,MAIL=/var/mail/imk1,SSH_CLIENT=171.65.77.8 57066 22,USER=imk1,J2SDKDIR=/usr/lib/jvm/java-8-oracle,SHLVL=4,PERL_LOCAL_LIB_ROOT=/users/imk1/perl5,J2REDIR=/usr/lib/jvm/java-8-oracle/jre,HOME=/users/imk1/,DEEPLIFT_DIR=/srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift,SSH_TTY=/dev/pts/4,LOGNAME=imk1,_=/usr/bin/bds,EVENT_NOEPOLL=1,XDG_SESSION_ID=67062,TERM=screen,PERL_MB_OPT=--install_base "/users/imk1/perl5",KERAS_DIR=/users/imk1/.local/lib/python2.7/site-packages/keras/,SGE_ROOT=/var/lib/gridengine,PATH=/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect,DERBY_HOME=/usr/lib/jvm/java-8-oracle/db,PERL5LIB=/users/imk1/perl5/lib/perl5,XDG_RUNTIME_DIR=/run/user/1048,DISPLAY=localhost:12.0,SGE_CELL=default,STY=36935.ZBTB26_MACS2.BDS,LANG=en_US.UTF-8,SHELL=/bin/bash,KRB5CCNAME=FILE:/tmp/krb5cc_1048_CCx82k,XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt,RULEFITBASE=/srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/,PERL_MM_OPT=INSTALL_BASE=/users/imk1/perl5,UTIL_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/,MODULE_VERSION=3.2.10,MODULE_VERSION_STACK=3.2.10,WINDOW=0,NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat,PWD=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2,JAVA_HOME=/usr/lib/jvm/java-8-oracle,LOADEDMODULES=NONE,SSH_CONNECTION=171.65.77.8 57067 171.65.76.63 22,TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\,PYTHONPATH=/users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/,ENHANCER_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/,CPATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/include,MODULEPATH=/usr/local/Modules/versions				:/usr/local/Modules/$MODULE_VERSION/modulefiles	:/modules/				:/software/modulefiles,TMUX_PANE=%2,MODULESHOME=/software/env_module/3.2.10
scheduling info:            There are no messages available

Num 18
ID task.callpeak_spp.spp_rep2_pr1.line_59.id_27
Name spp rep2-pr1
Thread thread_Root
PID 46501
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-09 18:44:33
End 2017-04-11 09:37:45
Elapsed 1 day 14:53:12
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 61

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 64

 if [ $(which run_spp_nodups.R 2> /dev/null | wc -l || echo) == "1" ]; then RUN_SPP=$(which run_spp_nodups.R); \
		    else RUN_SPP=$(which run_spp.R); \
		    fi

# SYS command. line 68

 Rscript  ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1 -speak=240 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 72

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | awk 'BEGIN{OFS="\t"}{ if ($2<0) $2=0; print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' | gzip -f -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 74

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 76

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 79

 if [ $(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | wc -l ) == "0" ]; then rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz; fi

# SYS command. line 82

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 84

 if [[ true == "true" ]]; then \
			bedtools intersect -v -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz) \
			| awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}' | grep -P 'chr[\dXY]+[ \t]' \
			| gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.filt.regionPeak.gz; \
		fi

# SYS command. line 90

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
53023 (process ID) old priority 0, new priority 19
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 240 
exclusion(min): 10 
exclusion(max): NaN 
num parallel nodes: 1 
FDR threshold: 0.01 
NumPeaks Threshold: 3e+05 
Output Directory: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore 
Overwrite files?: TRUE

Decompressing ChIP file
Decompressing control file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.gz 
opened /tmp/46501.1.q/Rtmp0dE21D/ENCFF241VRG.pr1.tagAlignd08c511256aa
done. read 46114888 fragments
ChIP data read length 101 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/46501.1.q/Rtmp0dE21D/ss_50M_2000_GRCh38.nodup.tagAlignd08ce09cf09
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.3428064 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.49322350308299 
Top 3 estimates for fragment length 240 
Window half size 630 
Phantom peak location 105 
Phantom peak Correlation 0.4408771 
Normalized Strand cross-correlation coefficient (NSC) 1.438782 
Relative Strand cross-correlation Coefficient (RSC) 1.533762 
Phantom Peak Quality Tag 2 
null device 
          1 
Removing read stacks
Finding peaks
finding background exclusion regions ... done
determining peaks on provided 1 control datasets:
using reversed signal for FDR calculations
bg.weight= 2.532322  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.3948945  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000005 
Detected 1601235 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools

 
Num 19
ID task.callpeak_spp.spp_rep2_pr2.line_59.id_28
Name spp rep2-pr2
Thread thread_Root
PID 46504
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-10 09:00:57
End 2017-04-12 00:00:11
Elapsed 1 day 14:59:13
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 61

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 64

 if [ $(which run_spp_nodups.R 2> /dev/null | wc -l || echo) == "1" ]; then RUN_SPP=$(which run_spp_nodups.R); \
		    else RUN_SPP=$(which run_spp.R); \
		    fi

# SYS command. line 68

 Rscript  ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2 -speak=240 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 72

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | awk 'BEGIN{OFS="\t"}{ if ($2<0) $2=0; print $1,int($2),int($3),$4,$5,$6,$7,$8,$9,$10;}' | gzip -f -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 74

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 76

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 79

 if [ $(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz | wc -l ) == "0" ]; then rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz; fi

# SYS command. line 82

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 84

 if [[ true == "true" ]]; then \
			bedtools intersect -v -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz) \
			| awk 'BEGIN{OFS="\t"} {if ($5>1000) $5=1000; print $0}' | grep -P 'chr[\dXY]+[ \t]' \
			| gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.filt.regionPeak.gz; \
		fi

# SYS command. line 90

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
35851 (process ID) old priority 0, new priority 19
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 240 
exclusion(min): 10 
exclusion(max): NaN 
num parallel nodes: 1 
FDR threshold: 0.01 
NumPeaks Threshold: 3e+05 
Output Directory: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/spp/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore 
Overwrite files?: TRUE

Decompressing ChIP file
Decompressing control file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.gz 
opened /tmp/46504.1.q/RtmpV6ZC4V/ENCFF241VRG.pr2.tagAlign8c635800b028
done. read 46114886 fragments
ChIP data read length 101 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/46504.1.q/RtmpV6ZC4V/ss_50M_2000_GRCh38.nodup.tagAlign8c63f34f6b
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.3426339 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.493346611806482 
Top 3 estimates for fragment length 240 
Window half size 630 
Phantom peak location 105 
Phantom peak Correlation 0.4408054 
Normalized Strand cross-correlation coefficient (NSC) 1.439865 
Relative Strand cross-correlation Coefficient (RSC) 1.535199 
Phantom Peak Quality Tag 2 
null device 
          1 
Removing read stacks
Finding peaks
finding background exclusion regions ... done
determining peaks on provided 1 control datasets:
using reversed signal for FDR calculations
bg.weight= 2.532283  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.3949006  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000003 
Detected 1601711 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools

 
Num 20
ID task.callpeak_macs2.macs2_n_s_rep2_pr1.line_66.id_29
Name macs2 n/s rep2-pr1
Thread thread_Root
PID 46526
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-10 14:46:12
End 2017-04-10 14:46:12
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz
Dependencies
 
# SYS command. line 68

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 69

 export LC_COLLATE=C

# SYS command. line 74

 macs2 callpeak -t /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.gz -c /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz -f BED -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign -g hs -p 0.01 --nomodel --shift 0 --extsize 240 --keep-dup all -B --SPMR

# SYS command. line 77

 sort -k 8gr,8gr "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak | awk 'BEGIN{OFS="\t"}{$4="Peak_"NR ; print $0}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz

# SYS command. line 80

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.xls \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_summits.bed

# SYS command. line 84

 if [[ false == "false" ]]; then \
			rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg; \
			TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi; \
			exit; \
		fi

# SYS command. line 94

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1 -o "ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -m FE

# SYS command. line 97

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph

# SYS command. line 98

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg

# SYS command. line 101

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 102

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw

# SYS command. line 103

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 109

 chipReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}')

# SYS command. line 111

 controlReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}'); sval=$(echo "${chipReads} ${controlReads}" | awk '$1>$2{printf "%f",$2} $1<=$2{printf "%f",$1}')

# SYS command. line 113

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1 -o "ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -m ppois -S "${sval}"

# SYS command. line 116

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph

# SYS command. line 117

 rm -rf "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg

# SYS command. line 120

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 121

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw

# SYS command. line 122

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 124

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr1/ENCFF241VRG.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg

# SYS command. line 126

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
53222 (process ID) old priority 0, new priority 19

 
--------------------Stderr--------------------
Traceback (most recent call last):
  File "/software/miniconda3/envs/aquas_chipseq/bin/macs2", line 4, in 
    __import__('pkg_resources').run_script('MACS2==2.1.0.20150731', 'macs2')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in 
    @_call_aside
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside
    f(*args, **kwargs)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws = cls()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 646, in __init__
    self.add_entry(entry)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 702, in add_entry
    for dist in find_distributions(entry, True):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1996, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in from_location
    py_version=py_version, platform=platform, **kw
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2746, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in _version_from_file
    line = next(iter(version_lines), '')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2538, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1470, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1579, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/software/miniconda3/envs/aquas_chipseq/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg-info/PKG-INFO'

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46526
submission_time:            Mon Apr 10 14:46:12 2017
owner:                      imk1
uid:                        1048
group:                      users
gid:                        100
sge_o_home:                 /users/imk1/
sge_o_log_name:             imk1
sge_o_path:                 /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
sge_o_shell:                /bin/bash
sge_o_workdir:              /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep2_pr1.line_66.id_29.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep2_pr1.line_66.id_29.stdout.cluster
jobshare:                   0
env_list:                   LIBRARY_PATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/lib,TMUX=/tmp/tmux-1048/default,43619,2,MAIL=/var/mail/imk1,SSH_CLIENT=171.65.77.8 57066 22,USER=imk1,J2SDKDIR=/usr/lib/jvm/java-8-oracle,SHLVL=4,PERL_LOCAL_LIB_ROOT=/users/imk1/perl5,J2REDIR=/usr/lib/jvm/java-8-oracle/jre,HOME=/users/imk1/,DEEPLIFT_DIR=/srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift,SSH_TTY=/dev/pts/4,LOGNAME=imk1,_=/usr/bin/bds,EVENT_NOEPOLL=1,XDG_SESSION_ID=67062,TERM=screen,PERL_MB_OPT=--install_base "/users/imk1/perl5",KERAS_DIR=/users/imk1/.local/lib/python2.7/site-packages/keras/,SGE_ROOT=/var/lib/gridengine,PATH=/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect,DERBY_HOME=/usr/lib/jvm/java-8-oracle/db,PERL5LIB=/users/imk1/perl5/lib/perl5,XDG_RUNTIME_DIR=/run/user/1048,DISPLAY=localhost:12.0,SGE_CELL=default,STY=36935.ZBTB26_MACS2.BDS,LANG=en_US.UTF-8,SHELL=/bin/bash,KRB5CCNAME=FILE:/tmp/krb5cc_1048_CCx82k,XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt,RULEFITBASE=/srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/,PERL_MM_OPT=INSTALL_BASE=/users/imk1/perl5,UTIL_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/,MODULE_VERSION=3.2.10,MODULE_VERSION_STACK=3.2.10,WINDOW=0,NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat,PWD=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2,JAVA_HOME=/usr/lib/jvm/java-8-oracle,LOADEDMODULES=NONE,SSH_CONNECTION=171.65.77.8 57067 171.65.76.63 22,TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\,PYTHONPATH=/users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/,ENHANCER_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/,CPATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/include,MODULEPATH=/usr/local/Modules/versions				:/usr/local/Modules/$MODULE_VERSION/modulefiles	:/modules/				:/software/modulefiles,TMUX_PANE=%2,MODULESHOME=/software/env_module/3.2.10
scheduling info:            There are no messages available

Num 21
ID task.callpeak_macs2.macs2_n_s_rep2_pr2.line_66.id_30
Name macs2 n/s rep2-pr2
Thread thread_Root
PID 46527
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-10 14:46:34
End 2017-04-10 14:46:34
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz
Dependencies
 
# SYS command. line 68

 if [[ -f $(which /software/miniconda3/bin/conda) && $(/software/miniconda3/bin/conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source /software/miniconda3/bin/activate aquas_chipseq; sleep 5; fi;  export PATH=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/.:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/modules:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils:${PATH}:/bin:/usr/bin:/usr/local/bin:${HOME}/.bds; set -o pipefail; STARTTIME=$(date +%s); if (( $(nice)<19 )); then renice -n 19 $$; fi

# SYS command. line 69

 export LC_COLLATE=C

# SYS command. line 74

 macs2 callpeak -t /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.gz -c /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz -f BED -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign -g hs -p 0.01 --nomodel --shift 0 --extsize 240 --keep-dup all -B --SPMR

# SYS command. line 77

 sort -k 8gr,8gr "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak | awk 'BEGIN{OFS="\t"}{$4="Peak_"NR ; print $0}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.narrowPeak.gz

# SYS command. line 80

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.xls \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_peaks.narrowPeak \
			"/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_summits.bed

# SYS command. line 84

 if [[ false == "false" ]]; then \
			rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg; \
			TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi; \
			exit; \
		fi

# SYS command. line 94

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2 -o "ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -m FE

# SYS command. line 97

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph

# SYS command. line 98

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_FE.bdg

# SYS command. line 101

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 102

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bw

# SYS command. line 103

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.fc.signal.srt.bedgraph

# SYS command. line 109

 chipReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}')

# SYS command. line 111

 controlReads=$(zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz | wc -l | awk '{printf "%f", $1/1000000}'); sval=$(echo "${chipReads} ${controlReads}" | awk '$1>$2{printf "%f",$2} $1<=$2{printf "%f",$1}')

# SYS command. line 113

 macs2 bdgcmp -t "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg -c "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg --outdir /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2 -o "ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -m ppois -S "${sval}"

# SYS command. line 116

 slopBed -i "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg -g /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes -b 0 |   awk '{if ($3 != -1) print $0}' |  bedClip stdin /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph

# SYS command. line 117

 rm -rf "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_ppois.bdg

# SYS command. line 120

 sort -k1,1 -k2,2n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 121

 bedGraphToBigWig /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph /mnt/data/bds_pipeline_genome_data/hg38/hg38.chrom.sizes /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bw

# SYS command. line 122

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.bedgraph /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pval.signal.srt.bedgraph

# SYS command. line 124

 rm -f "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_treat_pileup.bdg "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/peak/macs2/pseudo_reps/rep2/pr2/ENCFF241VRG.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign"_control_lambda.bdg

# SYS command. line 126

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
53332 (process ID) old priority 0, new priority 19

 
--------------------Stderr--------------------
Traceback (most recent call last):
  File "/software/miniconda3/envs/aquas_chipseq/bin/macs2", line 4, in 
    __import__('pkg_resources').run_script('MACS2==2.1.0.20150731', 'macs2')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2991, in 
    @_call_aside
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2977, in _call_aside
    f(*args, **kwargs)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3004, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 653, in _build_master
    ws = cls()
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 646, in __init__
    self.add_entry(entry)
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 702, in add_entry
    for dist in find_distributions(entry, True):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1996, in find_on_path
    path_item, entry, metadata, precedence=DEVELOP_DIST
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2405, in from_location
    py_version=py_version, platform=platform, **kw
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2746, in _reload_version
    md_version = _version_from_file(self._get_metadata(self.PKG_INFO))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2370, in _version_from_file
    line = next(iter(version_lines), '')
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2538, in _get_metadata
    for line in self.get_metadata_lines(name):
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1474, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1470, in get_metadata
    value = self._get(self._fn(self.egg_info, name))
  File "/users/imk1/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1579, in _get
    with open(path, 'rb') as stream:
IOError: [Errno 13] Permission denied: '/software/miniconda3/envs/aquas_chipseq/lib/python2.7/site-packages/httplib2-0.9.2-py2.7.egg-info/PKG-INFO'

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46527
exec_file:                  job_scripts/46527
submission_time:            Mon Apr 10 14:46:34 2017
owner:                      imk1
uid:                        1048
group:                      users
gid:                        100
sge_o_home:                 /users/imk1/
sge_o_log_name:             imk1
sge_o_path:                 /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
sge_o_shell:                /bin/bash
sge_o_workdir:              /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep2_pr2.line_66.id_30.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/chipseq.bds.20170407_180232_452/task.callpeak_macs2.macs2_n_s_rep2_pr2.line_66.id_30.stdout.cluster
jobshare:                   0
env_list:                   LIBRARY_PATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/lib,TMUX=/tmp/tmux-1048/default,43619,2,MAIL=/var/mail/imk1,SSH_CLIENT=171.65.77.8 57066 22,USER=imk1,J2SDKDIR=/usr/lib/jvm/java-8-oracle,SHLVL=4,PERL_LOCAL_LIB_ROOT=/users/imk1/perl5,J2REDIR=/usr/lib/jvm/java-8-oracle/jre,HOME=/users/imk1/,DEEPLIFT_DIR=/srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift,SSH_TTY=/dev/pts/4,LOGNAME=imk1,_=/usr/bin/bds,EVENT_NOEPOLL=1,XDG_SESSION_ID=67062,TERM=screen,PERL_MB_OPT=--install_base "/users/imk1/perl5",KERAS_DIR=/users/imk1/.local/lib/python2.7/site-packages/keras/,SGE_ROOT=/var/lib/gridengine,PATH=/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect,DERBY_HOME=/usr/lib/jvm/java-8-oracle/db,PERL5LIB=/users/imk1/perl5/lib/perl5,XDG_RUNTIME_DIR=/run/user/1048,DISPLAY=localhost:12.0,SGE_CELL=default,STY=36935.ZBTB26_MACS2.BDS,LANG=en_US.UTF-8,SHELL=/bin/bash,KRB5CCNAME=FILE:/tmp/krb5cc_1048_CCx82k,XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt,RULEFITBASE=/srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/,PERL_MM_OPT=INSTALL_BASE=/users/imk1/perl5,UTIL_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/,MODULE_VERSION=3.2.10,MODULE_VERSION_STACK=3.2.10,WINDOW=0,NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat,PWD=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2,JAVA_HOME=/usr/lib/jvm/java-8-oracle,LOADEDMODULES=NONE,SSH_CONNECTION=171.65.77.8 57067 171.65.76.63 22,TERMCAP=SC|screen|VT 100/ANSI X3.64 virtual terminal:\,PYTHONPATH=/users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/,ENHANCER_SCRIPTS_DIR=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/,CPATH=/users/imk1/anaconda2/pkgs/gsl-1.16-1/include,MODULEPATH=/usr/local/Modules/versions				:/usr/local/Modules/$MODULE_VERSION/modulefiles	:/modules/				:/software/modulefiles,TMUX_PANE=%2,MODULESHOME=/software/env_module/3.2.10
script_file:                STDIN
usage    1:                 cpu=00:00:00, mem=0.00000 GBs, io=0.00000, vmem=N/A, maxvmem=N/A
scheduling info:            There are no messages available

Global scope

Note: Global scope when program finished execution.
Type Name Value
string _ /usr/bin/bds
bool allowEmpty false
string[] args [-title, ZBTB26_MACS2, -nth, 5, -species, hg38, -url_base, http://mitra.stanford.edu/kundaje/leepc12/imk_chipseq/ZBTB26_MACS2/out, -filt_bam1, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep1/ENCFF066ZSK.bam, -filt_bam2, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2/out/align/rep2/ENCFF241VRG.bam, -ctl_tag, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.nodup.tagAlign.gz, -pe, $]
bool canFail false
string CPATH /users/imk1/anaconda2/pkgs/gsl-1.16-1/include
int cpus -1
int cpusLocal 56
int day 86400
string DEEPLIFT_DIR /srv/scratch/imk1/TFBindingPredictionProject/src/deeplift/deeplift
string DERBY_HOME /usr/lib/jvm/java-8-oracle/db
string DISPLAY localhost:12.0
real E 2.718281828459045
string ENHANCER_SCRIPTS_DIR /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/
string EVENT_NOEPOLL 1
int G 1073741824
string HOME /users/imk1/
int hour 3600
string J2REDIR /usr/lib/jvm/java-8-oracle/jre
string J2SDKDIR /usr/lib/jvm/java-8-oracle
string JAVA_HOME /usr/lib/jvm/java-8-oracle
int K 1024
string KERAS_DIR /users/imk1/.local/lib/python2.7/site-packages/keras/
string KRB5CCNAME FILE:/tmp/krb5cc_1048_CCx82k
string LANG en_US.UTF-8
string LIBRARY_PATH /users/imk1/anaconda2/pkgs/gsl-1.16-1/lib
string LOADEDMODULES
string LOGNAME imk1
int M 1048576
string MAIL /var/mail/imk1
int mem -1
int minute 60
string MODULE_VERSION 3.2.10
string MODULE_VERSION_STACK 3.2.10
string MODULEPATH /usr/local/Modules/versions\t\t\t\t:/usr/local/Modules/$MODULE_VERSION/modulefiles\t:/modules/\t\t\t\t:/software/modulefiles
string MODULESHOME /software/env_module/3.2.10
string NLSPATH /usr/dt/lib/nls/msg/%L/%N.cat
string node
int P 1125899906842624
string PATH /users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/rcade/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts//exec:/users/imk1/edirect:/snap/bin:/software/miniconda3/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/users/imk1/edirect
string PERL5LIB /users/imk1/perl5/lib/perl5
string PERL_LOCAL_LIB_ROOT /users/imk1/perl5
string PERL_MB_OPT --install_base \"/users/imk1/perl5\"
string PERL_MM_OPT INSTALL_BASE=/users/imk1/perl5
real PI 3.141592653589793
string ppwd /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
string programName chipseq.bds
string programPath /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/chipseq.bds
string PWD /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/ZBTB26_MACS2
string PYTHONPATH /users/imk1/.local/lib/python2.7/site-packages/keras/:/srv/scratch/imk1/TFBindingPredictionProject/src/pybedtools/
string queue
int retry 0
string RULEFITBASE /srv/scratch/imk1/TFBindingPredictionProject/src/RuleFit/
string SHELL /bin/bash
string SHLVL 4
string SSH_CLIENT 171.65.77.8 57066 22
string SSH_CONNECTION 171.65.77.8 57067 171.65.76.63 22
string SSH_TTY /dev/pts/4
string STY 36935.ZBTB26_MACS2.BDS
string system sge
int T 1099511627776
string TERM screen
string TERMCAP SC|screen|VT 100/ANSI X3.64 virtual terminal:\\\n\t:DO=\\E[%dB:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:bs:bt=\\E[Z:\\\n\t:cd=\\E[J:ce=\\E[K:cl=\\E[H\\E[J:cm=\\E[%i%d;%dH:ct=\\E[3g:\\\n\t:do=^J:nd=\\E[C:pt:rc=\\E8:rs=\\Ec:sc=\\E7:st=\\EH:up=\\EM:\\\n\t:le=^H:bl=^G:cr=^M:it#8:ho=\\E[H:nw=\\EE:ta=^I:is=\\E)0:\\\n\t:li#24:co#80:am:xn:xv:LP:sr=\\EM:al=\\E[L:AL=\\E[%dL:\\\n\t:cs=\\E[%i%d;%dr:dl=\\E[M:DL=\\E[%dM:dc=\\E[P:DC=\\E[%dP:\\\n\t:im=\\E[4h:ei=\\E[4l:mi:IC=\\E[%d@:ks=\\E[?1h\\E=:\\\n\t:ke=\\E[?1l\\E>:vi=\\E[?25l:ve=\\E[34h\\E[?25h:vs=\\E[34l:\\\n\t:ti=\\E[?1049h:te=\\E[?1049l:Km=\\E[M:k0=\\E[10~:k1=\\EOP:\\\n\t:k2=\\EOQ:k3=\\EOR:k4=\\EOS:k5=\\E[15~:k6=\\E[17~:k7=\\E[18~:\\\n\t:k8=\\E[19~:k9=\\E[20~:k;=\\E[21~:F1=\\E[23~:F2=\\E[24~:\\\n\t:kh=\\E[1~:@1=\\E[1~:kH=\\E[4~:@7=\\E[4~:kN=\\E[6~:kP=\\E[5~:\\\n\t:kI=\\E[2~:kD=\\E[3~:ku=\\EOA:kd=\\EOB:kr=\\EOC:kl=\\EOD:
int timeout -1
string TMUX /tmp/tmux-1048/default,43619,2
string TMUX_PANE %2
string USER imk1
string UTIL_SCRIPTS_DIR /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/av_scripts/
int walltimeout 8640000
int week 604800
string WINDOW 0
string XDG_RUNTIME_DIR /run/user/1048
string XDG_SESSION_ID 67062
string XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt