Commit 5ad4fd6e authored by Christian Meesters's avatar Christian Meesters

added new versioning information and script path for modularization

parent fc11b360
#!/bin/bash
# Copyright (c) -2014, Christoph Martin, JGU Mainz
# 2014-2019, Christian Meesters, JGU Mainz
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of Christian Meesters or the JGU Mainz nor the names of
# its contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL KNUT REINERT OR THE FU BERLIN BE LIABLE
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
#set -x
#set -e
#PS4='Line ${LINENO}: '
......@@ -21,7 +50,8 @@ module load bio/BLAST+/2.7.1-foss-2018a
module load lang/Python/3.6.4-foss-2018a
SCRIPT_VERSION="0.3.2"
SCRIPT_VERSION="0.4"
export SCRIPT_PATH=$(dirname $0)
# TODO: delete the following 3 functions, once sbcast is working
function queue {
......@@ -167,6 +197,9 @@ credits()
echo " - changed the blast parameter interface"
echo "- v0.3 -- 21. Feb. 2018 -- faster merging of output files, parallel zipping"
echo "- v0.3.1 -- 15. May 2018 -- bugfixes in handling the blast executables"
echo "- v0.3.2 -- 16. Jan. 2019 -- hot fix for new ramdisk and slurmstepd support"
echo "- v0.4 -- 06. Mar. 2019 -- refactored version:"
echo " - executables now pluggable"
echo
echo "Current version is: $SCRIPT_VERSION"
echo
......@@ -654,7 +687,7 @@ rm -f $cmd
echo '#!/bin/bash' > $cmd
#echo 'sleep 300' >> $cmd
#echo 'set -x' >> $cmd
echo 'set -x' >> $cmd
echo 'module load bio/BLAST+' >> $cmd
#echo 'echo $(pwd)' >> $cmd
echo 'cd $(dirname $(realpath $0))' >> $cmd
......
Markdown is supported
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