forked from GMOD/Apollo
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathapollo-config.groovy
executable file
·163 lines (154 loc) · 5 KB
/
apollo-config.groovy
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
153
154
155
156
157
158
159
160
161
162
environments {
development {
// sample config to turn on debug logging in development e.g. for apollo run-local
log4j.main = {
debug "grails.app"
}
// sample config to edit apollo specific configs in development mode
apollo {
gff3.source = "testing"
}
dataSource{
dbCreate = "update" // one of 'create', 'create-drop', 'update', 'validate', ''
username = "webapollo"
password = "web2apollo"
driverClassName = "org.postgresql.Driver"
dialect = org.hibernate.dialect.PostgresPlusDialect
url = "jdbc:postgresql://localhost/webapollo_2"
}
}
production {
dataSource{
dbCreate = "update" // one of 'create', 'create-drop', 'update', 'validate', ''
username = "webapollo"
password = "web2apollo"
driverClassName = "org.postgresql.Driver"
dialect = org.hibernate.dialect.PostgresPlusDialect
url = "jdbc:postgresql://localhost/webapollo_2"
properties {
// See http://grails.org/doc/latest/guide/conf.html#dataSource for documentation
jmxEnabled = true
initialSize = 5
maxActive = 50
minIdle = 5
maxIdle = 25
maxWait = 10000
maxAge = 10 * 60000
timeBetweenEvictionRunsMillis = 5000
minEvictableIdleTimeMillis = 60000
validationQuery = "SELECT 1"
validationQueryTimeout = 3
validationInterval = 15000
testOnBorrow = true
testWhileIdle = true
testOnReturn = false
jdbcInterceptors = "ConnectionState"
defaultTransactionIsolation = java.sql.Connection.TRANSACTION_READ_COMMITTED
}
}
}
}
// Uncomment to make changes
//
// not quite default apollo settings
apollo {
default_minimum_intron_size = 1
history_size = 0
overlapper_class = "org.bbop.apollo.sequence.OrfOverlapper"
track_name_comparator = "/config/track_name_comparator.js"
use_cds_for_new_transcripts = true
user_pure_memory_store = true
translation_table = "/config/translation_tables/ncbi_1_translation_table.txt"
is_partial_translation_allowed = false // unused so far
get_translation_code = 1
only_owners_delete = false
google_analytics = ["UA-49907870-1","UA-62921593-1", "UA-27627304-1"]
sequence_search_tools = [
blat_nuc: [
search_exe: "/usr/local/bin/blat",
search_class: "org.bbop.apollo.sequence.search.blat.BlatCommandLineNucleotideToNucleotide",
name: "Blat nucleotide",
params: ""
],
blat_prot: [
search_exe: "/usr/local/bin/blat",
search_class: "org.bbop.apollo.sequence.search.blat.BlatCommandLineProteinToNucleotide",
name: "Blat protein",
params: ""
]
]
splice_donor_sites = [ "GT" ]
splice_acceptor_sites = [ "AG"]
gff3.source= "Apollo"
bootstrap = false
info_editor = {
feature_types = "default"
attributes = true
dbxrefs = true
pubmed_ids = true
go_ids = true
comments = true
}
}
jbrowse {
git {
// url= "https://github.com/NAL-i5K/jbrowse"
url= "https://github.com/GMOD/jbrowse"
tag = "1.16.11-release"
// branch = "master"
// tag = "1.15.4-release"
// tag = "e9a005cf86a40ad4b2a4aaebcbf914a866ff7f3b"
// alwaysPull = true
alwaysRecheck = true
// Warning: We are still testing the performance of NeatFeatures plugins in combination with Apollo.
// We advise caution if enabling these plugins with Apollo until this process is finalized.
}
plugins {
WebApollo{
included = true
}
NeatHTMLFeatures{
included = true
}
NeatCanvasFeatures{
included = true
}
RegexSequenceSearch{
included = true
}
HideTrackLabels{
included = true
}
// MyVariantInfo {
// git = 'https://github.com/GMOD/myvariantviewer'
// branch = 'master'
// alwaysRecheck = "true"
// alwaysPull = "true"
// }
// SashimiPlot {
// git = 'https://github.com/cmdcolin/sashimiplot'
// branch = 'master'
// alwaysPull = "true"
// }
NAL_CSS {
git = "https://github.com/NAL-i5K/NAL_CSS"
// branch = "master"
branch = "supports_1.16.5-release"
alwaysPull = true
alwaysRecheck = true
}
// ColorByType {
// git = "https://github.com/NAL-i5K/ColorByType"
// branch = "master"
//// branch = "issue10_cds"
// alwaysPull = true
// alwaysRecheck = true
// }
// Header {
// git = 'https://github.com/NAL-i5K/workspace_header_footer'
// branch = 'master'
// alwaysPull = true
// alwaysRecheck = true
// }
}
}