Thanks so much, Neva.
I contacted the manager of my cluster for the details I needed, and I've been able to move forward with the pipeline.
I wonder if I can ask your advice to troubleshoot another issue: Now, fragmerge1 exits with exit code 255, which sends the remaining jobs in the LSF batch job into perpetual PEND status.
Can this be related to an issue described in this post?
I copied the readout for fragmerge1 from the lsf.out below (and, below that, I copied the full lsf.out).
Thanks again,
Kris
I. fragmerge1 section of lsf.out
The output (if any) follows:
Sender: LSF System <srv-lsf@bmi-460g6-09>
Subject: Job 814792: <a1505344366_fragmerge1> Exited
Job <a1505344366_fragmerge1> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-460g6-09>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:20:05 2017
Results reported at Wed Sep 13 19:20:07 2017
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
#!/bin/bash
#BSUB -q normal
#BSUB -M 16000
#BSUB -W 24:00
#BSUB -o /scratch/ala1zp/opt/juicer/lsf.out
#BSUB -w " done(a1505344366_chimeric*) "
#BSUB -J "a1505344366_fragmerge1"
bkill -q Clean2 0
------------------------------------------------------------
Exited with exit code 255.
Resource usage summary:
CPU time : 0.45 sec.
Max Memory : 6 MB
Max Swap : 469 MB
Max Processes : 4
Max Threads : 4
The output (if any) follows:
Clean2: No such queue
Sender: LSF System <srv-lsf@bmi-250g8-02>
Subject: Job 814793: <a1505344366_fragmerge> Done
Job <a1505344366_fragmerge> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-250g8-02>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:20:05 2017
Results reported at Wed Sep 13 19:20:22 2017
II. full lsf.out
Sender: LSF System <srv-lsf@bmi-460g9-13>
Subject: Job 814785: <a1505344366_cmd> Done
Job <a1505344366_cmd> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-460g9-13>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:12:48 2017
Results reported at Wed Sep 13 19:12:50 2017
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
date
echo "Juicer version:1.5"
echo "/usr/local/juicer/1.0.0/scripts/juicer.sh -s MboI -q normal -l normal -Q 24:00 -L 24:00 -d /scratch/ala1zp/opt/juicer -D /scratch/ala1zp/opt/juicer -z /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta -y /scratch/ala1zp/opt/juicer/restriction_sites/hg19_MboI.txt -p /scratch/ala1zp/opt/juicer/references/hg19.chrom.sizes"
------------------------------------------------------------
Successfully completed.
Resource usage summary:
CPU time : 0.39 sec.
Max Memory : 23 MB
Max Swap : 516 MB
Max Processes : 4
Max Threads : 4
The output (if any) follows:
Wed Sep 13 19:12:50 EDT 2017
Juicer version:1.5
/usr/local/juicer/1.0.0/scripts/juicer.sh -s MboI -q normal -l normal -Q 24:00 -L 24:00 -d /scratch/ala1zp/opt/juicer -D /scratch/ala1zp/opt/juicer -z /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta -y /scratch/ala1zp/opt/juicer/restriction_sites/hg19_MboI.txt -p /scratch/ala1zp/opt/juicer/references/hg19.chrom.sizes
Sender: LSF System <srv-lsf@bmi-460g7-04>
Subject: Job 814786: <a1505344366HIC003_S2_L001_001.fastq.gz_Count_Ligation> Done
Job <a1505344366HIC003_S2_L001_001.fastq.gz_Count_Ligation> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-460g7-04>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:12:48 2017
Results reported at Wed Sep 13 19:12:53 2017
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
#!/bin/bash
#BSUB -q normal
#BSUB -M 16000
#BSUB -W 24:00
#BSUB -o /scratch/ala1zp/opt/juicer/lsf.out
#BSUB -J "a1505344366HIC003_S2_L001_001.fastq.gz_Count_Ligation"
export ARG1=1;export name=/scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001; export name1=/scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1; export name2=/scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2; export ext=_001.fastq.gz; export ligation=GATCGATC; /scratch/ala1zp/opt/juicer/scripts/countligations.sh
------------------------------------------------------------
Successfully completed.
Resource usage summary:
CPU time : 1.64 sec.
Max Memory : 8 MB
Max Swap : 469 MB
Max Processes : 4
Max Threads : 4
The output (if any) follows:
/scratch/ala1zp/opt/juicer/scripts/countligations.sh: line 28: [: : integer expression expected
Sender: LSF System <srv-lsf@bmi-460g7-03>
Subject: Job 814787: <a1505344366_align1HIC003_S2_L001_001.fastq.gz> Done
Job <a1505344366_align1HIC003_S2_L001_001.fastq.gz> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-460g7-03>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:12:48 2017
Results reported at Wed Sep 13 19:14:24 2017
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
#!/bin/bash
#BSUB -q normal
#BSUB -M 16000
#BSUB -o /scratch/ala1zp/opt/juicer/lsf.out
#BSUB -W 24:00
#BSUB -R "rusage[mem=12000]"
#BSUB -J "a1505344366_align1HIC003_S2_L001_001.fastq.gz"
# Align read1
if [ -n "" ] || [ "0" -eq 1 ]
then
echo 'Running command bwa aln -q 15 /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sai && bwa samse /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sai /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam'
bwa aln -q 15 /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sai && bwa samse /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sai /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam
if [ $? -ne 0 ]
then
echo "Alignment of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz failed. Check /scratch/ala1zp/opt/juicer/lsf.out for results"
exit 100
else
echo "(-: Short align of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam done successfully"
fi
else
echo 'Running command bwa mem /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam '
bwa mem -t 16 /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam
if [ $? -ne 0 ]
then
exit 100
else
echo "(-: Mem align of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam done successfully"
fi
fi
------------------------------------------------------------
Successfully completed.
Resource usage summary:
CPU time : 578.97 sec.
Max Memory : 6922 MB
Max Swap : 8272 MB
Max Processes : 5
Max Threads : 22
The output (if any) follows:
Running command bwa mem /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam
[M::main_mem] read 1600000 sequences (160000000 bp)...
[M::main_mem] read 748578 sequences (74857800 bp)...
[main] Version: 0.7.4-r385
[main] CMD: bwa mem -t 16 /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz
[main] Real time: 92.741 sec; CPU: 578.373 sec
(-: Mem align of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam done successfully
Sender: LSF System <srv-lsf@bmi-460g7-07>
Subject: Job 814788: <a1505344366_align2HIC003_S2_L001_001.fastq.gz> Done
Job <a1505344366_align2HIC003_S2_L001_001.fastq.gz> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-460g7-07>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:12:48 2017
Results reported at Wed Sep 13 19:15:47 2017
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
#!/bin/bash
#BSUB -q normal
#BSUB -M 16000
#BSUB -o /scratch/ala1zp/opt/juicer/lsf.out
#BSUB -W 24:00
#BSUB -R "rusage[mem=12000]"
#BSUB -J "a1505344366_align2HIC003_S2_L001_001.fastq.gz"
# Align read2
if [ -n "" ] || [ "0" -eq 2 ]
then
echo 'Running command bwa aln -q 15 /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sai && bwa samse /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sai /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam '
bwa aln -q 15 /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sai && bwa samse /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sai /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam
if [ $? -ne 0 ]
then
echo "Alignment of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz failed. Check /scratch/ala1zp/opt/juicer/lsf.out for results"
exit 100
else
echo "(-: Short align of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam done successfully"
fi
else
echo 'Running command bwa mem /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam'
bwa mem -t 16 /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam
if [ $? -ne 0 ]
then
exit 100
else
echo "(-: Mem align of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam done successfully"
fi
fi
------------------------------------------------------------
Successfully completed.
Resource usage summary:
CPU time : 587.67 sec.
Max Memory : 6706 MB
Max Swap : 7713 MB
Max Processes : 5
Max Threads : 22
The output (if any) follows:
Running command bwa mem /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam
[M::main_mem] read 1600000 sequences (160000000 bp)...
[M::main_mem] read 748578 sequences (74857800 bp)...
[main] Version: 0.7.4-r385
[main] CMD: bwa mem -t 16 /scratch/ala1zp/opt/juicer/references/Homo_sapiens_assembly19.fasta /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz
[main] Real time: 176.029 sec; CPU: 586.886 sec
(-: Mem align of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam done successfully
Sender: LSF System <srv-lsf@bmi-250g8-01>
Subject: Job 814789: <a1505344366_mergeHIC003_S2_L001_001.fastq.gz> Done
Job <a1505344366_mergeHIC003_S2_L001_001.fastq.gz> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-250g8-01>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:15:51 2017
Results reported at Wed Sep 13 19:17:25 2017
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
#!/bin/bash
#BSUB -q normal
#BSUB -M 16000
#BSUB -W 24:00
#BSUB -o /scratch/ala1zp/opt/juicer/lsf.out
#BSUB -R "rusage[mem=8000]"
#BSUB -w " done(a1505344366_align1HIC003_S2_L001_001.fastq.gz) && done(a1505344366_align2HIC003_S2_L001_001.fastq.gz) "
#BSUB -J "a1505344366_mergeHIC003_S2_L001_001.fastq.gz"
export LC_ALL=C
# sort read 1 aligned file by readname
sort -T /scratch/ala1zp/opt/juicer/HIC_tmp -k1,1 /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz_sort.sam
if [ $? -ne 0 ]
then
echo "***! Error while sorting /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam"
echo "Sort of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz.sam failed. Check /scratch/ala1zp/opt/juicer/lsf.out for results"
exit 100
else
echo "(-: Sort read 1 aligned file by readname completed."
fi
# sort read 2 aligned file by readname
sort -T /scratch/ala1zp/opt/juicer/HIC_tmp -k1,1 /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz_sort.sam
if [ $? -ne 0 ]
then
echo "***! Error while sorting /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam"
echo "Sort of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz.sam failed. Check /scratch/ala1zp/opt/juicer/lsf.out for results"
exit 100
else
echo "(-: Sort read 2 aligned file by readname completed."
fi
# remove header, add read end indicator toreadname
awk 'NF >= 11{$1 = $1"/1";print}' /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz_sort.sam > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz_sort1.sam
awk 'NF >= 11{$1 = $1"/2";print}' /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz_sort.sam > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz_sort1.sam
# merge the two sorted read end files
sort -T /scratch/ala1zp/opt/juicer/HIC_tmp -k1,1 -m /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R1_001.fastq.gz_sort1.sam /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_R2_001.fastq.gz_sort1.sam > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.sam
if [ 0 -ne 0 ]
then
echo "***! Failure during merge of read files"
echo "Merge of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.sam failed. Check /scratch/ala1zp/opt/juicer/lsf.out for results"
exit 100
else
echo "/scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.sam created successfully."
fi
------------------------------------------------------------
Successfully completed.
Resource usage summary:
CPU time : 24.63 sec.
Max Memory : 2 MB
Max Swap : 347 MB
Max Processes : 5
Max Threads : 6
The output (if any) follows:
(-: Sort read 1 aligned file by readname completed.
(-: Sort read 2 aligned file by readname completed.
/scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.sam created successfully.
Sender: LSF System <srv-lsf@bmi-460g7-03>
Subject: Job 814790: <a1505344366_chimericHIC003_S2_L001_001.fastq.gz> Done
Job <a1505344366_chimericHIC003_S2_L001_001.fastq.gz> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-460g7-03>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:17:30 2017
Results reported at Wed Sep 13 19:20:02 2017
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
#!/bin/bash
#BSUB -q normal
#BSUB -M 16000
#BSUB -W 24:00
#BSUB -o /scratch/ala1zp/opt/juicer/lsf.out
#BSUB -R "rusage[mem=8000]"
#BSUB -w " done(a1505344366_mergeHIC003_S2_L001_001.fastq.gz)"
#BSUB -J "a1505344366_chimericHIC003_S2_L001_001.fastq.gz"
export LC_ALL=C
# call chimeric_blacklist.awk to deal with chimeric reads; sorted file is sorted by read name at this point
awk -v "fname1"=/scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz_norm.txt -v "fname2"=/scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz_abnorm.sam -v "fname3"=/scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz_unmapped.sam -f /scratch/ala1zp/opt/juicer/scripts/chimeric_blacklist.awk /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.sam
if [ $? -ne 0 ]
then
echo "***! Failure during chimera handling of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz"
echo "Chimera handling of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.sam failed. Check /scratch/ala1zp/opt/juicer/lsf.out for results"
exit 100
fi
# if any normal reads were written, find what fragment they correspond to and store that
if [ -e "/scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz_norm.txt" ] && [ "MboI" != "none" ]
then
/scratch/ala1zp/opt/juicer/scripts/
fragment.pl /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz_norm.txt /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.frag.txt /scratch/ala1zp/opt/juicer/restriction_sites/hg19_MboI.txt
elif [ "MboI" == "none" ]
then
awk '{printf("%s %s %s %d %s %s %s %d", $1, $2, $3, 0, $4, $5, $6, 1); for (i=7; i<=NF; i++) {printf(" %s",$i);}printf("\n");}' /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz_norm.txt > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.frag.txt
else
echo "***! No /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz_norm.txt file created"
echo "Creation of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz_norm.txt failed. Check /scratch/ala1zp/opt/juicer/lsf.out for results"
exit 100
fi
if [ $? -ne 0 ]
then
echo "***! Failure during fragment assignment of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz"
echo "Fragment assignment of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.sam failed. Check /scratch/ala1zp/opt/juicer/lsf.out for results"
exit 100
fi
# sort by chromosome, fragment, strand, and position
sort -T /scratch/ala1zp/opt/juicer/HIC_tmp -k2,2d -k6,6d -k4,4n -k8,8n -k1,1n -k5,5n -k3,3n /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.frag.txt > /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.sort.txt
if [ $? -ne 0 ]
then
echo "***! Failure during sort of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz"
echo "Sort of /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.frag.txt failed. Check /scratch/ala1zp/opt/juicer/lsf.out for results"
exit 100
else
rm /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz_norm.txt /scratch/ala1zp/opt/juicer/splits/HIC003_S2_L001_001.fastq.gz.frag.txt
fi
------------------------------------------------------------
Successfully completed.
Resource usage summary:
CPU time : 146.58 sec.
Max Memory : 709 MB
Max Swap : 1076 MB
Max Processes : 5
Max Threads : 6
The output (if any) follows:
Sender: LSF System <srv-lsf@bmi-460g6-09>
Subject: Job 814792: <a1505344366_fragmerge1> Exited
Job <a1505344366_fragmerge1> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-460g6-09>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:20:05 2017
Results reported at Wed Sep 13 19:20:07 2017
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
#!/bin/bash
#BSUB -q normal
#BSUB -M 16000
#BSUB -W 24:00
#BSUB -o /scratch/ala1zp/opt/juicer/lsf.out
#BSUB -w " done(a1505344366_chimeric*) "
#BSUB -J "a1505344366_fragmerge1"
bkill -q Clean2 0
------------------------------------------------------------
Exited with exit code 255.
Resource usage summary:
CPU time : 0.45 sec.
Max Memory : 6 MB
Max Swap : 469 MB
Max Processes : 4
Max Threads : 4
The output (if any) follows:
Clean2: No such queue
Sender: LSF System <srv-lsf@bmi-250g8-02>
Subject: Job 814793: <a1505344366_fragmerge> Done
Job <a1505344366_fragmerge> was submitted from host <bmi-250g8-01> by user <ala1zp> in cluster <BMICluster>.
Job was executed on host(s) <bmi-250g8-02>, in queue <normal>, as user <ala1zp> in cluster <BMICluster>.
</users/ala1zp> was used as the home directory.
</scratch/ala1zp/opt/juicer> was used as the working directory.
Started at Wed Sep 13 19:20:05 2017
Results reported at Wed Sep 13 19:20:22 2017
Your job looked like:
------------------------------------------------------------
# LSBATCH: User input
#!/bin/bash
#BSUB -q normal
#BSUB -M 16000
#BSUB -W 24:00
#BSUB -o /scratch/ala1zp/opt/juicer/lsf.out
#BSUB -w " done(a1505344366_chimeric*) "
#BSUB -J "a1505344366_fragmerge"
export LC_ALL=C
if [ -d /scratch/ala1zp/opt/juicer/done_splits ]
then
mv /scratch/ala1zp/opt/juicer/done_splits/* /scratch/ala1zp/opt/juicer/splits/.
fi
if ! sort -T /scratch/ala1zp/opt/juicer/HIC_tmp -m -k2,2d -k6,6d -k4,4n -k8,8n -k1,1n -k5,5n -k3,3n /scratch/ala1zp/opt/juicer/splits/*.sort.txt > /scratch/ala1zp/opt/juicer/aligned/merged_sort.txt
then
echo "***! Some problems occurred somewhere in creating sorted align files."
else
echo "(-: Finished sorting all sorted files into a single merge."
rm -r /scratch/ala1zp/opt/juicer/HIC_tmp
fi
------------------------------------------------------------
Successfully completed.
Resource usage summary:
CPU time : 1.64 sec.
Max Memory : 9 MB
Max Swap : 473 MB
Max Processes : 4
Max Threads : 4
The output (if any) follows:
(-: Finished sorting all sorted files into a single merge.