diff --git a/detectors/normalize/lib/lookforIR.lib.sh b/detectors/normalize/lib/lookforIR.lib.sh index 0070c2d..437b77c 100644 --- a/detectors/normalize/lib/lookforIR.lib.sh +++ b/detectors/normalize/lib/lookforIR.lib.sh @@ -25,6 +25,7 @@ function lookForIR { {print substr($2,1,3),$8,$7,SAME}}' | \ sort -nk 2 > ${MATCHES} loginfo "Done" + loginfo "Looking for long inverted repeats..." repseek -c -p 0.001 -i ${QUERY} 2>> /dev/null > ${REPEATS} diff --git a/detectors/normalize/lib/selectIR.py b/detectors/normalize/lib/selectIR.py index cefe74b..abe7dbd 100755 --- a/detectors/normalize/lib/selectIR.py +++ b/detectors/normalize/lib/selectIR.py @@ -32,7 +32,7 @@ for line in data: for p in range(begin,end): chr[p]+=direction - + maxSSC = float(max(abs(n) for n in chloro['SSC'])) maxLSC = float(max(abs(n) for n in chloro['LSC'])) @@ -132,4 +132,4 @@ sys.stdout.write("%s %s %s %s %d %d %d %d %6.5f\n" % (center, #for p in range(chlorosize): # sys.stdout.write("%d %d %d\n" % (p,chloro['SSC'][p],chloro['LSC'][p])) - \ No newline at end of file + diff --git a/scripts/bash_init.sh b/scripts/bash_init.sh index bb60ba2..72d4a81 100644 --- a/scripts/bash_init.sh +++ b/scripts/bash_init.sh @@ -19,7 +19,7 @@ function getAbsolutePath { # Manage temp directory function pushTmpDir { - TMP_DIR=$(mktemp -d -t "$1_proc_$$_") + TMP_DIR=$(mktemp -d -t "$1_proc_$$_XXXXXX") pushd $TMP_DIR >& /dev/null TMP_DIR_STACK="$TMP_DIR $TMP_DIR_STACK" logdebug "Pushing temp directory $TMP_DIR"