1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3 * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of
4 Jalview. * * Jalview is free software: you can redistribute it and/or * modify
5 it under the terms of the GNU General Public License * as published by the
6 Free Software Foundation, either version 3 of the License, or (at your option)
7 any later version. * * Jalview is distributed in the hope that it will be
8 useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General
10 Public License for more details. * * You should have received a copy of the
11 GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.
12 * The Jalview Authors are detailed in the 'AUTHORS' file. -->
14 Java JAXB binding classes are generated by running command line tool xjc:
15 xjc schemas/jalview.xsd -d src -p jalview.xml.binding.jalview
16 Note this also generates code for included schemas
18 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
19 xmlns:vamsas="www.vamsas.ac.uk/jalview/version2" xmlns:jalview="www.jalview.org/colours"
20 xmlns:jv="www.jalview.org" xmlns:jvws="www.jalview.org/xml/wsparamset"
21 targetNamespace="www.jalview.org" elementFormDefault="qualified"
22 attributeFormDefault="unqualified">
23 <xs:import namespace="www.vamsas.ac.uk/jalview/version2"
24 schemaLocation="vamsas.xsd" />
25 <xs:import namespace="www.jalview.org/colours"
26 schemaLocation="JalviewUserColours.xsd" />
27 <xs:import namespace="www.jalview.org/xml/wsparamset"
28 schemaLocation="JalviewWsParamSet.xsd" />
29 <xs:element name="JalviewModel" type="jv:JalviewModel" />
30 <xs:complexType name="JalviewModel">
32 <xs:element name="creationDate" type="xs:dateTime" />
33 <xs:element name="version" type="xs:string" />
34 <xs:element name="vamsasModel" type="vamsas:VAMSAS" />
36 <xs:element name="JSeq" maxOccurs="unbounded" minOccurs="0">
39 <xs:element name="features" type="jv:feature"
40 minOccurs="0" maxOccurs="unbounded" />
41 <xs:element name="pdbids" minOccurs="0" maxOccurs="unbounded">
44 <xs:extension base="jv:pdbentry">
46 <xs:element name="structureState" minOccurs="0"
47 maxOccurs="unbounded">
50 <xs:extension base="xs:string">
51 <xs:attributeGroup ref="jv:swingwindow" />
52 <xs:attribute name="visible" type="xs:boolean" />
53 <xs:attribute name="viewId" type="xs:string"
113 <xs:attribute name="alignwithAlignPanel"
114 type="xs:boolean" use="optional" default="true">
143 <xs:attribute name="colourwithAlignPanel"
144 type="xs:boolean" use="optional" default="false">
175 <xs:attribute name="colourByJmol" type="xs:boolean"
176 use="optional" default="true">
203 <xs:attribute name="type" type="xs:string"
231 <xs:element name="hiddenSequences" type="xs:int"
232 minOccurs="0" maxOccurs="unbounded" />
233 <xs:element name="rnaViewer" minOccurs="0" maxOccurs="unbounded">
235 <xs:documentation>Reference to a viewer showing RNA structure
236 for this sequence. Schema supports one viewer showing multiple
237 annotations for multiple sequences, though currently only one
238 annotation for one sequence (gapped or trimmed) is used
243 <xs:element name="secondaryStructure" minOccurs="1"
244 maxOccurs="unbounded">
246 <xs:attribute name="title" type="xs:string" />
247 <xs:attribute name="annotationId" type="xs:string"
250 <xs:documentation>id attribute of Annotation in
252 the secondary structure annotation shown
257 <xs:attribute name="gapped" type="xs:boolean">
259 <xs:documentation>if true the RNA structure is shown with gaps, if false without
263 <xs:attribute name="viewerState" type="xs:string">
265 <xs:documentation>name of the project jar entry that holds
266 the VARNA viewer state for the structure
273 <xs:attributeGroup ref="jv:swingwindow" />
274 <xs:attribute name="title" type="xs:string" />
275 <xs:attribute name="viewId" type="xs:string">
277 <xs:documentation>An id unique to the RNA viewer panel
281 <xs:attribute name="dividerLocation" type="xs:int">
283 <xs:documentation>horizontal position of split pane divider
287 <xs:attribute name="selectedRna" type="xs:int">
289 <xs:documentation>Index of the selected structure in the
297 <xs:attribute name="colour" type="xs:int" use="optional" />
298 <xs:attribute name="start" type="xs:int" use="required" />
299 <xs:attribute name="end" type="xs:int" use="required" />
300 <xs:attribute name="id" type="xs:string" use="required" />
301 <xs:attribute name="hidden" type="xs:boolean" />
302 <xs:attribute name="viewreference" type="xs:boolean" use="optional"/>
305 <xs:element name="JGroup" minOccurs="0" maxOccurs="unbounded">
308 <xs:element name="seq" type="xs:string" maxOccurs="unbounded" />
309 <xs:element name="annotationColours" type="jv:AnnotationColourScheme"
310 minOccurs="0" maxOccurs="1" />
312 <xs:attribute name="start" type="xs:int" />
313 <xs:attribute name="end" type="xs:int" />
314 <xs:attribute name="name" type="xs:string" />
315 <xs:attribute name="colour" type="xs:string" />
316 <xs:attribute name="consThreshold" type="xs:int" />
317 <xs:attribute name="pidThreshold" type="xs:int" />
318 <xs:attribute name="outlineColour" type="xs:int" />
319 <xs:attribute name="displayBoxes" type="xs:boolean" />
320 <xs:attribute name="displayText" type="xs:boolean" />
321 <xs:attribute name="colourText" type="xs:boolean" />
322 <xs:attribute name="textCol1" type="xs:int" />
323 <xs:attribute name="textCol2" type="xs:int" />
324 <xs:attribute name="textColThreshold" type="xs:int" />
325 <xs:attribute name="showUnconserved" type="xs:boolean"
327 <xs:attribute name="ignoreGapsinConsensus" type="xs:boolean"
328 use="optional" default="true" />
329 <xs:attribute name="showConsensusHistogram" type="xs:boolean"
330 use="optional" default="true" />
331 <xs:attribute name="showSequenceLogo" type="xs:boolean"
332 use="optional" default="false" />
333 <xs:attribute name="normaliseSequenceLogo" type="xs:boolean"
334 use="optional" default="false" />
335 <xs:attribute name="id" type="xs:string" use="optional">
338 Optional sequence group ID (only
347 <xs:element name="Viewport" maxOccurs="unbounded"
351 <xs:element name="AnnotationColours" type="jv:AnnotationColourScheme"
352 minOccurs="0" maxOccurs="1">
354 <xs:element name="hiddenColumns" minOccurs="0"
355 maxOccurs="unbounded">
357 <xs:attribute name="start" type="xs:int" />
358 <xs:attribute name="end" type="xs:int" />
361 <xs:element name="calcIdParam" minOccurs="0"
362 maxOccurs="unbounded">
365 <xs:extension base="jvws:WebServiceParameterSet">
366 <xs:attribute name="calcId" type="xs:string"
369 <xs:documentation>handle for the calculation which uses
374 <xs:attribute name="needsUpdate" type="xs:boolean"
375 use="optional" default="false">
377 <xs:documentation>should the calculation be performed
378 immediately after loading in order to refresh results
382 <xs:attribute name="autoUpdate" type="xs:boolean"
385 <xs:documentation>should the calculation be automatically
395 <xs:attributeGroup ref="jv:swingwindow" />
396 <xs:attribute name="conservationSelected" type="xs:boolean" />
397 <xs:attribute name="pidSelected" type="xs:boolean" />
398 <xs:attribute name="bgColour" type="xs:string" />
399 <xs:attribute name="consThreshold" type="xs:int" />
400 <xs:attribute name="pidThreshold" type="xs:int" />
401 <xs:attribute name="title" type="xs:string" />
402 <xs:attribute name="showFullId" type="xs:boolean" />
403 <xs:attribute name="rightAlignIds" type="xs:boolean" />
404 <xs:attribute name="showText" type="xs:boolean" />
405 <xs:attribute name="showColourText" type="xs:boolean" />
406 <xs:attribute name="showUnconserved" type="xs:boolean"
407 use="optional" default="false" />
408 <xs:attribute name="showBoxes" type="xs:boolean" />
409 <xs:attribute name="wrapAlignment" type="xs:boolean" />
410 <xs:attribute name="renderGaps" type="xs:boolean" />
411 <xs:attribute name="showSequenceFeatures" type="xs:boolean" />
412 <xs:attribute name="showNPfeatureTooltip" type="xs:boolean"
414 <xs:attribute name="showDbRefTooltip" type="xs:boolean"
416 <xs:attribute name="followHighlight" type="xs:boolean"
417 use="optional" default="true" />
418 <xs:attribute name="followSelection" type="xs:boolean"
419 use="optional" default="true" />
420 <xs:attribute name="showAnnotation" type="xs:boolean" />
421 <xs:attribute name="centreColumnLabels" type="xs:boolean"
422 use="optional" default="false" />
423 <xs:attribute name="showGroupConservation" type="xs:boolean"
424 use="optional" default="false" />
425 <xs:attribute name="showGroupConsensus" type="xs:boolean"
426 use="optional" default="false" />
427 <xs:attribute name="showConsensusHistogram" type="xs:boolean"
428 use="optional" default="true" />
429 <xs:attribute name="showSequenceLogo" type="xs:boolean"
430 use="optional" default="false" />
431 <xs:attribute name="normaliseSequenceLogo" type="xs:boolean"
432 use="optional" default="false" />
433 <xs:attribute name="ignoreGapsinConsensus" type="xs:boolean"
434 use="optional" default="true" />
435 <xs:attribute name="startRes" type="xs:int" />
436 <xs:attribute name="startSeq" type="xs:int" />
437 <xs:attribute name="fontName" type="xs:string" />
438 <xs:attribute name="fontSize" type="xs:int" />
439 <xs:attribute name="fontStyle" type="xs:int" />
440 <xs:attribute name="scaleProteinAsCdna" type="xs:boolean" use="optional" default="true" />
441 <xs:attribute name="viewName" type="xs:string" />
442 <xs:attribute name="sequenceSetId" type="xs:string" />
443 <xs:attribute name="gatheredViews" type="xs:boolean" />
444 <xs:attribute name="textCol1" type="xs:int" />
445 <xs:attribute name="textCol2" type="xs:int" />
446 <xs:attribute name="textColThreshold" type="xs:int" />
447 <xs:attribute name="id" type="xs:ID" use="optional">
450 unique id used by jalview to
457 <xs:attribute name="complementId" type="xs:string"
461 The viewport id of this viewport's
462 (cdna/protein) coding complement, if any
466 <xs:attribute name="showComplementFeatures" type="xs:boolean" use="optional" default="false" />
467 <xs:attribute name="showComplementFeaturesOnTop" type="xs:boolean" use="optional" default="false" />
470 <xs:element name="UserColours" minOccurs="0" maxOccurs="unbounded">
473 <xs:element name="UserColourScheme" type="jalview:JalviewUserColours" />
475 <xs:attribute name="id" type="xs:string" />
478 <xs:element name="tree" minOccurs="0" maxOccurs="unbounded">
480 <xs:sequence minOccurs="0">
481 <xs:element name="title" type="xs:string" />
482 <xs:element name="newick" type="xs:string" />
484 <xs:attribute name="fontName" type="xs:string" />
485 <xs:attribute name="fontSize" type="xs:int" />
486 <xs:attribute name="fontStyle" type="xs:int" />
487 <xs:attribute name="threshold" type="xs:float" />
488 <xs:attribute name="showBootstrap" type="xs:boolean" />
489 <xs:attribute name="showDistances" type="xs:boolean" />
490 <xs:attribute name="markUnlinked" type="xs:boolean" />
491 <xs:attribute name="fitToWindow" type="xs:boolean" />
492 <xs:attribute name="currentTree" type="xs:boolean" />
493 <xs:attribute name="id" type="xs:ID" use="optional">
496 Tree ID added for binding tree
499 document trees in jalview 2.4.1
503 <xs:attributeGroup ref="jv:swingwindow" />
504 <xs:attribute name="linkToAllViews" use="optional" default="false" type="xs:boolean" />
507 <xs:element name="PcaViewer" minOccurs="0" maxOccurs="unbounded">
510 <xs:element name="sequencePoint" minOccurs="1" maxOccurs="unbounded">
512 <xs:attribute name="sequenceRef" type="xs:string" />
513 <xs:attributeGroup ref="jv:position" />
516 <xs:element name="axis" minOccurs="3" maxOccurs="3">
519 endpoints of X, Y and Z axes in that order
523 <xs:attributeGroup ref="jv:position" />
526 <xs:element name="seqPointMin">
528 <xs:attributeGroup ref="jv:position" />
531 <xs:element name="seqPointMax">
533 <xs:attributeGroup ref="jv:position" />
536 <xs:element name="pcaData" type="jv:PcaDataType" />
538 <xs:attribute name="title" type="xs:string" />
539 <xs:attribute name="scoreModelName" type="xs:string" />
540 <xs:attribute name="xDim" type="xs:int" />
541 <xs:attribute name="yDim" type="xs:int" />
542 <xs:attribute name="zDim" type="xs:int" />
543 <xs:attribute name="bgColour" type="xs:int" />
544 <xs:attribute name="scaleFactor" type="xs:float" />
545 <xs:attribute name="showLabels" type="xs:boolean" />
546 <xs:attribute name="linkToAllViews" type="xs:boolean" />
547 <xs:attributeGroup ref="jv:SimilarityParams" />
548 <xs:attributeGroup ref="jv:swingwindow" />
551 <xs:element name="FeatureSettings" minOccurs="0">
554 <xs:element name="setting" minOccurs="0" maxOccurs="unbounded">
557 <xs:element name="attributeName" type="xs:string" minOccurs="0" maxOccurs="2">
559 <xs:documentation>name of feature attribute to colour by, or attribute and sub-attribute</xs:documentation>
562 <xs:element name="matcherSet" minOccurs="0" type="jalview:FeatureMatcherSet">
564 <xs:documentation>optional filter(s) applied to the feature type</xs:documentation>
568 <xs:attribute name="type" type="xs:string" use="required" />
569 <xs:attribute name="colour" type="xs:int" use="required" />
570 <xs:attribute name="display" type="xs:boolean"
572 <xs:attribute name="order" type="xs:float" use="optional" />
573 <xs:attribute name="mincolour" type="xs:int" use="optional">
576 Optional minimum colour
583 <xs:attribute name="noValueColour" use="optional" type="jalview:NoValueColour" default="Min" />
584 <xs:attribute name="threshold" type="xs:float"
589 graduated feature colour
593 <xs:attribute name="threshstate" type="xs:int"
598 graduated feature colour
602 <xs:attribute name="max" type="xs:float" use="optional" />
603 <xs:attribute name="min" type="xs:float" use="optional" />
604 <xs:attribute name="colourByLabel" type="xs:boolean"
606 <xs:attribute name="autoScale" type="xs:boolean"
610 <xs:element name="group" minOccurs="0" maxOccurs="unbounded">
612 <xs:attribute name="name" type="xs:string" use="required" />
613 <xs:attribute name="display" type="xs:boolean"
623 <xs:complexType name="feature">
625 <xs:element name="otherData" minOccurs="0" maxOccurs="unbounded">
627 <xs:attribute name="key" type="xs:string" use="required" />
628 <xs:attribute name="key2" type="xs:string" use="optional">
630 <xs:documentation>key2 may be used for a sub-attribute of key</xs:documentation>
633 <xs:attribute name="value" type="xs:string" use="required" />
637 <xs:attribute name="begin" type="xs:int" use="required" />
638 <xs:attribute name="end" type="xs:int" use="required" />
639 <xs:attribute name="type" type="xs:string" use="required" />
640 <xs:attribute name="description" type="xs:string" use="optional" />
641 <xs:attribute name="status" type="xs:string" use="optional" />
642 <xs:attribute name="featureGroup" type="xs:string" use="optional" />
643 <xs:attribute name="score" type="xs:float" use="optional" />
645 <xs:complexType name="pdbentry">
646 <xs:sequence minOccurs="0" maxOccurs="unbounded">
647 <xs:element name="property" minOccurs="0" maxOccurs="unbounded">
649 <xs:attribute name="name" type="xs:string" use="required" />
650 <xs:attribute name="value" type="xs:string" use="required" />
654 <xs:attribute name="id" type="xs:string" use="required" />
655 <xs:attribute name="type" type="xs:string" use="optional" />
656 <xs:attribute name="file" type="xs:string" />
658 <!-- <xs:complexType name="reportWindow"> <xs:annotation> <xs:documentation>Generic
659 type for windows containing mime-typed data associated with other jalview
660 windows</xs:documentation> </xs:annotation> <xs:sequence> </xs:sequence>
661 <xs:attribute name="id" type="xs:string" use="required"/> <xs:attribute name="type"
662 type="xs:string" use="optional"/> <xs:attribute name="file" type="xs:string"
663 use="optional"/> </xs:complexType> -->
664 <xs:attributeGroup name="swingwindow">
667 base attributes for windows displayed in Jalview
671 <xs:attribute name="width" type="xs:int" />
672 <xs:attribute name="height" type="xs:int" />
673 <xs:attribute name="xpos" type="xs:int" />
674 <xs:attribute name="ypos" type="xs:int" />
676 <xs:complexType name="AnnotationColourScheme">
677 <xs:attribute name="aboveThreshold" type="xs:int" />
678 <xs:attribute name="annotation" type="xs:string" />
679 <xs:attribute name="minColour" type="xs:int" />
680 <xs:attribute name="maxColour" type="xs:int" />
681 <xs:attribute name="colourScheme" type="xs:string" />
682 <xs:attribute name="threshold" type="xs:float" />
683 <xs:attribute name="perSequence" type="xs:boolean" use="optional" />
684 <xs:attribute name="predefinedColours" type="xs:boolean"
687 <xs:attributeGroup name="SimilarityParams">
690 parameters that condition a similarity score calculation
693 <xs:attribute name="includeGaps" type="xs:boolean" />
694 <xs:attribute name="matchGaps" type="xs:boolean" />
695 <xs:attribute name="includeGappedColumns" type="xs:boolean" />
696 <xs:attribute name="denominateByShortestLength" type="xs:boolean" />
698 <xs:attributeGroup name="position">
699 <xs:attribute name="xPos" type="xs:float" />
700 <xs:attribute name="yPos" type="xs:float" />
701 <xs:attribute name="zPos" type="xs:float" />
703 <xs:complexType name="PcaDataType">
706 The results of a PCA calculation
710 <xs:element name="pairwiseMatrix" type="jv:DoubleMatrix" />
711 <xs:element name="tridiagonalMatrix" type="jv:DoubleMatrix" />
712 <xs:element name="eigenMatrix" type="jv:DoubleMatrix" />
715 <xs:complexType name="DoubleVector">
717 <xs:element name="v" type="xs:double" minOccurs="0" maxOccurs="unbounded" />
720 <xs:complexType name="DoubleMatrix">
722 <xs:element name="row" type="jv:DoubleVector" minOccurs="0" maxOccurs="unbounded" />
723 <xs:element name="D" minOccurs="0" type="jv:DoubleVector" />
724 <xs:element name="E" minOccurs="0" type="jv:DoubleVector" />
726 <xs:attribute name="rows" type="xs:int" />
727 <xs:attribute name="columns" type="xs:int" />