-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathmanage.py
executable file
·81 lines (50 loc) · 1.13 KB
/
manage.py
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
from flask.ext.script import Manager
from exac import app
import exac
manager = Manager(app)
@manager.command
def hello():
print "hello"
@manager.command
def load_db():
exac.load_db()
@manager.command
def load_base_coverage():
exac.load_base_coverage()
@manager.command
def load_variants_file():
exac.load_variants_file()
@manager.command
def reload_variants():
exac.load_variants_file()
exac.load_mnps()
exac.precalculate_metrics()
@manager.command
def load_gene_models():
exac.load_gene_models()
@manager.command
def load_cnv_models():
exac.load_cnv_models()
@manager.command
def load_cnv_genes():
exac.load_cnv_genes()
@manager.command
def drop_cnv_genes():
exac.drop_cnv_genes()
@manager.command
def load_dbsnp_file():
exac.load_dbsnp_file()
@manager.command
def load_constraint_information():
exac.load_constraint_information()
@manager.command
def load_mnps():
exac.load_mnps()
@manager.command
def create_cache():
exac.create_cache()
@manager.command
def precalculate_metrics():
exac.precalculate_metrics()
if __name__ == "__main__":
manager.run()