/usr/share/logol/tools/logolSearch.sh is in logol 1.6.10-1build1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/bash
# args: Err,Min,Sequence,MotifFileName,Mute,Max
#$1 = nb error
#minStart=$2
# If maxStart is equal to 0, do not take it into account
#maxStart=$6
#muteOnly=$5
#motifFileName=$4
#$3 sequence , add .index to name
DIR="$( cd "$( dirname "$0" )" && pwd )"
if [ $5 -eq 1 ]; then
ruby -rubygems $DIR/logolIndex.rb --search $3.index --min $2 --max $6 --pattern $4 --error $1 --hamming
else
ruby -rubygems $DIR/logolIndex.rb --search $3.index --min $2 --max $6 --pattern $4 --error $1
fi
|