-
Notifications
You must be signed in to change notification settings - Fork 5
/
tests.sh
executable file
·57 lines (45 loc) · 1.61 KB
/
tests.sh
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#! /bin/sh
#Array=(0 200000 400000 800000 1600000 3200000 6400000 12800000 25600000 50825784)
Array=(0 200 400 800 1600 3200 6400 12800 25600 50825)
#29266939
host="jau"
#########################################################################
pwd
make
mkdir -p tests
#ests
for i in 1 2 3 4 5 6 7 8 9
do
echo " "
echo "dataset: '${Array[$i]}' strings"
echo "--"
# mkdir -p tests/ests/
# date > tests/ests/dataset."${Array[$i]}".txt
#
# #ests
# for j in 1 2 3 4
# do
# echo " " >> tests/ests/dataset."${Array[$i]}".txt
# make run DIR=/home/louza/database/ests/ INPUT=all_ests.fasta K=${Array[$i]} CHECK=0 MODE=$j >> tests/ests/dataset."${Array[$i]}".txt
# done
#
# mkdir -p tests/reads/
# date > tests/reads/dataset."${Array[$i]}".txt
#
# #reads
# for j in 1 2 3 4
# do
# echo " " >> tests/reads/dataset."${Array[$i]}".txt
# make run DIR=/home/louza/database/protein/ INPUT=uniprot_trembl.fasta K=${Array[$i]} CHECK=0 MODE=$j >> tests/reads/dataset."${Array[$i]}".txt
# done
#
mkdir -p tests/protein/
date > tests/protein/uniprot.${host}."${Array[$i]}".txt
#proteins
for j in 1 2 3 4
do
echo " " >> tests/protein/uniprot.${host}."${Array[$i]}".txt
make run DIR=$HOME/database/protein/ INPUT=uniprot_trembl.fasta K=${Array[$i]} CHECK=1 MODE=$j >> tests/protein/uniprot.${host}."${Array[$i]}".txt
done
done
########################################################################