reference-sequence

A sequence reference for the consensus sequence blocks included in the 
            HML document, associated with a reference-database.

            The reference-sequence id must be document-unique and is referenced 
            by consensus-sequence-block elements via the required 
            reference-sequence-id attribute.
            
            Examples:Attribute:
---------  
- id:           (required) Unique reference for this 
                database/sequence combination which is referred to
                in each consensus-sequence-block.
                *Note: XML 'ID' type must begin with a non-symbol,
                non-digit, alphabetic character.
- name:
- description:  (optional) Description of this database reference.
- start:        (required) Start position of a targeted region on contig,
                  0-based or space-counted coordinate system, closed-open range
- end:          (required) End position of a targeted region on contig,
                  0-based or space-counted coordinate system, closed-open range
- accession:    (optional)
- strand:       (optional) String value (eg. one of "-1", "1", "-", "+");
                   defaults to "+" if unspecified
- uri:          External reference for this database.

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
accession restriction of xs:string optional
description restriction of xs:string optional
end position-type optional
id xs:ID required
name restriction of xs:string optional
start position-type optional
strand restriction of xs:string optional
uri xs:anyURI optional

Source

<xs:element name="reference-sequence" minOccurs="1" maxOccurs="unbounded">
  <xs:annotation>
    <xs:documentation>A sequence reference for the consensus sequence blocks included in the HML document, associated with a reference-database. The reference-sequence id must be document-unique and is referenced by consensus-sequence-block elements via the required reference-sequence-id attribute. Examples:
      <!-- 
            Genome Reference Consortium:
              <reference-database ... >
                  <reference-sequence id="ref1"
                                  name="HSCHR6_MHC_MCF_CTG1" 
                                  start="0"
                                  end="4827813"
                                  accession="GL000254.2"
                                  uri="http://www.ncbi.nlm.nih.gov/nuccore/GL000254.2" />
                  <reference-sequence id="2" ... />
              </reference-daatabase>

            IMGT/HLA:
              <reference-database ... >
                  <reference-sequence id="ref3"
                                  name="HLA-A*01:01:01:01"
                                  start="0"
                                  end="3053"
                                  accession="HLA00001"
                                  uri="http://www.ebi.ac.uk/Tools/dbfetch/dbfetch?db=imgthla;id=HLA00001" />
                  <reference-sequence id="4" ... />
              </reference-daatabase>

            No database reference:
              <reference-database availability="none">
                  <reference-sequence id="ref0"/>
              </reference-database>
            -->Attribute: --------- - id: (required) Unique reference for this database/sequence combination which is referred to in each consensus-sequence-block. *Note: XML 'ID' type must begin with a non-symbol, non-digit, alphabetic character. - name: - description: (optional) Description of this database reference. - start: (required) Start position of a targeted region on contig, 0-based or space-counted coordinate system, closed-open range - end: (required) End position of a targeted region on contig, 0-based or space-counted coordinate system, closed-open range - accession: (optional) - strand: (optional) String value (eg. one of "-1", "1", "-", "+"); defaults to "+" if unspecified - uri: External reference for this database.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute name="id" type="xs:ID" use="required"/>
    <xs:attribute name="name" use="optional">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="description" use="optional">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="start" type="hmlns:position-type" use="optional"/>
    <xs:attribute name="end" type="hmlns:position-type" use="optional"/>
    <xs:attribute name="accession" use="optional">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:minLength value="1"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="strand" use="optional">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="-1"/>
          <xs:enumeration value="1"/>
          <xs:enumeration value="+"/>
          <xs:enumeration value="-"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="uri" type="xs:anyURI" use="optional"/>
  </xs:complexType>
</xs:element>

Sample