mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-30 18:13:23 +08:00
Fix ldtools if tool path contains spaces
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR=$(dirname $0)
|
||||
SCRIPT_DIR=$(dirname "$0")
|
||||
|
||||
## pagetag options
|
||||
input=
|
||||
@@ -46,16 +46,7 @@ do
|
||||
done
|
||||
|
||||
## run pagetag
|
||||
python $SCRIPT_DIR/pagetag.py --rsquare $rsquare --freq $freq "$input" snps.txt neighborhood.txt
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "failed: pagetag.py --rsquare $rsquare --freq $freq \"$input\" snps.txt neighborhood.txt"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
## run sentag
|
||||
python $SCRIPT_DIR/senatag.py neighborhood.txt snps.txt > "$output"
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "failed: senatag.py neighborhood.txt snps.txt"
|
||||
exit 1
|
||||
fi
|
||||
python "$SCRIPT_DIR/pagetag.py" --rsquare $rsquare --freq $freq "$input" snps.txt neighborhood.txt
|
||||
|
||||
## run senatag
|
||||
python "$SCRIPT_DIR/senatag.py" neighborhood.txt snps.txt > "$output"
|
||||
|
||||
Reference in New Issue
Block a user