Skip to content
Snippets Groups Projects
Commit 0675b9b9 authored by Brandi Cantarel's avatar Brandi Cantarel
Browse files

LICENSE

parents 2fa359f8 c130bb68
No related merge requests found
This diff is collapsed.
...@@ -9,7 +9,7 @@ usage() { ...@@ -9,7 +9,7 @@ usage() {
exit 1 exit 1
} }
OPTIND=1 # Reset OPTIND OPTIND=1 # Reset OPTIND
while getopts :r:l:p:h opt while getopts :r:l:b:p:h opt
do do
case $opt in case $opt in
r) index_path=$OPTARG;; r) index_path=$OPTARG;;
...@@ -24,10 +24,10 @@ function join_by { local IFS="$1"; shift; echo "$*"; } ...@@ -24,10 +24,10 @@ function join_by { local IFS="$1"; shift; echo "$*"; }
shift $(($OPTIND -1)) shift $(($OPTIND -1))
baseDir="`dirname \"$0\"`" baseDir="`dirname \"$0\"`"
# Check for mandatory options # Check for mandatory options
if [[ -z $tumor ]] || [[ -z $index_path ]]; then if [[ -z $sbam ]] || [[ -z $index_path ]]; then
usage usage
fi
source /etc/profile.d/modules.sh source /etc/profile.d/modules.sh
export PATH=/project/shared/bicf_workflow_ref/seqprg/bin:$PATH export PATH=/project/shared/bicf_workflow_ref/seqprg/bin:$PATH
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment