BigDataScript report: chipseq.bds

Script file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/chipseq.bds
Program ID chipseq.bds.20161118_160503_623
Start time 2016-11-18 16:05:03
Run time 1 day 07:50:45.855
Tasks executed 9
Tasks failed 0
Tasks failed names
 
Arguments* [-title, ZNF71, -nth, 5, -macs2_for_pooled_rep_only, -species, hg38, -url_base, http://mitra.stanford.edu/kundaje/imk1/TFBindingPredictionProject/HughesZnfData/ZNF71/out, -bam, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/rep1/SRR1370892_1.bam, -ctl_bam, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.bam, -final_stage, idr, $]
System* sge
Cpus* -1
Exit value 0
* Values in global scope when program finished execution.

Timeline

Task Graph

Parallel (threads) details

Thread ID Parent Tasks
thread_Root None
 chipseq.bds.20161118_160503_623/task.callpeak_spp.spp_rep1.line_54.id_10
chipseq.bds.20161118_160503_623/task.callpeak_spp.spp_rep1_pr1.line_54.id_11
chipseq.bds.20161118_160503_623/task.callpeak_spp.spp_rep1_pr2.line_54.id_12
chipseq.bds.20161118_160503_623/task.callpeak_naive_overlap.naive_overlap_thresh.line_47.id_13
chipseq.bds.20161118_160503_623/task.callpeak_idr.idr2_rep1_pr.line_70.id_14
chipseq.bds.20161118_160503_623/task.callpeak_idr.idr_final_qc.line_205.id_17
chipseq.bds.20161118_160503_623/task.report.peak2hammock.line_357.id_18
chipseq.bds.20161118_160503_623/task.report.peak2hammock.line_357.id_19
chipseq.bds.20161118_160503_623/task.graphviz.report.line_97.id_20
 
thread_42 thread_Root
  
thread_41 thread_Root
  

Task details

Task Execution Time Dependencies Task program, Errors, StdOut / StdErr
Num 1
ID task.callpeak_spp.spp_rep1.line_54.id_10
Name spp rep1
Thread thread_Root
PID 13906
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2016-11-18 16:05:11
End 2016-11-19 23:51:38
Elapsed 1 day 07:46:27
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/rep1/SRR1370892_1.nodup.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 56

 if [[ -f $(which conda) && $(conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source 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); renice -n 10 $$

# SYS command. line 59

 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 63

 Rscript ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/rep1/SRR1370892_1.nodup.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1 -speak=155 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 67

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.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 -c > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 69

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 71

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 74

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

# SYS command. line 77

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 79

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
19200 (process ID) old priority 0, new priority 10
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/rep1/SRR1370892_1.nodup.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 155 
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/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.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/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/rep1/SRR1370892_1.nodup.tagAlign.gz 
opened /tmp/13906.1.amd.q/RtmpoeVDvh/SRR1370892_1.nodup.tagAlign4c095289e4cf
done. read 16871958 fragments
ChIP data read length 69 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/13906.1.amd.q/RtmpoeVDvh/ss_50M_2000_GRCh38.nodup.tagAlign4c096a473074
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.1920151 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.198165321397615 
Top 3 estimates for fragment length 155 
Window half size 320 
Phantom peak location 70 
Phantom peak Correlation 0.195978 
Normalized Strand cross-correlation coefficient (NSC) 1.03203 
Relative Strand cross-correlation Coefficient (RSC) 1.551963 
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= 5.915823  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.1690382  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000021 
Detected 598808 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools
Warning message:
package ‘caTools’ was built under R version 3.2.3 

 
Num 2
ID task.callpeak_spp.spp_rep1_pr1.line_54.id_11
Name spp rep1-pr1
Thread thread_Root
PID 13908
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2016-11-18 16:05:12
End 2016-11-19 22:14:34
Elapsed 1 day 06:09:21
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 56

 if [[ -f $(which conda) && $(conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source 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); renice -n 10 $$

# SYS command. line 59

 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 63

 Rscript ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1 -speak=155 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 67

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.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 -c > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 69

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 71

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 74

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

# SYS command. line 77

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 79

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
19565 (process ID) old priority 0, new priority 10
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 155 
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/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.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/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign.gz 
opened /tmp/13908.1.amd.q/RtmpzxD7VA/SRR1370892_1.nodup.pr1.tagAlign4f1f4533aade
done. read 8435979 fragments
ChIP data read length 69 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/13908.1.amd.q/RtmpzxD7VA/ss_50M_2000_GRCh38.nodup.tagAlign4f1f301a3611
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.1070192 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.11046909031596 
Top 3 estimates for fragment length 155 
Window half size 340 
Phantom peak location 70 
Phantom peak Correlation 0.1093213 
Normalized Strand cross-correlation coefficient (NSC) 1.032236 
Relative Strand cross-correlation Coefficient (RSC) 1.498574 
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= 11.81333  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.08465011  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000143 
Detected 229516 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools
Warning message:
package ‘caTools’ was built under R version 3.2.3 

 
Num 3
ID task.callpeak_spp.spp_rep1_pr2.line_54.id_12
Name spp rep1-pr2
Thread thread_Root
PID 13911
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2016-11-18 16:05:13
End 2016-11-19 20:48:53
Elapsed 1 day 04:43:40
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf
Dependencies
 
# SYS command. line 56

 if [[ -f $(which conda) && $(conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source 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); renice -n 10 $$

# SYS command. line 59

 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 63

 Rscript ${RUN_SPP} -c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign.gz -p=1 -i=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz \
			-npeak=300000 -odir=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2 -speak=155 -savr -savp -rf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.ccscore

# SYS command. line 67

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.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 -c > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 69

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz

# SYS command. line 71

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign.pdf /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.pdf

# SYS command. line 74

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

# SYS command. line 77

 if [ ! -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz ]; then error_in_spp_output_peak_does_not_exist; fi

# SYS command. line 79

 TASKTIME=$[$(date +%s)-${STARTTIME}]; if [ ${TASKTIME} -lt 60 ]; then echo "Waiting for $[60-${TASKTIME}] seconds."; sleep $[60-${TASKTIME}]; fi
 
   
--------------------Stdout--------------------
19559 (process ID) old priority 0, new priority 10
################
ChIP data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign.gz 
Control data: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
strandshift(min): -500 
strandshift(step): 5 
strandshift(max) 1500 
user-defined peak shift 155 
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/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2 
narrowPeak output file name: NA 
regionPeak output file name: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_VS_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak 
Rdata filename: NA 
plot pdf filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign.pdf 
result filename: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.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/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign.gz 
opened /tmp/13911.1.amd.q/RtmpBcZm4y/SRR1370892_1.nodup.pr2.tagAlign4f204673dfa0
done. read 8435979 fragments
ChIP data read length 69 
[1] TRUE
Reading Control tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/ctl1/ss_50M_2000_GRCh38.nodup.tagAlign.gz 
opened /tmp/13911.1.amd.q/RtmpBcZm4y/ss_50M_2000_GRCh38.nodup.tagAlign4f203864fcf
done. read 99493262 fragments
Control data read length 101 
Calculating peak characteristics
Minimum cross-correlation value 0.1067635 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.110130613447115 
Top 3 estimates for fragment length 155 
Window half size 320 
Phantom peak location 75 
Phantom peak Correlation 0.1090045 
Normalized Strand cross-correlation coefficient (NSC) 1.031538 
Relative Strand cross-correlation Coefficient (RSC) 1.50247 
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= 11.81178  excluding systematic background anomalies ... done
determining peaks on real data:
bg.weight= 0.08466128  excluding systematic background anomalies ... done
calculating statistical thresholds
FDR 0.99 threshold= 2.000047 
Detected 224972 peaks 

 
--------------------Stderr--------------------
Loading required package: caTools
Warning message:
package ‘caTools’ was built under R version 3.2.3 

 
Num 4
ID task.callpeak_naive_overlap.naive_overlap_thresh.line_47.id_13
Name naive_overlap_thresh
Thread thread_Root
PID 14798
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2016-11-19 23:51:39
End 2016-11-19 23:52:49
Elapsed 00:01:10
Timeout 01:00:00
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.naive_overlap.regionPeak.gz
Dependencies
 
# SYS command. line 49

 if [[ -f $(which conda) && $(conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source 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); renice -n 10 $$

# SYS command. line 52

 intersectBed  -wo -a <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) -b <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) | \
			awk 'BEGIN{FS="\t";OFS="\t"} {s1=$3-$2; s2=$13-$12; if (($21/s1 >= 0.5) || ($21/s2 >= 0.5)) {print $0}}' | cut -f 1-10 | sort | uniq | \
			intersectBed  -wo -a stdin -b <(zcat -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz) | \
			awk 'BEGIN{FS="\t";OFS="\t"} {s1=$3-$2; s2=$13-$12; if (($21/s1 >= 0.5) || ($21/s2 >= 0.5)) {print $0}}' | cut -f 1-10 | sort | uniq | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.PooledInRep1AndRep2.regionPeak.gz

# SYS command. line 58

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.PooledInRep1AndRep2.regionPeak.gz | sort | uniq | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.naive_overlap.regionPeak.gz

# SYS command. line 60

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.PooledInRep1AndRep2.regionPeak.gz

# SYS command. line 62

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

  
Num 5
ID task.callpeak_idr.idr2_rep1_pr.line_70.id_14
Name idr2 rep1-pr
Thread thread_Root
PID 14800
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2016-11-19 23:52:50
End 2016-11-19 23:54:05
Elapsed 00:01:14
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.narrowPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.unthresholded-peaks.txt.png /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.unthresholded-peaks.txt.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.12-col.bed.gz
Dependencies
 
# SYS command. line 72

 if [[ -f $(which conda) && $(conda env list | grep aquas_chipseq_py3 | wc -l) != "0" ]]; then source activate aquas_chipseq_py3; 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); renice -n 10 $$

# SYS command. line 74

 idr --samples /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr1/SRR1370892_1.nodup.pr1.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/pseudo_reps/rep1/pr2/SRR1370892_1.nodup.pr2.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz --peak-list /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/rep1/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.regionPeak.gz --input-file-type narrowPeak \
			--output-file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.unthresholded-peaks.txt --rank signal.value --soft-idr-threshold 0.05 \
			--plot --use-best-multisummit-IDR

# SYS command. line 78

 idr_thresh_transformed=$(awk -v p=0.05 'BEGIN{print -log(p)/log(10)}')

# SYS command. line 81

 awk 'BEGIN{OFS="\t"} $12>='"${idr_thresh_transformed}"' {if ($2<0) $2=0; print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,"0"}' /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.unthresholded-peaks.txt \
			| sort | uniq | sort -k7n,7n | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.13-col.bed.gz

# SYS command. line 84

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.13-col.bed.gz | awk 'BEGIN{OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.narrowPeak.gz

# SYS command. line 85

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.13-col.bed.gz | awk 'BEGIN{OFS="\t"} {print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.12-col.bed.gz

# SYS command. line 87

 bedtools intersect -v -a /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.13-col.bed.gz -b /mnt/data/annotations/by_release/hg20.GRCh38/hg38.blacklist.bed.gz | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.13-col.bed.gz

# SYS command. line 88

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.13-col.bed.gz | awk 'BEGIN{OFS="	"} {print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.narrowPeak.gz

# SYS command. line 89

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.13-col.bed.gz | awk 'BEGIN{OFS="	"} {print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.12-col.bed.gz

# SYS command. line 91

 gzip -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.unthresholded-peaks.txt

# SYS command. line 92

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.13-col.bed.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.13-col.bed.gz

# SYS command. line 94

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

 
--------------------Stderr--------------------
Initial parameter values: [0.10 1.00 0.20 0.50]
Final parameter values: [1.11 1.08 0.69 0.25]
Number of reported peaks - 30711/30711 (100.0%)

Number of peaks passing IDR cutoff of 0.05 - 1763/30711 (5.7%)


 
Num 6
ID task.callpeak_idr.idr_final_qc.line_205.id_17
Name idr final qc
Thread thread_Root
PID 14802
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2016-11-19 23:54:06
End 2016-11-19 23:55:20
Elapsed 00:01:13
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.narrowPeak.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/qc/ZNF71_IDR_final.qc
Dependencies
 
# SYS command. line 207

 if [[ -f $(which conda) && $(conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source 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); renice -n 10 $$

# SYS command. line 209

 echo -e "Nt\tN1	""Np\tconservative_set\toptimal_set\trescue_ratio\tself_consistency_ratio\treproducibility" > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/qc/ZNF71_IDR_final.qc

# SYS command. line 210

 echo -e "0\t1748	""0\tN/A\tN/A\tNaN\t1.0\t1" >> /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/qc/ZNF71_IDR_final.qc

# SYS command. line 212

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

  
Num 7
ID task.report.peak2hammock.line_357.id_18
Name peak2hammock
Thread thread_Root
PID 46926
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2016-11-19 23:55:21
End 2016-11-19 23:55:30
Elapsed 00:00:09
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.naive_overlap.regionPeak.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.naive_overlap.regionPeak.hammock.gz
Dependencies
 
# SYS command. line 359

 if [[ -f $(which conda) && $(conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source 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); renice -n 10 $$

# SYS command. line 360

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.naive_overlap.regionPeak.gz | sed '/^\(chr\)/!d' | sort -k1,1V -k2,2n > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.naive_overlap.regionPeak.tmp

# SYS command. line 362

 /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils/narrowpeak.py /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.naive_overlap.regionPeak.tmp /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.naive_overlap.regionPeak.hammock

# SYS command. line 363

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/spp/overlap/SRR1370892_1.nodup.tagAlign_x_ss_50M_2000_GRCh38.nodup.tagAlign.naive_overlap.regionPeak.tmp
 
   
--------------------Stdout--------------------
46930 (process ID) old priority 0, new priority 10

  
Num 8
ID task.report.peak2hammock.line_357.id_19
Name peak2hammock
Thread thread_Root
PID 47194
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2016-11-19 23:55:31
End 2016-11-19 23:55:39
Elapsed 00:00:08
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.12-col.bed.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.12-col.bed.hammock.gz
Dependencies
 
# SYS command. line 359

 if [[ -f $(which conda) && $(conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source 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); renice -n 10 $$

# SYS command. line 360

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.12-col.bed.gz | sed '/^\(chr\)/!d' | sort -k1,1V -k2,2n > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.12-col.bed.tmp

# SYS command. line 362

 /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/utils/narrowpeak.py /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.12-col.bed.tmp /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.12-col.bed.hammock

# SYS command. line 363

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/peak/idr/pseudo_reps/rep1/ZNF71_rep1-pr.IDR0.05.filt.12-col.bed.tmp
 
   
--------------------Stdout--------------------
47198 (process ID) old priority 0, new priority 10

  
Num 9
ID task.graphviz.report.line_97.id_20
Name report
Thread thread_Root
PID 47475
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2016-11-19 23:55:40
End 2016-11-19 23:55:49
Elapsed 00:00:08
Timeout 00:00:-1
Wall Timeout 100 days
Input files
Output files
Dependencies
 
# SYS command. line 98

 if [[ -f $(which conda) && $(conda env list | grep aquas_chipseq | wc -l) != "0" ]]; then source 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); renice -n 10 $$

# SYS command. line 99

 dot -Tsvg /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/report/ZNF71_workflow.dot > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/report/ZNF71_workflow.svg 2> /dev/null || echo "svg: /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/report/ZNF71_workflow.svg" # to suppress dot font error (exit code=1)
 
   
--------------------Stdout--------------------
47479 (process ID) old priority 0, new priority 10

  

Global scope

Note: Global scope when program finished execution.
Type Name Value
string _ /usr/bin/bds
string _LMFILES_ /software/modulefiles/modsappsdir/modsappsdir:/software/modulefiles/sratoolkit/2.5.2:/software/modulefiles/ascp/3.5.6
bool allowEmpty false
string[] args [-title, ZNF71, -nth, 5, -macs2_for_pooled_rep_only, -species, hg38, -url_base, http://mitra.stanford.edu/kundaje/imk1/TFBindingPredictionProject/HughesZnfData/ZNF71/out, -bam, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/Najafabadi2015Data/hg38Mapping/ZNF71/out/align/rep1/SRR1370892_1.bam, -ctl_bam, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/InputData/ss_50M_2000_GRCh38.bam, -final_stage, idr, $]
string ASCPKEY /software/ascp/etc/asperaweb_id_dsa.openssh
bool canFail false
int cpus -1
int cpusLocal 56
int day 86400
string DEEPLIFT_DIR /srv/scratch/imk1/TFBindingPredictionProject/src/deeplift_private/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/imk1/TFBindingPredictionProject/src/enhancer_prediction_code/
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_N5SeQf
string LANG en_US.UTF-8
string LOADEDMODULES modsappsdir/modsappsdir:sratoolkit/2.5.2:ascp/3.5.6
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 MODULESAPPSDIR /software
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/persistent/imk1/TFBindingPredictionProject/src/rcade/:/srv/scratch/imk1/TFBindingPredictionProject/src/R-3.2.3/bin:/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/persistent/imk1/TFBindingPredictionProject/src/rcade/:/srv/scratch/imk1/TFBindingPredictionProject/src/R-3.2.3/bin:/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/persistent/imk1/TFBindingPredictionProject/src/rcade/:/srv/scratch/imk1/TFBindingPredictionProject/src/R-3.2.3/bin:/software/ascp/:/software/sratoolkit/2.5.2/bin/:/users/imk1/anaconda2/bin:/users/imk1/perl5/bin:/srv/scratch/imk1/TFBindingPredictionProject/src/bedtools2/bin:/usr/local/cuda/bin:/srv/persistent/imk1/TFBindingPredictionProject/src/rcade/:/srv/scratch/imk1/TFBindingPredictionProject/src/R-3.2.3/bin:/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:/users/imk1/edirect:/users/imk1/edirect:/users/imk1/edirect:/users/imk1/edirect
string PERL5LIB /users/imk1/perl5/lib/perl5:/users/imk1/perl5/lib/perl5:/users/imk1/perl5/lib/perl5:/users/imk1/perl5/lib/perl5
string PERL_LOCAL_LIB_ROOT /users/imk1/perl5:/users/imk1/perl5:/users/imk1/perl5:/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/Najafabadi2015Data/hg38Mapping/ZNF71
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/Najafabadi2015Data/hg38Mapping/ZNF71
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 3
string SSH_CLIENT 171.65.77.8 55144 22
string SSH_CONNECTION 171.65.77.8 55144 171.65.76.63 22
string SSH_TTY /dev/pts/4
string STY 44532.ZNF71.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 USER imk1
string UTIL_SCRIPTS_DIR /srv/scratch/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 20
string XFILESEARCHPATH /usr/dt/app-defaults/%L/Dt