added tools.cfg for configurable paths

This commit is contained in:
voje
2019-02-27 09:15:40 +01:00
parent bcaf226b9e
commit de7035dfe5
6 changed files with 61 additions and 35 deletions

View File

@@ -1,7 +1,11 @@
#!/bin/bash
IN_FOLDER="$1"
OUT_FOLDER="$2"
# parsing tools.cfg values
IN_FOLDER="../$(sed -n -e 's/^\s*kres_tsv\s*=\s*//p' ../tools.cfg)"
echo "input folder: $IN_FOLDER"
OUT_FOLDER="../$(sed -n -e 's/^\s*kres_srl\s*=\s*//p' ../tools.cfg)"
echo "output folder: $OUT_FOLDER"
SUFFIX="srl.tsv"
mkdir -p $OUT_FOLDER