BigDataScript report: chipseq.bds

Script file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/src/chipseq_pipeline/chipseq.bds
Program ID chipseq.bds.20170407_180211_945
Start time 2017-04-07 18:02:11
Run time 00:38:18.380
Tasks executed 7
Tasks failed 1
Tasks failed names
nmsrt_bam rep1
Arguments* [-title, EGR2_MACS2, -nth, 5, -species, hg38, -url_base, http://mitra.stanford.edu/kundaje/leepc12/imk_chipseq/EGR2_MACS2/out, -filt_bam1, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep1/ENCFF888DOH.bam, -filt_bam2, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.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
  
thread_41 thread_Root
 chipseq.bds.20170407_180211_945_parallel_41/task.postalign_bam.nmsrt_bam_rep1.line_495.id_10
 
thread_42 thread_Root
 chipseq.bds.20170407_180211_945_parallel_42/task.postalign_bam.nmsrt_bam_rep2.line_495.id_11
chipseq.bds.20170407_180211_945_parallel_42/task.postalign_bam.bam_to_bedpe_rep2.line_602.id_12
chipseq.bds.20170407_180211_945_parallel_42/task.postalign_bam.bedpe_to_tag_rep2.line_640.id_13
chipseq.bds.20170407_180211_945_parallel_42/task.postalign_bed.subsample_bedpe2tag_rep2.line_115.id_14
chipseq.bds.20170407_180211_945_parallel_42/task.postalign_bed.spr_PE_rep2.line_299.id_15
chipseq.bds.20170407_180211_945_parallel_42/task.postalign_bed.xcor_rep2.line_212.id_16
 
thread_43 thread_Root
  

Task details

Task Execution Time Dependencies Task program, Errors, StdOut / StdErr
Num 1
ID task.postalign_bam.nmsrt_bam_rep1.line_495.id_10
Name nmsrt_bam rep1
Thread thread_41
PID 46373
OK false
Exit Code 1
Retries
State ERROR
Dep. ERROR
Cpus
Mem
Start 2017-04-07 18:02:15
End 2017-04-07 18:02:15
Elapsed 00:00:00
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep1/ENCFF888DOH.bam
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep1/ENCFF888DOH.nmsrt.bam
Dependencies
 
# SYS command. line 497

 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 500

 sambamba sort -t 1 -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep1/ENCFF888DOH.bam -o /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep1/ENCFF888DOH.nmsrt.bam

# SYS command. line 502

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

 
--------------------Stderr--------------------
sambamba-sort: Error reading BGZF block starting from offset 0: wrong BGZF magic

 
--------------------Post mortem info--------------------
==============================================================
job_number:                 46373
exec_file:                  job_scripts/46373
submission_time:            Fri Apr  7 18:02:15 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/EGR2_MACS2
sge_o_host:                 surya
account:                    sge
stderr_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/chipseq.bds.20170407_180211_945_parallel_41/task.postalign_bam.nmsrt_bam_rep1.line_495.id_10.stderr.cluster
mail_list:                  imk1@surya
notify:                     FALSE
job_name:                   STDIN
stdout_path_list:           NONE:NONE:/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/chipseq.bds.20170407_180211_945_parallel_41/task.postalign_bam.nmsrt_bam_rep1.line_495.id_10.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=35826.EGR2_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/EGR2_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

Num 2
ID task.postalign_bam.nmsrt_bam_rep2.line_495.id_11
Name nmsrt_bam rep2
Thread thread_42
PID 46374
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:02:15
End 2017-04-07 18:19:16
Elapsed 00:17:01
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bam
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.nmsrt.bam
Dependencies
 
# SYS command. line 497

 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 500

 sambamba sort -t 1 -n /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bam -o /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.nmsrt.bam

# SYS command. line 502

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

  
Num 3
ID task.postalign_bam.bam_to_bedpe_rep2.line_602.id_12
Name bam_to_bedpe rep2
Thread thread_42
PID 46414
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:19:18
End 2017-04-07 18:20:38
Elapsed 00:01:20
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.nmsrt.bam
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz
Dependencies
 
# SYS command. line 604

 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 607

 bedtools bamtobed -bedpe -mate1 -i /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.nmsrt.bam | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz

# SYS command. line 609

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

  
Num 4
ID task.postalign_bam.bedpe_to_tag_rep2.line_640.id_13
Name bedpe_to_tag rep2
Thread thread_42
PID 46415
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:20:40
End 2017-04-07 18:22:08
Elapsed 00:01:28
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.tagAlign.gz
Dependencies
 
# SYS command. line 642

 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 644

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz | awk 'BEGIN{OFS="\t"}{printf "%s\t%s\t%s\tN\t1000\t%s\n%s\t%s\t%s\tN\t1000\t%s\n",$1,$2,$3,$9,$4,$5,$6,$10}' | \
			gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.tagAlign.gz

# SYS command. line 647

 echo

# SYS command. line 649

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


  
Num 5
ID task.postalign_bed.subsample_bedpe2tag_rep2.line_115.id_14
Name subsample_bedpe2tag rep2
Thread thread_42
PID 46416
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:22:10
End 2017-04-07 18:23:33
Elapsed 00:01:23
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.15M.tagAlign.gz
Dependencies
 
# SYS command. line 117

 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 121

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz | \
			grep -v "chrM" | shuf -n 15000000 --random-source=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz | \
			awk 'BEGIN{OFS="\t"}{print $1,$2,$3,"N","1000",$9}' | gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.15M.tagAlign.gz

# SYS command. line 125

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

  
Num 6
ID task.postalign_bed.spr_PE_rep2.line_299.id_15
Name spr_PE rep2
Thread thread_42
PID 46417
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:22:11
End 2017-04-07 18:23:36
Elapsed 00:01:25
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF234ALA.pr1.tagAlign.gz /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF234ALA.pr2.tagAlign.gz
Dependencies
 
# SYS command. line 301

 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 304

 nlines=$( zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz | wc -l )

# SYS command. line 305

 nlines=$(( (nlines + 1) / 2 ))

# SYS command. line 309

 zcat /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz | shuf --random-source=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.bedpe.gz | split -d -l $((nlines)) - /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF234ALA.  

# SYS command. line 312

 awk 'BEGIN{OFS="\t"}{printf "%s\t%s\t%s\tN\t1000\t%s\n%s\t%s\t%s\tN\t1000\t%s\n",$1,$2,$3,$9,$4,$5,$6,$10}' "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF234ALA.00" | \
			gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF234ALA.pr1.tagAlign.gz

# SYS command. line 314

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF234ALA.00

# SYS command. line 315

 awk 'BEGIN{OFS="\t"}{printf "%s\t%s\t%s\tN\t1000\t%s\n%s\t%s\t%s\tN\t1000\t%s\n",$1,$2,$3,$9,$4,$5,$6,$10}' "/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF234ALA.01" | \
			gzip -nc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/pseudo_reps/rep2/pr2/ENCFF234ALA.pr2.tagAlign.gz

# SYS command. line 317

 rm -f /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/pseudo_reps/rep2/pr1/ENCFF234ALA.01

# SYS command. line 319

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

  
Num 7
ID task.postalign_bed.xcor_rep2.line_212.id_16
Name xcor rep2
Thread thread_42
PID 46418
OK true
Exit Code 0
Retries
State FINISHED
Dep. OK
Cpus
Mem
Start 2017-04-07 18:23:38
End 2017-04-07 18:40:30
Elapsed 00:16:51
Timeout 00:00:-1
Wall Timeout 100 days
Input files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.15M.tagAlign.gz
Output files /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/qc/rep2/ENCFF234ALA.15M.cc.qc /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/qc/rep2/ENCFF234ALA.15M.cc.plot.pdf
Dependencies
 
# SYS command. line 214

 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 217

 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 223

 Rscript ${RUN_SPP} -rf \
			-c=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.15M.tagAlign.gz -p=1 \
			-filtchr=chrM -savp=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/qc/rep2/ENCFF234ALA.15M.cc.plot.pdf -out=/srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/qc/rep2/ENCFF234ALA.15M.cc.qc 

# SYS command. line 226

 sed -r 's/,[^\t]+//g' /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/qc/rep2/ENCFF234ALA.15M.cc.qc > /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/qc/rep2/ENCFF234ALA.15M.cc.qc.tmp

# SYS command. line 227

 mv /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/qc/rep2/ENCFF234ALA.15M.cc.qc.tmp /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/qc/rep2/ENCFF234ALA.15M.cc.qc

# SYS command. line 229

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

Decompressing ChIP file
Reading ChIP tagAlign/BAM file /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.15M.tagAlign.gz 
opened /tmp/46418.1.q/RtmpFb3anh/ENCFF234ALA.15M.tagAlign7ac8c27145
done. read 10285163 fragments
ChIP data read length 101 
[1] TRUE
Calculating peak characteristics
Minimum cross-correlation value 0.1258085 
Minimum cross-correlation shift 1500 
Top 3 cross-correlation values 0.174480109962967 
Top 3 estimates for fragment length 225 
Window half size 475 
Phantom peak location 105 
Phantom peak Correlation 0.1582287 
Normalized Strand cross-correlation coefficient (NSC) 1.38687 
Relative Strand cross-correlation Coefficient (RSC) 1.501276 
Phantom Peak Quality Tag 2 
null device 
          1 

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

 

Global scope

Note: Global scope when program finished execution.
Type Name Value
string _ /usr/bin/bds
bool allowEmpty false
string[] args [-title, EGR2_MACS2, -nth, 5, -species, hg38, -url_base, http://mitra.stanford.edu/kundaje/leepc12/imk_chipseq/EGR2_MACS2/out, -filt_bam1, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep1/ENCFF888DOH.bam, -filt_bam2, /srv/scratch/shared/surya/imk1/TFBindingPredictionProject/EncodeOtherZnfData/Encode3Datahg38/EGR2_MACS2/out/align/rep2/ENCFF234ALA.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/EGR2_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/EGR2_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 35826.EGR2_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