R4 Ballot #2 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.5.0: R4 Ballot #2). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4B R4 R3

Sequence-example-fda-vcfeval.ttl

Clinical Genomics Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification)

Sequence example for vcf and Hap.py comparison on precisionFDA

@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Sequence/fda-vcfeval-comparison> a fhir:Sequence;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "fda-vcfeval-comparison"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: fda-vcfeval-comparison</p><p><b>coordinateSystem</b>: 1</p><p><b>patient</b>: <a>Patient/example</a></p><h3>ReferenceSeqs</h3><table><tr><td>-</td><td><b>ReferenceSeqId</b></td><td><b>Strand</b></td><td><b>WindowStart</b></td><td><b>WindowEnd</b></td></tr><tr><td>*</td><td>NC_000001.11 <span>(Details : {http://www.ncbi.nlm.nih.gov/nuccore code 'NC_000001.11' = 'NC_000001.11)</span></td><td>watson</td><td>10453</td><td>101770080</td></tr></table><h3>Variants</h3><table><tr><td>-</td><td><b>Start</b></td><td><b>End</b></td><td><b>ObservedAllele</b></td><td><b>ReferenceAllele</b></td></tr><tr><td>*</td><td>13116</td><td>13117</td><td>T</td><td>G</td></tr></table><blockquote><p><b>quality</b></p><p><b>type</b>: indel</p><p><b>standardSequence</b>: file-BkZxBZ00bpJVk2q6x43b1YBx <span>(Details : {https://precision.fda.gov/files/ code 'file-BkZxBZ00bpJVk2q6x43b1YBx' = 'file-BkZxBZ00bpJVk2q6x43b1YBx)</span></p><p><b>start</b>: 10453</p><p><b>end</b>: 101770080</p><p><b>method</b>: Vcfeval + Hap.py Comparison <span>(Details : {https://precision.fda.gov/apps/ code 'app-BxfGF8j02pBZzZxbzZxP725P' = 'app-BxfGF8j02pBZzZxbzZxP725P)</span></p><p><b>truthTP</b>: 7749</p><p><b>truthFN</b>: 2554</p><p><b>queryFP</b>: 10670</p><p><b>gtFP</b>: 2186</p><p><b>precision</b>: 0.428005</p><p><b>recall</b>: 0.752111</p></blockquote><blockquote><p><b>quality</b></p><p><b>type</b>: snp</p><p><b>standardSequence</b>: file-BkZxBZ00bpJVk2q6x43b1YBx <span>(Details : {https://precision.fda.gov/files/ code 'file-BkZxBZ00bpJVk2q6x43b1YBx' = 'file-BkZxBZ00bpJVk2q6x43b1YBx)</span></p><p><b>start</b>: 10453</p><p><b>end</b>: 101770080</p><p><b>method</b>: Vcfeval + Hap.py Comparison <span>(Details : {https://precision.fda.gov/apps/ code 'app-BxfGF8j02pBZzZxbzZxP725P' = 'app-BxfGF8j02pBZzZxbzZxP725P)</span></p><p><b>truthTP</b>: 92106</p><p><b>truthFN</b>: 1247</p><p><b>queryFP</b>: 21744</p><p><b>gtFP</b>: 493</p><p><b>precision</b>: 0.808602</p><p><b>recall</b>: 0.986642</p></blockquote><h3>Repositories</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Url</b></td><td><b>Name</b></td></tr><tr><td>*</td><td>login</td><td><a>https://precision.fda.gov/jobs/job-ByxYPx809jFVy21KJG74Jg3Y</a></td><td>FDA</td></tr></table></div>"
  ];
  fhir:Sequence.coordinateSystem [ fhir:value "1"^^xsd:integer];
  fhir:Sequence.patient [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:Sequence.referenceSeq [
     fhir:Sequence.referenceSeq.referenceSeqId [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.ncbi.nlm.nih.gov/nuccore" ];
         fhir:Coding.code [ fhir:value "NC_000001.11" ]
       ]
     ];
     fhir:Sequence.referenceSeq.strand [ fhir:value "watson" ];
     fhir:Sequence.referenceSeq.windowStart [ fhir:value "10453"^^xsd:integer ];
     fhir:Sequence.referenceSeq.windowEnd [ fhir:value "101770080"^^xsd:integer ]
  ];
  fhir:Sequence.variant [
     fhir:index 0;
     fhir:Sequence.variant.start [ fhir:value "13116"^^xsd:integer ];
     fhir:Sequence.variant.end [ fhir:value "13117"^^xsd:integer ];
     fhir:Sequence.variant.observedAllele [ fhir:value "T" ];
     fhir:Sequence.variant.referenceAllele [ fhir:value "G" ]
  ];
  fhir:Sequence.quality [
     fhir:index 0;
     fhir:Sequence.quality.type [ fhir:value "indel" ];
     fhir:Sequence.quality.standardSequence [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://precision.fda.gov/files/" ];
         fhir:Coding.code [ fhir:value "file-BkZxBZ00bpJVk2q6x43b1YBx" ]
       ]
     ];
     fhir:Sequence.quality.start [ fhir:value "10453"^^xsd:integer ];
     fhir:Sequence.quality.end [ fhir:value "101770080"^^xsd:integer ];
     fhir:Sequence.quality.method [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://precision.fda.gov/apps/" ];
         fhir:Coding.code [ fhir:value "app-BxfGF8j02pBZzZxbzZxP725P" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Vcfeval + Hap.py Comparison" ]
     ];
     fhir:Sequence.quality.truthTP [ fhir:value "7749"^^xsd:decimal ];
     fhir:Sequence.quality.truthFN [ fhir:value "2554"^^xsd:decimal ];
     fhir:Sequence.quality.queryFP [ fhir:value "10670"^^xsd:decimal ];
     fhir:Sequence.quality.gtFP [ fhir:value "2186"^^xsd:decimal ];
     fhir:Sequence.quality.precision [ fhir:value "0.428005"^^xsd:decimal ];
     fhir:Sequence.quality.recall [ fhir:value "0.752111"^^xsd:decimal ]
  ], [
     fhir:index 1;
     fhir:Sequence.quality.type [ fhir:value "snp" ];
     fhir:Sequence.quality.standardSequence [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://precision.fda.gov/files/" ];
         fhir:Coding.code [ fhir:value "file-BkZxBZ00bpJVk2q6x43b1YBx" ]
       ]
     ];
     fhir:Sequence.quality.start [ fhir:value "10453"^^xsd:integer ];
     fhir:Sequence.quality.end [ fhir:value "101770080"^^xsd:integer ];
     fhir:Sequence.quality.method [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "https://precision.fda.gov/apps/" ];
         fhir:Coding.code [ fhir:value "app-BxfGF8j02pBZzZxbzZxP725P" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "Vcfeval + Hap.py Comparison" ]
     ];
     fhir:Sequence.quality.truthTP [ fhir:value "92106"^^xsd:decimal ];
     fhir:Sequence.quality.truthFN [ fhir:value "1247"^^xsd:decimal ];
     fhir:Sequence.quality.queryFP [ fhir:value "21744"^^xsd:decimal ];
     fhir:Sequence.quality.gtFP [ fhir:value "493"^^xsd:decimal ];
     fhir:Sequence.quality.precision [ fhir:value "0.808602"^^xsd:decimal ];
     fhir:Sequence.quality.recall [ fhir:value "0.986642"^^xsd:decimal ]
  ];
  fhir:Sequence.repository [
     fhir:index 0;
     fhir:Sequence.repository.type [ fhir:value "login" ];
     fhir:Sequence.repository.url [ fhir:value "https://precision.fda.gov/jobs/job-ByxYPx809jFVy21KJG74Jg3Y" ];
     fhir:Sequence.repository.name [ fhir:value "FDA" ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Sequence/fda-vcfeval-comparison.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Sequence/fda-vcfeval-comparison.ttl> .

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.