Skip to content
Snippets Groups Projects
Commit b0cc4273 authored by rds's avatar rds
Browse files

added align, block, sets and add_style action

parent 437b6fe8
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,7 @@
</xsd:documentation>
</xsd:annotation>
<!-- Annoymous type for the root element -->
<xsd:element name="zmap">
<xsd:complexType>
......@@ -18,13 +19,14 @@
<xsd:group ref="FeaturesAndOrListsOf" />
<xsd:element name="location" type="LocationType" />
<xsd:element name="client" type="ClientInfoType" />
<xsd:element name="style" type="StyleType" />
</xsd:choice>
</xsd:complexType>
</xsd:element>
<!-- Group to allow top level to have multiple features AND feature elements
N.B. features elements have 1 or more feature elements!
N.B. featureset elements have 1 or more feature elements!
-->
<xsd:group id="FeaturesAndOrListsOf">
<xsd:element name="featureset" type="FeatureListType" minOccurs="0" maxOccurs="unbounded" />
......@@ -34,7 +36,7 @@
<!-- The feature type -->
<xsd:complexType name="FeatureType">
<xsd:attribute name="name" type="xsd:string" /> <!-- b0250.1 -->
<xsd:attribute name="style" type="xsd:string" /> <!-- fgenesh -->
<xsd:attribute name="style" type="xsd:string" /> <!-- stylename -->
<xsd:attribute name="start" type="xsd:decimal" /> <!-- 102532 -->
<xsd:attribute name="end" type="xsd:decimal" /> <!-- 102600 -->
<xsd:attribute name="strand" type="strandType" /> <!-- +, -, . -->
......@@ -43,9 +45,8 @@
<!-- This is flattened to avoid recursion as there
doesn't seem to be a way to limit the depth.
Also there's no need for suid
N.B. THIS IS NOT LIKE A MODIFICATION e.g. phosphorylation
-->
<xsd:element name="alteration" minOccurs="0" maxOccurs="1">
<xsd:element name="edit" minOccurs="0" maxOccurs="1">
<xsd:complexType>
<xsd:attribute name="name" type="xsd:string" /> <!-- b0250.1 -->
<xsd:attribute name="style" type="xsd:string" /> <!-- fgenesh -->
......@@ -61,8 +62,11 @@
This should also be extensible to group homologies... (although VERY verbosely)
-->
<xsd:complexType name="FeatureListType">
<xsd:attribute name="suid" type="xsd:string" /> <!-- session unique id -->
<xsd:element name="features" type="FeatureType" minOccurs="1" maxOccurs="unbounded" />
<xsd:attribute name="suid" type="xsd:string" /> <!-- session unique id -->
<xsd:attribute name="align" type="xsd:string" /> <!-- align id where the feature is -->
<xsd:attribute name="block" type="xsd:string" /> <!-- block id where the feature is -->
<xsd:attribute name="set" type="xsd:string" /> <!-- column name in which to display -->
<xsd:element name="features" type="FeatureType" minOccurs="1" maxOccurs="unbounded" />
</xsd:complexType>
<!-- A location element with just a start and end -->
......@@ -106,6 +110,9 @@
<xsd:enumeration value="highlight_feature" />
<xsd:enumeration value="unhighlight_feature" />
<!-- takes a style construct -->
<xsd:enumeration value="add_style" />
<!-- takes a client construct -->
<xsd:enumeration value="create_client" />
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment