From 855e6291c6926371aeeab3d5f96b3895c0cdb171 Mon Sep 17 00:00:00 2001 From: Aiden Lab Date: Mon, 3 Apr 2017 13:49:58 +0200 Subject: [PATCH] Update juicer.sh --- UGER/scripts/juicer.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/UGER/scripts/juicer.sh b/UGER/scripts/juicer.sh index 885c2e2..bdc4ae7 100755 --- a/UGER/scripts/juicer.sh +++ b/UGER/scripts/juicer.sh @@ -112,6 +112,7 @@ genomeID="hg19" shortreadend=0 # description, default empty about="" +nofrag=0 ## Read arguments usageHelp="Usage: ${0##*/} [-g genomeID] [-d topDir] [-q queue] [-l long queue] [-s site]\n [-a about] [-R end] [-S stage] [-p chrom.sizes path]\n [-y restriction site file] [-z reference genome file]\n [-C chunk size] [-D Juicer scripts directory]\n [-Q queue time limit] [-L long queue time limit] [-r] [-h] [-x]" @@ -262,7 +263,7 @@ then fi ## Check that site file exists, needed for fragment number for merged_nodups -if [ ! -e "$site_file" ] && [ "$site" != "none" ] +if [ ! -e "$site_file" ] && [ "$nofrag" -ne 1 ] then echo "***! $site_file does not exist. It must be created before running this script." exit 100