- <xs:complexType name="mapList">
- <xs:attribute name="from" type="xs:integer" use="optional" default="0">
- <xs:annotation>
- <xs:documentation> Offset to first position in dataset sequence record that start
- position on 'onto' maps to </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="to" type="xs:integer" use="optional" default="0">
- <xs:annotation>
- <xs:documentation> Offset to last position in dataset sequence record that end
- position on 'onto' maps to </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="start" type="xs:integer" use="required">
- <xs:annotation>
- <xs:documentation> Offset to first position in database entry that first (or offset)
- position in sequence maps to </xs:documentation>
- </xs:annotation>
- </xs:attribute>
- <xs:attribute name="end" type="xs:integer" use="required">
- <xs:annotation>
- <xs:documentation> Offset to last position in database entry that last (offset)
- position in sequence maps to </xs:documentation>
- </xs:annotation>
- </xs:attribute>
+ <xs:complexType name="mapType">
+ <xs:annotation>
+ <xs:documentation> Two sets of ranges defined between objects - usually sequences, indicating which
+ regions on each are mapped. </xs:documentation>
+ </xs:annotation>
+ <xs:sequence>
+ <xs:element name="local" type="vamsas:mapRangeType">
+ <xs:annotation>
+ <xs:documentation>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ <xs:element name="mapped" type="vamsas:mapRangeType">
+ <xs:annotation>
+ <xs:documentation>
+
+ </xs:documentation>
+ </xs:annotation>
+ </xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="mapRangeType">
+ <xs:complexContent>
+ <xs:extension base="vamsas:rangeType">
+ <xs:attribute name="unit" type="xs:positiveInteger" use="optional">
+ <xs:annotation>
+ <xs:documentation> number of dictionary symbol widths involved in each
+ mapped position on this sequence (for example, 3 for a dna sequence exon
+ region that is being mapped to a protein sequence). This is optional,
+ since the unit can be usually be inferred from the dictionary type of
+ each sequence involved in the mapping. </xs:documentation>
+ </xs:annotation>
+ </xs:attribute>
+ </xs:extension>
+ </xs:complexContent>