forked from ZFIN/zfin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
console.gradle
187 lines (154 loc) · 6.8 KB
/
console.gradle
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
task genotypeNamingIssues(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.nomenclature.repair.GenotypeNamingIssues'
//so we can pass the log4j config file
// (eg. "gradle -Dlog4j2.configurationFile=./home/WEB-INF/log4j2.xml genotypeNamingIssues")
systemProperty "log4j2.configurationFile", System.getProperty("log4j2.configurationFile", "./conf/gradle-log4j2.xml")
//so we can pass along a specific path to which to write the CSV report
systemProperty "reportFile", System.getProperty("reportFile", null)
}
task featureAttributionRepair(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.feature.repair.FeatureAttributionRepair'
systemProperty "reportFile", System.getProperty("reportFile", null)
systemProperty "publicationsBefore", System.getProperty("publicationsBefore", null)
systemProperty "publicationsAfter", System.getProperty("publicationsAfter", null)
}
task journalAbbreviationSyncReport(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
systemProperty "executeSql", false
main = 'org.zfin.publication.JournalAbbreviationSyncTask'
}
task journalAbbreviationSyncAndUpdate(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
systemProperty "executeSql", true
main = 'org.zfin.publication.JournalAbbreviationSyncTask'
}
task importCloneAssembly(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.mapping.importer.ImportCloneAssemblyTask'
}
task BatchNCBIFastaFetchTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.datatransfer.webservice.BatchNCBIFastaFetchTask'
systemProperty "ncbiLoadInput", System.getProperty("ncbiLoadInput", null)
systemProperty "ncbiLoadOutput", System.getProperty("ncbiLoadOutput", null)
}
task cleanMarkerGoTermEvidenceDuplicatesTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.mutant.MarkerGoTermEvidenceCleanupTask'
}
task thisseLegacyImportAnalysisTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.thisse.ThisseLegacyImportAnalysisTask'
}
task uniprotAnalysisTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.uniprot.task.UniProtAnalysisTask'
}
task uniprotCompareTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.uniprot.task.UniProtCompareTask'
}
task uniprotReleaseDiffTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.uniprot.task.UniProtReleaseDiffTask'
systemProperty "log4j2.configurationFile", System.getProperty("log4j2.configurationFile", "./conf/gradle-log4j2.xml")
}
task uniprotReleaseCheckTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.uniprot.task.UniProtReleaseCheckTask'
// use the conf/gradle-log4j2.xml file and customize if needed
// systemProperty "log4j2.configurationFile", System.getProperty("log4j2.configurationFile", "./home/WEB-INF/log4j2-debug.xml")
}
task uniprotLoadTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.uniprot.task.UniProtLoadTask'
systemProperty "log4j2.configurationFile", System.getProperty("log4j2.configurationFile", "./conf/gradle-log4j2.xml")
}
task uniprotSecondaryTermLoadTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.uniprot.task.UniprotSecondaryTermLoadTask'
systemProperty "log4j2.configurationFile", System.getProperty("log4j2.configurationFile", "./conf/gradle-log4j2.xml")
}
task ncbiMatchThroughEnsemblTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.uniprot.task.NcbiMatchThroughEnsemblTask'
systemProperty "ncbiFileUrl", System.getProperty("ncbiFileUrl", null)
}
task createUIIndex(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.indexer.UiIndexer'
}
task runPhenotypeIndexer(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.indexer.UiIndexer'
args 'TermPhenotype'
args 'ChebiPhenotype'
}
task imageThumbnailFixTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.figure.service.ImageThumbnailFixTask'
systemProperty "runImageFixes", System.getProperty("runImageFixes", null)
}
task runMeshChebiGenerator(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.datatransfer.ctd.LoadCtdData'
doFirst {
args JobName
}
}
//TODO: remove this task after duplicates have been fixed
task expressionExperimentAnalysisTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.expression.task.ExpressionExperimentAnalysisTask'
}
task runEnsemblTranscriptLoader(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.sequence.load.EnsemblTranscriptFastaReadProcess'
}
task runEnsemblTranscriptChecker(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.sequence.load.EnsemblTranscriptTester'
}
task runEnsemblTranscriptLengthUpdater(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.sequence.load.EnsemblTranscriptUpdateLengthTask'
}
task createMeshChebiMappingFile(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.datatransfer.ctd.CreateMeshChebiMappingFile'
}
task importMissingFPBaseProteinsTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.marker.fluorescence.ImportMissingFPBaseProteinsTask'
}
task createEnsembTranscriptFastaFile(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.sequence.load.EnsemblTranscriptFastaReader'
args 'server_apps/data_transfer/Ensembl'
}
task findEmptyPublicationFilesTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.publication.FindEmptyPublicationFilesTask'
}
task generateSitemapTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.infrastructure.seo.GenerateSitemapTask'
}
task readAndQuerySitemapTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.infrastructure.seo.ReadAndQuerySitemapTask'
}
task checkSequenceValidationRulesTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.sequence.CheckSequenceValidationRulesTask'
}
task addCountryTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.task.AddCountryTask'
}
task imageThumbnailAndMediumSwapTask(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = 'org.zfin.figure.service.ImageThumbnailAndMediumSwapTask'
}