A Sequence is a specific resource that extends the following information:

1. Type of sequence (DNA, RNA, or amino acid sequence)
2. Content is a sequence read
3. Quality scores for the sequence

Sequence.png


Resource Profile:
<Sequence>
  <patient><!--1..1 Resource(Patient) Owner of the sequence--></patient>
    <type value="[code]"/><!--1..1 Type of sequence: DNA|RNA|AA(amino acid) -->
    <read value="string"/><!--1..1 Read of the sequence-->
    <coordinate><!--0..1 Region of the genome from which the sequence is mapped-->
        <chromosome value="[string]"/><!--1..1 Chromosome-->
        <start value="[integer]"/><!--1..1 Start postion-->
        <end value="[integer]"/><!--1..1 End position-->
    </coordinate>
    <quality value="[float]"/><!--0..1 Score on the sequence-->
    <quantity value="[float]"/><!--0..1 Log 2 of the measured quantity of the sequence-->
    <lab><!--0..1 Resource(Lab) Lab from which this sequence is gotten-->
</Sequence>

EXAMPLE IN: XML JSON
XML
<Sequence>
    <patient><!-- 1..1 Resource(Patient) Owner of the variant--></patient>
    <type value="DNA"/>
    <read value="C"/>
    <coordinate>
        <chromosome value="12"/>
        <start value="2346"/>
        <end value="2347"/>
    </coordinate>
    <quality value="10"/>
    <quantity value="6"/>
    <lab>
        <type value="Lab"/>
        <url value="../lab/@123"/>
    </lab>
</Sequence>


JSON
{
    "text": {
        "status": {
            "value": "generated"
        },
        "div": "<div xmlns='http://www.w3.org/1999/xhtml'>Sequence from region chr12:2346-2347 of Rachel Peregrin</div>"
    },
    "patient": {
        "type": {
            "value": "Patient"
        },
        "uri": {
            "value": "../patient/@123"
        },
        "display": {
            "value": "Rachel Peregrin"
        }
    },
    "type": {
        "value": "DNA"
    },
    "read": {
        "value": "C"
    },
    "coordinate": {
        "chromosome": {
            "value": "12"
        },
        "start": {
            "value": 2346
        },
        "end": {
            "value": 2347
        }
    },
    "quality": {
            "value": 10
    },
    "quantity": {
            "value": 6
    }
    "lab": {
        "type": {
            "value": "lab"
        },
        "uri": {
            "value": "../lab/@123"
        }
    }
}