-
Notifications
You must be signed in to change notification settings - Fork 120
/
master-test.sh
executable file
·152 lines (102 loc) · 2.15 KB
/
master-test.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
check()
{
if diff $1 $2; then
echo ok
else
echo fail
fi
}
export -f check
SCRIPT_PATH=$(which gemini 2> /dev/null)
if [ $? -eq 1 ]
then
SCRIPT_PATH=$(dirname "$(readlink -f "$0")")
export PATH=$PATH:"${SCRIPT_PATH}/../../bin"
fi
echo "Using gemini found at: $SCRIPT_PATH" 1>&2
cd test
rm -f ./*.db
# setup the testing databases from the testing VCF files
set -e
bash data-setup.sh
bash test-vep-extra.sh || exit
bash test-vcf-output.sh || exit
bash test-mendel-error.sh || exit
bash test-genotype-likelihoods.sh || exit
bash test-t-all.sh || exit
# Test gemini region
bash test-region.sh
# Test amending the database
bash test-amend.sh
# Test query tool
bash test-query.sh
# Test database dumping
bash test-dump.sh
# Test basic functionality
bash test-columns.sh
# Test cadd scores
bash test-cadd.sh
# Test cosmic
bash test-cosmic.sh
# Test loading functionality
bash test-load.sh
# Test genotype BLOB functionality
bash test-genotypes.sh
# Test ClinVar attributes
bash test-clinvar.sh
# Test Exac
bash test-exac.sh
bash test-gnomad.sh
# Test population_gen metrics
bash test-pop.sh
# Test mappability
bash test-map.sh
# Test genome annotations
bash test-genome.sh
# Test encode annotations
bash test-encode.sh
# Test EFF string derived elements in INFO column
bash test-effstring.sh
# Test loading functionality
bash test-annotate-tool.sh
# Test comp_hets tool
bash test-comphet.sh
# Test lof sieve tool
bash test-lofsieve.sh
# Test stats tool
bash test-stats.sh
# Test windower
bash test-windower.sh
#
bash test-fitcons.sh
# Test pfam domains
bash test-pfam.sh
# Test GERP scores
bash test-gerp.sh
# Test disease models
bash test-auto-dom.sh
bash test-auto-rec.sh
# Test denovo tool
bash test-de-novo.sh
# Test wildcards
bash test-wildcards.sh
# Test ROH
bash test-roh.sh
# Test somatic variants
bash test-somatic.sh
# Test fusions
bash test-fusions.sh
bash test-multiple-alts.sh
bash test-bcolz.sh
bash test-esp.sh
bash test-dashes.sh
# backwards compat with no PL/GL columns
bash test-no-gls.sh
bash test-multi-col.sh
bash test-eff.sh
bash test-geno2mp.sh
bash test-genewise.sh
bash test-x-linked.sh
# cleanup
#rm ./*.db
rm -Rf *.gts