1 <?xml version="1.0" encoding="UTF-8"?>
3 * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
4 * Copyright (C) $$Year-Rel$$ The Jalview Authors
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/>.
18 * The Jalview Authors are detailed in the 'AUTHORS' file.
20 <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">
21 <xs:import namespace="www.vamsas.ac.uk/jalview/version2" schemaLocation="vamsas.xsd"/>
22 <xs:import namespace="www.jalview.org/colours" schemaLocation="JalviewUserColours.xsd"/>
23 <xs:import namespace="www.jalview.org/xml/wsparamset" schemaLocation="JalviewWsParamSet.xsd"/>
24 <xs:complexType name="JalviewModel">
26 <xs:element name="creationDate" type="xs:dateTime" />
27 <xs:element name="version" type="xs:string" />
28 <xs:element name="vamsasModel" type="vamsas:VAMSAS" />
30 <xs:element name="JSeq" maxOccurs="unbounded" minOccurs="0">
33 <xs:element name="features"
34 type="jv:feature" minOccurs="0" maxOccurs="unbounded" />
35 <xs:element name="pdbids" minOccurs="0"
36 maxOccurs="unbounded">
43 name="structureState" minOccurs="0"
44 maxOccurs="unbounded">
50 ref="jv:swingwindow" />
52 name="visible" type="xs:boolean" />
54 name="viewId" type="xs:string" use="optional">
114 name="alignwithAlignPanel" type="xs:boolean"
115 use="optional" default="true">
145 name="colourwithAlignPanel" type="xs:boolean"
146 use="optional" default="false">
178 name="colourByJmol" type="xs:boolean" use="optional"
206 <xs:attribute name="type" type="xs:string"
210 An identifier for the viewer type, currently either
225 <xs:element name="hiddenSequences"
226 type="xs:int" minOccurs="0" maxOccurs="unbounded" />
228 <xs:attribute name="colour" type="xs:int"
230 <xs:attribute name="start" type="xs:int"
232 <xs:attribute name="end" type="xs:int"
234 <xs:attribute name="id" type="xs:string"
236 <xs:attribute name="hidden" type="xs:boolean" />
239 <xs:element name="JGroup" minOccurs="0"
240 maxOccurs="unbounded">
243 <xs:element name="seq" type="xs:string" maxOccurs="unbounded" />
244 <xs:element name="annotationColours" type="jv:AnnotationColourScheme"
245 minOccurs="0" maxOccurs="1" />
247 <xs:attribute name="start" type="xs:int" />
248 <xs:attribute name="end" type="xs:int" />
249 <xs:attribute name="name" type="xs:string" />
250 <xs:attribute name="colour" type="xs:string" />
251 <xs:attribute name="consThreshold"
253 <xs:attribute name="pidThreshold" type="xs:int" />
254 <xs:attribute name="outlineColour"
256 <xs:attribute name="displayBoxes"
258 <xs:attribute name="displayText"
260 <xs:attribute name="colourText"
262 <xs:attribute name="textCol1" type="xs:int" />
263 <xs:attribute name="textCol2" type="xs:int" />
264 <xs:attribute name="textColThreshold"
266 <xs:attribute name="showUnconserved"
267 type="xs:boolean" use="optional" />
268 <xs:attribute name="ignoreGapsinConsensus"
269 type="xs:boolean" use="optional" default="true" />
270 <xs:attribute name="showConsensusHistogram"
271 type="xs:boolean" use="optional" default="true" />
272 <xs:attribute name="showSequenceLogo"
273 type="xs:boolean" use="optional" default="false" />
274 <xs:attribute name="normaliseSequenceLogo"
275 type="xs:boolean" use="optional" default="false" />
276 <xs:attribute name="id" type="xs:string"
280 Optional sequence group ID (only
281 needs to be unique for this
288 <xs:element name="Viewport" maxOccurs="unbounded" minOccurs="0">
291 <xs:element name="AnnotationColours" type="jv:AnnotationColourScheme"
292 minOccurs="0" maxOccurs="1">
294 <xs:element name="hiddenColumns"
295 minOccurs="0" maxOccurs="unbounded">
297 <xs:attribute name="start"
299 <xs:attribute name="end"
303 <xs:element name="calcIdParam"
305 minOccurs="0" maxOccurs="unbounded">
308 <xs:extension base="jvws:WebServiceParameterSet">
309 <xs:attribute name="calcId" type="xs:string" use="required">
311 <xs:documentation>handle for the calculation which uses this parameter set</xs:documentation></xs:annotation>
313 <xs:attribute name="needsUpdate" type="xs:boolean" use="optional" default="false">
314 <xs:annotation><xs:documentation>should the calculation be performed immediately after loading in order to refresh results</xs:documentation></xs:annotation>
316 <xs:attribute name="autoUpdate" type="xs:boolean" use="required">
317 <xs:annotation><xs:documentation>should the calculation be automatically performed on edits</xs:documentation></xs:annotation>
324 <xs:attributeGroup ref="jv:swingwindow" />
325 <xs:attribute name="conservationSelected"
327 <xs:attribute name="pidSelected"
329 <xs:attribute name="bgColour" type="xs:string" />
330 <xs:attribute name="consThreshold"
332 <xs:attribute name="pidThreshold" type="xs:int" />
333 <xs:attribute name="title" type="xs:string" />
334 <xs:attribute name="showFullId"
336 <xs:attribute name="rightAlignIds"
338 <xs:attribute name="showText" type="xs:boolean" />
339 <xs:attribute name="showColourText"
341 <xs:attribute name="showUnconserved"
342 type="xs:boolean" use="optional" default="false" />
343 <xs:attribute name="showBoxes"
345 <xs:attribute name="wrapAlignment"
347 <xs:attribute name="renderGaps"
349 <xs:attribute name="showSequenceFeatures"
351 <xs:attribute name="showNPfeatureTooltip"
352 type="xs:boolean" use="optional" />
353 <xs:attribute name="showDbRefTooltip"
354 type="xs:boolean" use="optional" />
355 <xs:attribute name="followHighlight"
356 type="xs:boolean" use="optional" default="true" />
357 <xs:attribute name="followSelection"
358 type="xs:boolean" use="optional" default="true" />
359 <xs:attribute name="showAnnotation"
361 <xs:attribute name="centreColumnLabels"
362 type="xs:boolean" use="optional" default="false" />
363 <xs:attribute name="showGroupConservation"
364 type="xs:boolean" use="optional" default="false" />
365 <xs:attribute name="showGroupConsensus"
366 type="xs:boolean" use="optional" default="false" />
367 <xs:attribute name="showConsensusHistogram"
368 type="xs:boolean" use="optional" default="true" />
369 <xs:attribute name="showSequenceLogo"
370 type="xs:boolean" use="optional" default="false" />
371 <xs:attribute name="normaliseSequenceLogo"
372 type="xs:boolean" use="optional" default="false" />
373 <xs:attribute name="ignoreGapsinConsensus"
374 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
399 <xs:attribute name="complementId" type="xs:string"
403 The viewport id of this viewport's (cdna/protein) coding complement, if any
409 <xs:element name="UserColours" minOccurs="0"
410 maxOccurs="unbounded">
413 <xs:element name="UserColourScheme"
414 type="jalview:JalviewUserColours" />
416 <xs:attribute name="id" type="xs:string" />
419 <xs:element name="tree" minOccurs="0"
420 maxOccurs="unbounded">
422 <xs:sequence minOccurs="0">
423 <xs:element name="title" type="xs:string" />
424 <xs:element name="newick" type="xs:string" />
426 <xs:attribute name="fontName" type="xs:string" />
427 <xs:attribute name="fontSize" type="xs:int" />
428 <xs:attribute name="fontStyle" type="xs:int" />
429 <xs:attribute name="threshold" type="xs:float" />
430 <xs:attribute name="showBootstrap"
432 <xs:attribute name="showDistances"
434 <xs:attribute name="markUnlinked"
436 <xs:attribute name="fitToWindow"
438 <xs:attribute name="currentTree"
440 <xs:attribute name="id" type="xs:ID"
444 Tree ID added for binding tree
445 visualization settings to vamsas
446 document trees in jalview 2.4.1
450 <xs:attributeGroup ref="jv:swingwindow" />
453 <xs:element name="FeatureSettings" minOccurs="0">
456 <xs:element name="setting" minOccurs="0"
457 maxOccurs="unbounded">
459 <xs:attribute name="type"
460 type="xs:string" use="required" />
461 <xs:attribute name="colour"
462 type="xs:int" use="required" />
463 <xs:attribute name="display"
464 type="xs:boolean" use="required" />
465 <xs:attribute name="order"
466 type="xs:float" use="optional" />
467 <xs:attribute name="mincolour"
468 type="xs:int" use="optional">
471 Optional minimum colour
472 for graduated feature
477 <xs:attribute name="threshold"
478 type="xs:float" use="optional">
482 graduated feature colour
486 <xs:attribute name="threshstate"
487 type="xs:int" use="optional">
491 graduated feature colour
495 <xs:attribute name="max"
496 type="xs:float" use="optional" />
497 <xs:attribute name="min"
498 type="xs:float" use="optional" />
499 <xs:attribute name="colourByLabel"
500 type="xs:boolean" use="optional" />
501 <xs:attribute name="autoScale"
502 type="xs:boolean" use="optional" />
505 <xs:element name="group" minOccurs="0"
506 maxOccurs="unbounded">
508 <xs:attribute name="name"
509 type="xs:string" use="required" />
510 <xs:attribute name="display"
511 type="xs:boolean" use="required" />
520 <xs:complexType name="feature">
522 <xs:element name="otherData" minOccurs="0" maxOccurs="unbounded">
524 <xs:attribute name="key" type="xs:string" use="required"/>
525 <xs:attribute name="value" type="xs:string" use="required"/>
529 <xs:attribute name="begin" type="xs:int" use="required"/>
530 <xs:attribute name="end" type="xs:int" use="required"/>
531 <xs:attribute name="type" type="xs:string" use="required"/>
532 <xs:attribute name="description" type="xs:string" use="optional"/>
533 <xs:attribute name="status" type="xs:string" use="optional"/>
534 <xs:attribute name="featureGroup" type="xs:string" use="optional"/>
535 <xs:attribute name="score" type="xs:float" use="optional"/>
537 <xs:complexType name="pdbentry">
538 <xs:sequence minOccurs="0" maxOccurs="unbounded">
539 <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
541 <xs:attribute name="name" type="xs:string" use="required"/>
542 <xs:attribute name="value" type="xs:string" use="required"/>
546 <xs:attribute name="id" type="xs:string" use="required"/>
547 <xs:attribute name="type" type="xs:string" use="optional"/>
548 <xs:attribute name="file" type="xs:string"/>
551 <xs:complexType name="reportWindow">
553 <xs:documentation>Generic type for windows containing mime-typed data associated with other jalview windows</xs:documentation>
557 <xs:attribute name="id" type="xs:string" use="required"/>
558 <xs:attribute name="type" type="xs:string" use="optional"/>
559 <xs:attribute name="file" type="xs:string" use="optional"/>
562 <xs:attributeGroup name="swingwindow">
565 base attributes for windows displayed in Jalview desktop.
568 <xs:attribute name="width" type="xs:int"/>
569 <xs:attribute name="height" type="xs:int"/>
570 <xs:attribute name="xpos" type="xs:int"/>
571 <xs:attribute name="ypos" type="xs:int"/>
573 <xs:complexType name="AnnotationColourScheme">
574 <xs:attribute name="aboveThreshold" type="xs:int" />
575 <xs:attribute name="annotation" type="xs:string" />
576 <xs:attribute name="minColour" type="xs:int" />
577 <xs:attribute name="maxColour" type="xs:int" />
578 <xs:attribute name="colourScheme" type="xs:string" />
579 <xs:attribute name="threshold" type="xs:float" />
580 <xs:attribute name="perSequence" type="xs:boolean" use="optional" />
581 <xs:attribute name="predefinedColours" type="xs:boolean"