1 <?xml version="1.0" encoding="UTF-8"?>
3 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
4 * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
6 * This file is part of Jalview.
8 * Jalview is free software: you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
12 * Jalview is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty
14 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
19 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vamsas="www.vamsas.ac.uk/jalview/version2" xmlns:jalview="www.jalview.org/colours" xmlns:jv="www.jalview.org" xmlns:jvws="www.jalview.org/xml/wsparamset" targetNamespace="www.jalview.org" elementFormDefault="qualified" attributeFormDefault="unqualified">
20 <xs:import namespace="www.vamsas.ac.uk/jalview/version2" schemaLocation="vamsas.xsd"/>
21 <xs:import namespace="www.jalview.org/colours" schemaLocation="JalviewUserColours.xsd"/>
22 <xs:import namespace="www.jalview.org/xml/wsparamset" schemaLocation="JalviewWsParamSet.xsd"/>
23 <xs:complexType name="JalviewModel">
25 <xs:element name="creationDate" type="xs:dateTime" />
26 <xs:element name="version" type="xs:string" />
27 <xs:element name="vamsasModel" type="vamsas:VAMSAS" />
29 <xs:element name="JSeq" maxOccurs="unbounded">
32 <xs:element name="features"
33 type="jv:feature" minOccurs="0" maxOccurs="unbounded" />
34 <xs:element name="pdbids" minOccurs="0"
35 maxOccurs="unbounded">
42 name="structureState" minOccurs="0"
43 maxOccurs="unbounded">
49 ref="jv:swingwindow" />
51 name="visible" type="xs:boolean" />
53 name="viewId" type="xs:string" use="optional">
113 name="alignwithAlignPanel" type="xs:boolean"
114 use="optional" default="true">
144 name="colourwithAlignPanel" type="xs:boolean"
145 use="optional" default="false">
177 name="colourByJmol" type="xs:boolean" use="optional"
215 <xs:element name="hiddenSequences"
216 type="xs:int" minOccurs="0" maxOccurs="unbounded" />
218 <xs:attribute name="colour" type="xs:int"
220 <xs:attribute name="start" type="xs:int"
222 <xs:attribute name="end" type="xs:int"
224 <xs:attribute name="id" type="xs:string"
226 <xs:attribute name="hidden" type="xs:boolean" />
229 <xs:element name="JGroup" minOccurs="0"
230 maxOccurs="unbounded">
233 <xs:element name="seq" type="xs:string"
234 maxOccurs="unbounded" />
236 <xs:attribute name="start" type="xs:int" />
237 <xs:attribute name="end" type="xs:int" />
238 <xs:attribute name="name" type="xs:string" />
239 <xs:attribute name="colour" type="xs:string" />
240 <xs:attribute name="consThreshold"
242 <xs:attribute name="pidThreshold" type="xs:int" />
243 <xs:attribute name="outlineColour"
245 <xs:attribute name="displayBoxes"
247 <xs:attribute name="displayText"
249 <xs:attribute name="colourText"
251 <xs:attribute name="textCol1" type="xs:int" />
252 <xs:attribute name="textCol2" type="xs:int" />
253 <xs:attribute name="textColThreshold"
255 <xs:attribute name="showUnconserved"
256 type="xs:boolean" use="optional" />
257 <xs:attribute name="ignoreGapsinConsensus"
258 type="xs:boolean" use="optional" default="true" />
259 <xs:attribute name="showConsensusHistogram"
260 type="xs:boolean" use="optional" default="true" />
261 <xs:attribute name="showSequenceLogo"
262 type="xs:boolean" use="optional" default="false" />
263 <xs:attribute name="id" type="xs:string"
267 Optional sequence group ID (only
268 needs to be unique for this
275 <xs:element name="Viewport" maxOccurs="unbounded">
278 <xs:element name="AnnotationColours"
281 <xs:attribute name="aboveThreshold"
283 <xs:attribute name="annotation"
285 <xs:attribute name="minColour"
287 <xs:attribute name="maxColour"
289 <xs:attribute name="colourScheme"
291 <xs:attribute name="threshold"
295 <xs:element name="hiddenColumns"
296 minOccurs="0" maxOccurs="unbounded">
298 <xs:attribute name="start"
300 <xs:attribute name="end"
304 <xs:element name="calcIdParam"
306 minOccurs="0" maxOccurs="unbounded">
309 <xs:extension base="jvws:WebServiceParameterSet">
310 <xs:attribute name="calcId" type="xs:string" use="required">
312 <xs:documentation>handle for the calculation which uses this parameter set</xs:documentation></xs:annotation>
314 <xs:attribute name="needsUpdate" type="xs:boolean" use="optional" default="false">
315 <xs:annotation><xs:documentation>should the calculation be performed immediately after loading in order to refresh results</xs:documentation></xs:annotation>
317 <xs:attribute name="autoUpdate" type="xs:boolean" use="required">
318 <xs:annotation><xs:documentation>should the calculation be automatically performed on edits</xs:documentation></xs:annotation>
325 <xs:attributeGroup ref="jv:swingwindow" />
326 <xs:attribute name="conservationSelected"
328 <xs:attribute name="pidSelected"
330 <xs:attribute name="bgColour" type="xs:string" />
331 <xs:attribute name="consThreshold"
333 <xs:attribute name="pidThreshold" type="xs:int" />
334 <xs:attribute name="title" type="xs:string" />
335 <xs:attribute name="showFullId"
337 <xs:attribute name="rightAlignIds"
339 <xs:attribute name="showText" type="xs:boolean" />
340 <xs:attribute name="showColourText"
342 <xs:attribute name="showUnconserved"
343 type="xs:boolean" use="optional" default="false" />
344 <xs:attribute name="showBoxes"
346 <xs:attribute name="wrapAlignment"
348 <xs:attribute name="renderGaps"
350 <xs:attribute name="showSequenceFeatures"
352 <xs:attribute name="showNPfeatureTooltip"
353 type="xs:boolean" use="optional" />
354 <xs:attribute name="showDbRefTooltip"
355 type="xs:boolean" use="optional" />
356 <xs:attribute name="followHighlight"
357 type="xs:boolean" use="optional" default="true" />
358 <xs:attribute name="followSelection"
359 type="xs:boolean" use="optional" default="true" />
360 <xs:attribute name="showAnnotation"
362 <xs:attribute name="centreColumnLabels"
363 type="xs:boolean" use="optional" default="false" />
364 <xs:attribute name="showGroupConservation"
365 type="xs:boolean" use="optional" default="false" />
366 <xs:attribute name="showGroupConsensus"
367 type="xs:boolean" use="optional" default="false" />
368 <xs:attribute name="showConsensusHistogram"
369 type="xs:boolean" use="optional" default="true" />
370 <xs:attribute name="showSequenceLogo"
371 type="xs:boolean" use="optional" default="false" />
372 <xs:attribute name="ignoreGapsinConsensus"
373 type="xs:boolean" use="optional" default="true" />
375 <xs:attribute name="startRes" type="xs:int" />
376 <xs:attribute name="startSeq" type="xs:int" />
377 <xs:attribute name="fontName" type="xs:string" />
378 <xs:attribute name="fontSize" type="xs:int" />
379 <xs:attribute name="fontStyle" type="xs:int" />
380 <xs:attribute name="viewName" type="xs:string" />
381 <xs:attribute name="sequenceSetId"
383 <xs:attribute name="gatheredViews"
385 <xs:attribute name="textCol1" type="xs:int" />
386 <xs:attribute name="textCol2" type="xs:int" />
387 <xs:attribute name="textColThreshold"
389 <xs:attribute name="id" type="xs:ID"
393 unique id used by jalview to
394 synchronize between stored and
401 <xs:element name="UserColours" minOccurs="0"
402 maxOccurs="unbounded">
405 <xs:element name="UserColourScheme"
406 type="jalview:JalviewUserColours" />
408 <xs:attribute name="id" type="xs:string" />
411 <xs:element name="tree" minOccurs="0"
412 maxOccurs="unbounded">
414 <xs:sequence minOccurs="0">
415 <xs:element name="title" type="xs:string" />
416 <xs:element name="newick" type="xs:string" />
418 <xs:attribute name="fontName" type="xs:string" />
419 <xs:attribute name="fontSize" type="xs:int" />
420 <xs:attribute name="fontStyle" type="xs:int" />
421 <xs:attribute name="threshold" type="xs:float" />
422 <xs:attribute name="showBootstrap"
424 <xs:attribute name="showDistances"
426 <xs:attribute name="markUnlinked"
428 <xs:attribute name="fitToWindow"
430 <xs:attribute name="currentTree"
432 <xs:attribute name="id" type="xs:ID"
436 Tree ID added for binding tree
437 visualization settings to vamsas
438 document trees in jalview 2.4.1
442 <xs:attributeGroup ref="jv:swingwindow" />
445 <xs:element name="FeatureSettings" minOccurs="0">
448 <xs:element name="setting" minOccurs="0"
449 maxOccurs="unbounded">
451 <xs:attribute name="type"
452 type="xs:string" use="required" />
453 <xs:attribute name="colour"
454 type="xs:int" use="required" />
455 <xs:attribute name="display"
456 type="xs:boolean" use="required" />
457 <xs:attribute name="order"
458 type="xs:float" use="optional" />
459 <xs:attribute name="mincolour"
460 type="xs:int" use="optional">
463 Optional minimum colour
464 for graduated feature
469 <xs:attribute name="threshold"
470 type="xs:float" use="optional">
474 graduated feature colour
478 <xs:attribute name="threshstate"
479 type="xs:int" use="optional">
483 graduated feature colour
487 <xs:attribute name="max"
488 type="xs:float" use="optional" />
489 <xs:attribute name="min"
490 type="xs:float" use="optional" />
491 <xs:attribute name="colourByLabel"
492 type="xs:boolean" use="optional" />
493 <xs:attribute name="autoScale"
494 type="xs:boolean" use="optional" />
497 <xs:element name="group" minOccurs="0"
498 maxOccurs="unbounded">
500 <xs:attribute name="name"
501 type="xs:string" use="required" />
502 <xs:attribute name="display"
503 type="xs:boolean" use="required" />
512 <xs:complexType name="feature">
514 <xs:element name="otherData" minOccurs="0" maxOccurs="unbounded">
516 <xs:attribute name="key" type="xs:string" use="required"/>
517 <xs:attribute name="value" type="xs:string" use="required"/>
521 <xs:attribute name="begin" type="xs:int" use="required"/>
522 <xs:attribute name="end" type="xs:int" use="required"/>
523 <xs:attribute name="type" type="xs:string" use="required"/>
524 <xs:attribute name="description" type="xs:string" use="optional"/>
525 <xs:attribute name="status" type="xs:string" use="optional"/>
526 <xs:attribute name="featureGroup" type="xs:string" use="optional"/>
527 <xs:attribute name="score" type="xs:float" use="optional"/>
529 <xs:complexType name="pdbentry">
530 <xs:sequence minOccurs="0" maxOccurs="unbounded">
531 <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
533 <xs:attribute name="name" type="xs:string" use="required"/>
534 <xs:attribute name="value" type="xs:string" use="required"/>
538 <xs:attribute name="id" type="xs:string" use="required"/>
539 <xs:attribute name="type" type="xs:string" use="optional"/>
540 <xs:attribute name="file" type="xs:string"/>
543 <xs:complexType name="reportWindow">
545 <xs:documentation>Generic type for windows containing mime-typed data associated with other jalview windows</xs:documentation>
549 <xs:attribute name="id" type="xs:string" use="required"/>
550 <xs:attribute name="type" type="xs:string" use="optional"/>
551 <xs:attribute name="file" type="xs:string" use="optional"/>
554 <xs:attributeGroup name="swingwindow">
557 base attributes for windows displayed in Jalview desktop.
560 <xs:attribute name="width" type="xs:int"/>
561 <xs:attribute name="height" type="xs:int"/>
562 <xs:attribute name="xpos" type="xs:int"/>
563 <xs:attribute name="ypos" type="xs:int"/>