1 <?xml version="1.0" encoding="UTF-8"?>
3 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1)
4 * Copyright (C) 2014 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">
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"
216 <xs:element name="hiddenSequences"
217 type="xs:int" minOccurs="0" maxOccurs="unbounded" />
219 <xs:attribute name="colour" type="xs:int"
221 <xs:attribute name="start" type="xs:int"
223 <xs:attribute name="end" type="xs:int"
225 <xs:attribute name="id" type="xs:string"
227 <xs:attribute name="hidden" type="xs:boolean" />
230 <xs:element name="JGroup" minOccurs="0"
231 maxOccurs="unbounded">
234 <xs:element name="seq" type="xs:string"
235 maxOccurs="unbounded" />
237 <xs:attribute name="start" type="xs:int" />
238 <xs:attribute name="end" type="xs:int" />
239 <xs:attribute name="name" type="xs:string" />
240 <xs:attribute name="colour" type="xs:string" />
241 <xs:attribute name="consThreshold"
243 <xs:attribute name="pidThreshold" type="xs:int" />
244 <xs:attribute name="outlineColour"
246 <xs:attribute name="displayBoxes"
248 <xs:attribute name="displayText"
250 <xs:attribute name="colourText"
252 <xs:attribute name="textCol1" type="xs:int" />
253 <xs:attribute name="textCol2" type="xs:int" />
254 <xs:attribute name="textColThreshold"
256 <xs:attribute name="showUnconserved"
257 type="xs:boolean" use="optional" />
258 <xs:attribute name="ignoreGapsinConsensus"
259 type="xs:boolean" use="optional" default="true" />
260 <xs:attribute name="showConsensusHistogram"
261 type="xs:boolean" use="optional" default="true" />
262 <xs:attribute name="showSequenceLogo"
263 type="xs:boolean" use="optional" default="false" />
264 <xs:attribute name="normaliseSequenceLogo"
265 type="xs:boolean" use="optional" default="false" />
266 <xs:attribute name="id" type="xs:string"
270 Optional sequence group ID (only
271 needs to be unique for this
278 <xs:element name="Viewport" maxOccurs="unbounded">
281 <xs:element name="AnnotationColours"
284 <xs:attribute name="aboveThreshold"
286 <xs:attribute name="annotation"
288 <xs:attribute name="minColour"
290 <xs:attribute name="maxColour"
292 <xs:attribute name="colourScheme"
294 <xs:attribute name="threshold"
298 <xs:element name="hiddenColumns"
299 minOccurs="0" maxOccurs="unbounded">
301 <xs:attribute name="start"
303 <xs:attribute name="end"
307 <xs:element name="calcIdParam"
309 minOccurs="0" maxOccurs="unbounded">
312 <xs:extension base="jvws:WebServiceParameterSet">
313 <xs:attribute name="calcId" type="xs:string" use="required">
315 <xs:documentation>handle for the calculation which uses this parameter set</xs:documentation></xs:annotation>
317 <xs:attribute name="needsUpdate" type="xs:boolean" use="optional" default="false">
318 <xs:annotation><xs:documentation>should the calculation be performed immediately after loading in order to refresh results</xs:documentation></xs:annotation>
320 <xs:attribute name="autoUpdate" type="xs:boolean" use="required">
321 <xs:annotation><xs:documentation>should the calculation be automatically performed on edits</xs:documentation></xs:annotation>
328 <xs:attributeGroup ref="jv:swingwindow" />
329 <xs:attribute name="conservationSelected"
331 <xs:attribute name="pidSelected"
333 <xs:attribute name="bgColour" type="xs:string" />
334 <xs:attribute name="consThreshold"
336 <xs:attribute name="pidThreshold" type="xs:int" />
337 <xs:attribute name="title" type="xs:string" />
338 <xs:attribute name="showFullId"
340 <xs:attribute name="rightAlignIds"
342 <xs:attribute name="showText" type="xs:boolean" />
343 <xs:attribute name="showColourText"
345 <xs:attribute name="showUnconserved"
346 type="xs:boolean" use="optional" default="false" />
347 <xs:attribute name="showBoxes"
349 <xs:attribute name="wrapAlignment"
351 <xs:attribute name="renderGaps"
353 <xs:attribute name="showSequenceFeatures"
355 <xs:attribute name="showNPfeatureTooltip"
356 type="xs:boolean" use="optional" />
357 <xs:attribute name="showDbRefTooltip"
358 type="xs:boolean" use="optional" />
359 <xs:attribute name="followHighlight"
360 type="xs:boolean" use="optional" default="true" />
361 <xs:attribute name="followSelection"
362 type="xs:boolean" use="optional" default="true" />
363 <xs:attribute name="showAnnotation"
365 <xs:attribute name="centreColumnLabels"
366 type="xs:boolean" use="optional" default="false" />
367 <xs:attribute name="showGroupConservation"
368 type="xs:boolean" use="optional" default="false" />
369 <xs:attribute name="showGroupConsensus"
370 type="xs:boolean" use="optional" default="false" />
371 <xs:attribute name="showConsensusHistogram"
372 type="xs:boolean" use="optional" default="true" />
373 <xs:attribute name="showSequenceLogo"
374 type="xs:boolean" use="optional" default="false" />
375 <xs:attribute name="normaliseSequenceLogo"
376 type="xs:boolean" use="optional" default="false" />
377 <xs:attribute name="ignoreGapsinConsensus"
378 type="xs:boolean" use="optional" default="true" />
380 <xs:attribute name="startRes" type="xs:int" />
381 <xs:attribute name="startSeq" type="xs:int" />
382 <xs:attribute name="fontName" type="xs:string" />
383 <xs:attribute name="fontSize" type="xs:int" />
384 <xs:attribute name="fontStyle" type="xs:int" />
385 <xs:attribute name="viewName" type="xs:string" />
386 <xs:attribute name="sequenceSetId"
388 <xs:attribute name="gatheredViews"
390 <xs:attribute name="textCol1" type="xs:int" />
391 <xs:attribute name="textCol2" type="xs:int" />
392 <xs:attribute name="textColThreshold"
394 <xs:attribute name="id" type="xs:ID"
398 unique id used by jalview to
399 synchronize between stored and
406 <xs:element name="UserColours" minOccurs="0"
407 maxOccurs="unbounded">
410 <xs:element name="UserColourScheme"
411 type="jalview:JalviewUserColours" />
413 <xs:attribute name="id" type="xs:string" />
416 <xs:element name="tree" minOccurs="0"
417 maxOccurs="unbounded">
419 <xs:sequence minOccurs="0">
420 <xs:element name="title" type="xs:string" />
421 <xs:element name="newick" type="xs:string" />
423 <xs:attribute name="fontName" type="xs:string" />
424 <xs:attribute name="fontSize" type="xs:int" />
425 <xs:attribute name="fontStyle" type="xs:int" />
426 <xs:attribute name="threshold" type="xs:float" />
427 <xs:attribute name="showBootstrap"
429 <xs:attribute name="showDistances"
431 <xs:attribute name="markUnlinked"
433 <xs:attribute name="fitToWindow"
435 <xs:attribute name="currentTree"
437 <xs:attribute name="id" type="xs:ID"
441 Tree ID added for binding tree
442 visualization settings to vamsas
443 document trees in jalview 2.4.1
447 <xs:attributeGroup ref="jv:swingwindow" />
450 <xs:element name="FeatureSettings" minOccurs="0">
453 <xs:element name="setting" minOccurs="0"
454 maxOccurs="unbounded">
456 <xs:attribute name="type"
457 type="xs:string" use="required" />
458 <xs:attribute name="colour"
459 type="xs:int" use="required" />
460 <xs:attribute name="display"
461 type="xs:boolean" use="required" />
462 <xs:attribute name="order"
463 type="xs:float" use="optional" />
464 <xs:attribute name="mincolour"
465 type="xs:int" use="optional">
468 Optional minimum colour
469 for graduated feature
474 <xs:attribute name="threshold"
475 type="xs:float" use="optional">
479 graduated feature colour
483 <xs:attribute name="threshstate"
484 type="xs:int" use="optional">
488 graduated feature colour
492 <xs:attribute name="max"
493 type="xs:float" use="optional" />
494 <xs:attribute name="min"
495 type="xs:float" use="optional" />
496 <xs:attribute name="colourByLabel"
497 type="xs:boolean" use="optional" />
498 <xs:attribute name="autoScale"
499 type="xs:boolean" use="optional" />
502 <xs:element name="group" minOccurs="0"
503 maxOccurs="unbounded">
505 <xs:attribute name="name"
506 type="xs:string" use="required" />
507 <xs:attribute name="display"
508 type="xs:boolean" use="required" />
517 <xs:complexType name="feature">
519 <xs:element name="otherData" minOccurs="0" maxOccurs="unbounded">
521 <xs:attribute name="key" type="xs:string" use="required"/>
522 <xs:attribute name="value" type="xs:string" use="required"/>
526 <xs:attribute name="begin" type="xs:int" use="required"/>
527 <xs:attribute name="end" type="xs:int" use="required"/>
528 <xs:attribute name="type" type="xs:string" use="required"/>
529 <xs:attribute name="description" type="xs:string" use="optional"/>
530 <xs:attribute name="status" type="xs:string" use="optional"/>
531 <xs:attribute name="featureGroup" type="xs:string" use="optional"/>
532 <xs:attribute name="score" type="xs:float" use="optional"/>
534 <xs:complexType name="pdbentry">
535 <xs:sequence minOccurs="0" maxOccurs="unbounded">
536 <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
538 <xs:attribute name="name" type="xs:string" use="required"/>
539 <xs:attribute name="value" type="xs:string" use="required"/>
543 <xs:attribute name="id" type="xs:string" use="required"/>
544 <xs:attribute name="type" type="xs:string" use="optional"/>
545 <xs:attribute name="file" type="xs:string"/>
548 <xs:complexType name="reportWindow">
550 <xs:documentation>Generic type for windows containing mime-typed data associated with other jalview windows</xs:documentation>
554 <xs:attribute name="id" type="xs:string" use="required"/>
555 <xs:attribute name="type" type="xs:string" use="optional"/>
556 <xs:attribute name="file" type="xs:string" use="optional"/>
559 <xs:attributeGroup name="swingwindow">
562 base attributes for windows displayed in Jalview desktop.
565 <xs:attribute name="width" type="xs:int"/>
566 <xs:attribute name="height" type="xs:int"/>
567 <xs:attribute name="xpos" type="xs:int"/>
568 <xs:attribute name="ypos" type="xs:int"/>