Rev 4257 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4257 | Rev 8537 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #! /bin/sh |
1 | #! /bin/sh |
2 | ##Script to use some programs for a bioinfo module. |
2 | ##Script to use some programs for a bioinfo module. |
3 | 3 | ||
4 | echo "$wims_exec_parm" > $tmp_dir/test |
4 | echo "$wims_exec_parm" > $tmp_dir/test |
5 | 5 | ||
6 | [ -s $tmp_dir/test ] || exit |
6 | [ -s $tmp_dir/test ] || exit |
7 | 7 | ||
Line 10... | Line 10... | ||
10 | 10 | ||
11 | SUCCES=0 |
11 | SUCCES=0 |
12 | grep -q "C_etat_civil" $tmp_dir/test |
12 | grep -q "C_etat_civil" $tmp_dir/test |
13 | if [ $? -eq $SUCCES ] |
13 | if [ $? -eq $SUCCES ] |
14 | then |
14 | then |
15 |
|
15 | ./bin/wrap..exec ../other/bin/C_etat_civil $a |
16 | fi |
16 | fi |
17 | SUCCES=0 |
17 | SUCCES=0 |
18 | grep -q "test_cond" $tmp_dir/test |
18 | grep -q "test_cond" $tmp_dir/test |
19 | if [ $? -eq $SUCCES ] |
19 | if [ $? -eq $SUCCES ] |
20 | then |
20 | then |
21 |
|
21 | ./bin/wrap..exec ../other/bin/test_cond $a |
22 | fi |
22 | fi |
23 | SUCCES=0 |
23 | SUCCES=0 |
24 | grep -q "tab1d" $tmp_dir/test |
24 | grep -q "tab1d" $tmp_dir/test |
25 | if [ $? -eq $SUCCES ] |
25 | if [ $? -eq $SUCCES ] |
26 | then |
26 | then |
27 |
|
27 | ./bin/wrap..exec ../other/bin/tab1d $a |
28 | fi |
28 | fi |
29 | 29 | ||
30 | SUCCES=0 |
30 | SUCCES=0 |
31 | grep -q "tab2d" $tmp_dir/test |
31 | grep -q "tab2d" $tmp_dir/test |
32 | if [ $? -eq $SUCCES ] |
32 | if [ $? -eq $SUCCES ] |
33 | then |
33 | then |
34 |
|
34 | ./bin/wrap..exec ../other/bin/tab2d $a |
35 | fi |
35 | fi |
36 | 36 |