source: trunk/bio/tutorial/malariamine/webapp/resources/webapp/WEB-INF/webconfig-model.xml @ 27560

Revision 27560, 9.6 KB checked in by rns, 6 months ago (diff)

Updates for new location of BioUtil?.

Line 
1<webconfig>
2  <class className="org.intermine.model.bio.Author">
3    <fields>
4      <fieldconfig fieldExpr="name"/>
5    </fields>
6  </class>
7
8  <class className="org.intermine.model.bio.BioEntity">
9    <fields>
10      <fieldconfig fieldExpr="primaryIdentifier"/>
11    </fields>
12  </class>
13
14  <class className="org.intermine.model.bio.Chromosome">
15    <fields>
16      <fieldconfig fieldExpr="primaryIdentifier"/>
17      <fieldconfig fieldExpr="organism.name"/>
18      <fieldconfig fieldExpr="length" displayer="/model/sequenceShortDisplayerWithField.jsp" />
19    </fields>
20  </class>
21
22  <class className="org.intermine.model.bio.Comment">
23    <fields>
24      <fieldconfig fieldExpr="type"/>
25      <fieldconfig fieldExpr="text"/>
26    </fields>
27  </class>
28
29  <class className="org.intermine.model.bio.DataSet">
30    <fields>
31      <fieldconfig fieldExpr="title"/>
32      <fieldconfig fieldExpr="url" doNotTruncate="true"/>
33    </fields>
34  </class>
35
36  <class className="org.intermine.model.bio.DataSource">
37    <fields>
38      <fieldconfig fieldExpr="name"/>
39      <fieldconfig fieldExpr="url" doNotTruncate="true"/>
40    </fields>
41    <tabledisplayer src="/model/dataSourceShort.jsp"/>
42  </class>
43
44  <class className="org.intermine.model.bio.Gene">
45    <fields>
46      <fieldconfig fieldExpr="primaryIdentifier"/>
47      <fieldconfig fieldExpr="secondaryIdentifier"/>
48      <fieldconfig fieldExpr="symbol"/>
49      <fieldconfig fieldExpr="name"/>
50      <fieldconfig fieldExpr="length" displayer="/model/sequenceShortDisplayerWithField.jsp" />
51      <fieldconfig fieldExpr="chromosomeLocation" displayer="/model/chromosomeLocDisplayer.jsp" showInResults="false" />
52      <fieldconfig fieldExpr="chromosome.primaryIdentifier" showInInlineCollection="false" showInSummary="false" />
53      <fieldconfig fieldExpr="chromosomeLocation.start" showInInlineCollection="false" showInSummary="false" />
54      <fieldconfig fieldExpr="chromosomeLocation.end" showInInlineCollection="false" showInSummary="false" />
55      <fieldconfig fieldExpr="organism.shortName" />
56    </fields>
57    <bagdisplayers>
58      <displayer src="attributeLinkDisplayer.tile"/>
59    </bagdisplayers>
60  </class>
61
62  <class className="org.intermine.model.bio.GOAnnotation">
63    <fields>
64      <fieldconfig fieldExpr="subject.primaryIdentifier" showInInlineCollection="false" showInResults="true"/>
65      <fieldconfig fieldExpr="identifier"/>
66      <fieldconfig fieldExpr="name"/>
67      <fieldconfig fieldExpr="property[GOTerm].namespace" showInSummary="false" />
68      <fieldconfig fieldExpr="qualifier"/>
69      <fieldconfig fieldExpr="isPrimaryAssignment"/>
70    </fields>
71  </class>
72
73   <class className="org.intermine.model.bio.GOTerm">
74    <fields>
75      <fieldconfig fieldExpr="identifier"/>
76      <fieldconfig fieldExpr="name"/>
77    </fields>
78  </class>
79
80 <class className="org.intermine.model.bio.Location">
81    <fields>
82      <fieldconfig fieldExpr="object.primaryIdentifier"/>
83      <fieldconfig fieldExpr="start"/>
84      <fieldconfig fieldExpr="end"/>
85      <fieldconfig fieldExpr="strand"/>
86    </fields>
87  </class>
88
89  <class className="org.intermine.model.bio.SequenceFeature">
90    <fields>
91      <fieldconfig fieldExpr="primaryIdentifier"/>
92      <fieldconfig fieldExpr="length" displayer="/model/sequenceShortDisplayerWithField.jsp" />
93      <fieldconfig fieldExpr="chromosomeLocation" displayer="/model/chromosomeLocDisplayer.jsp" showInResults="false" />
94      <fieldconfig fieldExpr="chromosome.primaryIdentifier" showInInlineCollection="false" showInSummary="false" />
95      <fieldconfig fieldExpr="chromosomeLocation.start" showInInlineCollection="false" showInSummary="false" />
96      <fieldconfig fieldExpr="chromosomeLocation.end" showInInlineCollection="false" showInSummary="false" />
97      <fieldconfig fieldExpr="organism.name"/>
98    </fields>
99  </class>
100
101  <class className="org.intermine.model.bio.OntologyTerm">
102    <fields>
103      <fieldconfig fieldExpr="identifier"/>
104      <fieldconfig fieldExpr="name"/>
105      <fieldconfig fieldExpr="description" doNotTruncate="true" />
106    </fields>
107  </class>
108
109  <class className="org.intermine.model.bio.OntologyRelation">
110    <fields>
111      <fieldconfig fieldExpr="relationship"/>
112      <fieldconfig fieldExpr="parentTerm.identifier"/>
113      <fieldconfig fieldExpr="childTerm.identifier"/>
114    </fields>
115  </class>
116
117  <class className="org.intermine.model.bio.OntologyTermSynonym">
118    <fields>
119      <fieldconfig fieldExpr="name"/>
120      <fieldconfig fieldExpr="type"/>
121    </fields>
122  </class>
123
124  <class className="org.intermine.model.bio.Organism">
125    <fields>
126      <fieldconfig fieldExpr="name"/>
127      <fieldconfig fieldExpr="taxonId" />
128    </fields>
129  </class>
130
131  <class className="org.intermine.model.bio.Protein">
132    <fields>
133      <fieldconfig fieldExpr="primaryIdentifier"/>
134      <fieldconfig fieldExpr="primaryAccession"/>
135      <fieldconfig fieldExpr="organism.name"/>
136      <fieldconfig fieldExpr="length" displayer="/model/sequenceShortDisplayerWithField.jsp" />
137    </fields>
138  </class>
139
140  <class className="org.intermine.model.bio.Publication">
141    <fields>
142      <fieldconfig fieldExpr="firstAuthor"/>
143      <fieldconfig fieldExpr="title"/>
144      <fieldconfig fieldExpr="year"/>
145      <fieldconfig fieldExpr="journal"/>
146      <fieldconfig fieldExpr="volume"/>
147      <fieldconfig fieldExpr="pages"/>
148      <fieldconfig fieldExpr="pubMedId"/>
149    </fields>
150  </class>
151
152  <class className="org.intermine.model.bio.Sequence">
153    <fields>
154      <fieldconfig fieldExpr="residues" fieldExporter="org.intermine.bio.web.export.ResidueFieldExporter"
155                   sectionOnRight="true" sectionTitle="Residues" openByDefault="true"
156                   showInSummary="false" showInResults="false" showInInlineCollection="false"/>
157      <fieldconfig fieldExpr="length"/>
158    </fields>
159    <tabledisplayer src="/model/sequenceShortDisplayer.jsp"/>
160  </class>
161
162  <class className="org.intermine.model.bio.Synonym">
163    <fields>
164      <fieldconfig fieldExpr="value"/>
165      <fieldconfig fieldExpr="type"/>
166    </fields>
167  </class>
168
169  <class className="org.intermine.model.bio.Transcript">
170    <fields>
171      <fieldconfig fieldExpr="primaryIdentifier"/>
172      <fieldconfig fieldExpr="length" displayer="/model/sequenceShortDisplayerWithField.jsp" />
173      <fieldconfig fieldExpr="chromosomeLocation" displayer="/model/chromosomeLocDisplayer.jsp" showInResults="false"/>
174      <fieldconfig fieldExpr="chromosome.primaryIdentifier" showInInlineCollection="false" showInSummary="false" />
175      <fieldconfig fieldExpr="chromosomeLocation.start" showInInlineCollection="false" showInSummary="false" />
176      <fieldconfig fieldExpr="chromosomeLocation.end" showInInlineCollection="false" showInSummary="false" />
177    </fields>
178  </class>
179
180  <class className="org.intermine.model.bio.UniProtFeature">
181    <fields>
182      <fieldconfig fieldExpr="type"/>
183      <fieldconfig fieldExpr="description"/>
184      <fieldconfig fieldExpr="begin"/>
185      <fieldconfig fieldExpr="end"/>
186    </fields>
187  </class>
188
189<!-- exporters -->
190  <tableExportConfig id="sequence" className="org.intermine.bio.web.export.SequenceHttpExporter"/>
191  <tableExportConfig id="gff3" className="org.intermine.bio.web.export.GFF3HttpExporter"/>
192
193<!-- widgets -->
194<widgets>
195      <graphdisplayer id="chromosome_distribution" title="Chromosome Distribution"
196        domainLabel="Chromosome"
197        rangeLabel="Count"
198        dataSetLoader="org.intermine.bio.web.widget.ChromosomeDistributionDataSetLdr"
199        link="org.intermine.bio.web.widget.ChromosomeDistributionGraphURLGenerator"
200        description="Actual: number of items in this list found on each chromosome.  Expected: given the total number of items on the chromosome and the number of items in this list, the number of items expected to be found on each chromosome."
201        graphType="BarChart"
202        extraAttributeClass="org.intermine.bio.util.BioUtil"
203        typeClass="org.intermine.model.bio.Gene,org.intermine.model.bio.SequenceFeature"
204       />
205
206      <enrichmentwidgetdisplayer id="protein_features" title="UniProt Features"
207                                 link="org.intermine.bio.web.widget.UniProtFeaturesURLQuery"
208                                 dataSetLoader="org.intermine.bio.web.widget.UniProtFeaturesLdr"
209                                 label="Feature"
210                                 description="UniProt features enriched for proteins in this list."
211                                 typeClass="org.intermine.model.bio.Protein" />
212
213      <enrichmentwidgetdisplayer id="uniprot_keywords" title="UniProt Keywords"
214                                 link="org.intermine.bio.web.widget.UniProtKeywordsURLQuery"
215                                 dataSetLoader="org.intermine.bio.web.widget.UniProtKeywordsLdr"
216                                 label="Keyword"
217                                 description="UniProt keywords enriched for proteins in this list."
218                                 typeClass="org.intermine.model.bio.Protein" />
219
220
221      <enrichmentwidgetdisplayer id="go_enrichment" title="Gene Ontology Enrichment"
222                                 link="org.intermine.bio.web.widget.GoStatURLQuery"
223                                 dataSetLoader="org.intermine.bio.web.widget.GoStatLdr"
224                                 description="GO terms enriched for items in this list."
225                                 label="GO Term"
226                                 filters="biological_process,cellular_component,molecular_function"
227                                 filterLabel="Ontology"
228                                 typeClass="org.intermine.model.bio.Gene,org.intermine.model.bio.Protein"
229                                 externalLink="http://amigo.geneontology.org/cgi-bin/amigo/term-details.cgi?term=" />
230</widgets>
231</webconfig>
Note: See TracBrowser for help on using the repository browser.