Unverified Commit 50ef1cec authored by Christian Erikson's avatar Christian Erikson Committed by GitHub
Browse files

forgot then fi

parent fd760622
Loading
Loading
Loading
Loading
+2 −1
Changes for SLURM/scripts/juicer.sh: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -275,8 +275,9 @@ if [ ! -e "${refSeq}.bwt" ]; then
fi

## Check if ligation is a unquoted regex, if so quote
if [[ -n "$ligation" && $ligation =~ [\(\)\|] && ! $ligation =~ [\"\'] ]];
if [[ -n "$ligation" && $ligation =~ [\(\)\|] && ! $ligation =~ [\"\'] ]]; then 
    export ligation="'$ligation'"
fi

## Set ligation junction based on restriction enzyme
if [ -z "$ligation" ]; then