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

updates for bugs

parent 2d455586
Branches
Tags
No related merge requests found
......@@ -11,10 +11,9 @@ usage() {
exit 1
}
OPTIND=1 # Reset OPTIND
while getopts :r:x:y:p:uh opt
while getopts :x:y:p:uh opt
do
case $opt in
r) index_path=$OPTARG;;
x) fq1=$OPTARG;;
y) fq2=$OPTARG;;
u) umi='umi';;
......@@ -26,7 +25,7 @@ done
shift $(($OPTIND -1))
# Check for mandatory options
if [[ -z $pair_id ]] || [[ -z $index_path ]]; then
if [[ -z $pair_id ]]; then
usage
fi
......
......@@ -11,7 +11,7 @@ usage() {
exit 1
}
OPTIND=1 # Reset OPTIND
while getopts :r:p:b:i:e:n:a:h opt
while getopts :r:p:b:i:n:a:h opt
do
case $opt in
r) index_path=$OPTARG;;
......
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