File: test-plast.sh

package info (click to toggle)
plast 2.3.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 16,360 kB
  • ctags: 6,585
  • sloc: cpp: 28,989; ansic: 2,075; sh: 436; makefile: 13
file content (40 lines) | stat: -rwxr-xr-x 1,640 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/bin/sh

#/*****************************************************************************
# *                                                                           *
# *   PLAST : Parallel Local Alignment Search Tool                            *
# *   Copyright (c) 2009-2015 Inria                                           *
# *                                                                           *
# *   PLAST is free software; you can redistribute it and/or modify it under  *
# *   the Affero GPL v3 License                                               *
# *                                                                           *
# *   This program is distributed in the hope that it will be useful,         *
# *   but WITHOUT ANY WARRANTY; without even the implied warranty of          *
# *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the            *
# *   CECILL version 2 License for more details.                              *
# *****************************************************************************/

# We get the directory of the script (absolute path)
#_scripts_dir=$( cd -P -- "$(dirname -- "$(command -v -- "$0")")" && pwd -P )
BUILD_DIR=obj-$(dpkg-architecture -qDEB_HOST_GNU_TYPE)
DATA_DIR=$(pwd)/db
_script=`find $(pwd)/obj-x86_64-linux-gnu/bin -name plast -executable`
_result=`dirname $_script`/out.txt

echo "Start PLAST..."
echo

# We setup a PLAST command-line and run it to test the software
_cmdline="$_script -p plastp -i ${DATA_DIR}/query.fa -d ${DATA_DIR}/tursiops.fa -o $_result"

echo $_cmdline

eval $_cmdline

echo
echo " done!"
echo
echo "Read:" $_result
echo
echo