Class Sequence.SequenceQualityComponent

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseBackboneElement, org.hl7.fhir.instance.model.api.IBaseElement, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions
Enclosing class:
Sequence

public static class Sequence.SequenceQualityComponent extends BackboneElement implements org.hl7.fhir.instance.model.api.IBaseBackboneElement
See Also:
  • Field Details

    • type

      INDEL / SNP / Undefined variant.
    • standardSequence

      Gold standard sequence used for comparing against.
    • start

      protected IntegerType start
      Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.
    • end

      protected IntegerType end
      End position of the sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.
    • score

      protected Quantity score
      The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).
    • method

      Which method is used to get sequence quality.
    • truthTP

      protected DecimalType truthTP
      True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • queryTP

      protected DecimalType queryTP
      True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • truthFN

      protected DecimalType truthFN
      False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.
    • queryFP

      protected DecimalType queryFP
      False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.
    • gtFP

      protected DecimalType gtFP
      The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).
    • precision

      QUERY.TP / (QUERY.TP + QUERY.FP).
    • recall

      protected DecimalType recall
      TRUTH.TP / (TRUTH.TP + TRUTH.FN).
    • fScore

      protected DecimalType fScore
      Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).
  • Constructor Details

  • Method Details

    • getTypeElement

      Returns:
      type (INDEL / SNP / Undefined variant.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
    • hasTypeElement

      public boolean hasTypeElement()
    • hasType

      public boolean hasType()
    • setTypeElement

      Parameters:
      value - type (INDEL / SNP / Undefined variant.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
    • getType

      Returns:
      INDEL / SNP / Undefined variant.
    • setType

      Parameters:
      value - INDEL / SNP / Undefined variant.
    • getStandardSequence

      Returns:
      standardSequence (Gold standard sequence used for comparing against.)
    • hasStandardSequence

      public boolean hasStandardSequence()
    • setStandardSequence

      Parameters:
      value - standardSequence (Gold standard sequence used for comparing against.)
    • getStartElement

      Returns:
      start (Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
    • hasStartElement

      public boolean hasStartElement()
    • hasStart

      public boolean hasStart()
    • setStartElement

      Parameters:
      value - start (Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.). This is the underlying object with id, value and extensions. The accessor "getStart" gives direct access to the value
    • getStart

      public int getStart()
      Returns:
      Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.
    • setStart

      Parameters:
      value - Start position of the sequence. If the coordinate system is either 0-based or 1-based, then start position is inclusive.
    • getEndElement

      Returns:
      end (End position of the sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
    • hasEndElement

      public boolean hasEndElement()
    • hasEnd

      public boolean hasEnd()
    • setEndElement

      Parameters:
      value - end (End position of the sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.). This is the underlying object with id, value and extensions. The accessor "getEnd" gives direct access to the value
    • getEnd

      public int getEnd()
      Returns:
      End position of the sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.
    • setEnd

      Parameters:
      value - End position of the sequence.If the coordinate system is 0-based then end is is exclusive and does not include the last position. If the coordinate system is 1-base, then end is inclusive and includes the last position.
    • getScore

      public Quantity getScore()
      Returns:
      score (The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).)
    • hasScore

      public boolean hasScore()
    • setScore

      Parameters:
      value - score (The score of an experimentally derived feature such as a p-value ([SO:0001685](http://www.sequenceontology.org/browser/current_svn/term/SO:0001685)).)
    • getMethod

      Returns:
      method (Which method is used to get sequence quality.)
    • hasMethod

      public boolean hasMethod()
    • setMethod

      Parameters:
      value - method (Which method is used to get sequence quality.)
    • getTruthTPElement

      Returns:
      truthTP (True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.). This is the underlying object with id, value and extensions. The accessor "getTruthTP" gives direct access to the value
    • hasTruthTPElement

      public boolean hasTruthTPElement()
    • hasTruthTP

      public boolean hasTruthTP()
    • setTruthTPElement

      Parameters:
      value - truthTP (True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.). This is the underlying object with id, value and extensions. The accessor "getTruthTP" gives direct access to the value
    • getTruthTP

      Returns:
      True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • setTruthTP

      Parameters:
      value - True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • setTruthTP

      Parameters:
      value - True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • setTruthTP

      Parameters:
      value - True positives, from the perspective of the truth data, i.e. the number of sites in the Truth Call Set for which there are paths through the Query Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • getQueryTPElement

      Returns:
      queryTP (True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.). This is the underlying object with id, value and extensions. The accessor "getQueryTP" gives direct access to the value
    • hasQueryTPElement

      public boolean hasQueryTPElement()
    • hasQueryTP

      public boolean hasQueryTP()
    • setQueryTPElement

      Parameters:
      value - queryTP (True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.). This is the underlying object with id, value and extensions. The accessor "getQueryTP" gives direct access to the value
    • getQueryTP

      Returns:
      True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • setQueryTP

      Parameters:
      value - True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • setQueryTP

      Parameters:
      value - True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • setQueryTP

      Parameters:
      value - True positives, from the perspective of the query data, i.e. the number of sites in the Query Call Set for which there are paths through the Truth Call Set that are consistent with all of the alleles at this site, and for which there is an accurate genotype call for the event.
    • getTruthFNElement

      Returns:
      truthFN (False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.). This is the underlying object with id, value and extensions. The accessor "getTruthFN" gives direct access to the value
    • hasTruthFNElement

      public boolean hasTruthFNElement()
    • hasTruthFN

      public boolean hasTruthFN()
    • setTruthFNElement

      Parameters:
      value - truthFN (False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.). This is the underlying object with id, value and extensions. The accessor "getTruthFN" gives direct access to the value
    • getTruthFN

      Returns:
      False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.
    • setTruthFN

      Parameters:
      value - False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.
    • setTruthFN

      Parameters:
      value - False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.
    • setTruthFN

      Parameters:
      value - False negatives, i.e. the number of sites in the Truth Call Set for which there is no path through the Query Call Set that is consistent with all of the alleles at this site, or sites for which there is an inaccurate genotype call for the event. Sites with correct variant but incorrect genotype are counted here.
    • getQueryFPElement

      Returns:
      queryFP (False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.). This is the underlying object with id, value and extensions. The accessor "getQueryFP" gives direct access to the value
    • hasQueryFPElement

      public boolean hasQueryFPElement()
    • hasQueryFP

      public boolean hasQueryFP()
    • setQueryFPElement

      Parameters:
      value - queryFP (False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.). This is the underlying object with id, value and extensions. The accessor "getQueryFP" gives direct access to the value
    • getQueryFP

      Returns:
      False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.
    • setQueryFP

      Parameters:
      value - False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.
    • setQueryFP

      Parameters:
      value - False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.
    • setQueryFP

      Parameters:
      value - False positives, i.e. the number of sites in the Query Call Set for which there is no path through the Truth Call Set that is consistent with this site. Sites with correct variant but incorrect genotype are counted here.
    • getGtFPElement

      Returns:
      gtFP (The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).). This is the underlying object with id, value and extensions. The accessor "getGtFP" gives direct access to the value
    • hasGtFPElement

      public boolean hasGtFPElement()
    • hasGtFP

      public boolean hasGtFP()
    • setGtFPElement

      Parameters:
      value - gtFP (The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).). This is the underlying object with id, value and extensions. The accessor "getGtFP" gives direct access to the value
    • getGtFP

      public BigDecimal getGtFP()
      Returns:
      The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).
    • setGtFP

      Parameters:
      value - The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).
    • setGtFP

      Parameters:
      value - The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).
    • setGtFP

      Parameters:
      value - The number of false positives where the non-REF alleles in the Truth and Query Call Sets match (i.e. cases where the truth is 1/1 and the query is 0/1 or similar).
    • getPrecisionElement

      Returns:
      precision (QUERY.TP / (QUERY.TP + QUERY.FP).). This is the underlying object with id, value and extensions. The accessor "getPrecision" gives direct access to the value
    • hasPrecisionElement

      public boolean hasPrecisionElement()
    • hasPrecision

      public boolean hasPrecision()
    • setPrecisionElement

      Parameters:
      value - precision (QUERY.TP / (QUERY.TP + QUERY.FP).). This is the underlying object with id, value and extensions. The accessor "getPrecision" gives direct access to the value
    • getPrecision

      Returns:
      QUERY.TP / (QUERY.TP + QUERY.FP).
    • setPrecision

      Parameters:
      value - QUERY.TP / (QUERY.TP + QUERY.FP).
    • setPrecision

      Parameters:
      value - QUERY.TP / (QUERY.TP + QUERY.FP).
    • setPrecision

      Parameters:
      value - QUERY.TP / (QUERY.TP + QUERY.FP).
    • getRecallElement

      Returns:
      recall (TRUTH.TP / (TRUTH.TP + TRUTH.FN).). This is the underlying object with id, value and extensions. The accessor "getRecall" gives direct access to the value
    • hasRecallElement

      public boolean hasRecallElement()
    • hasRecall

      public boolean hasRecall()
    • setRecallElement

      Parameters:
      value - recall (TRUTH.TP / (TRUTH.TP + TRUTH.FN).). This is the underlying object with id, value and extensions. The accessor "getRecall" gives direct access to the value
    • getRecall

      Returns:
      TRUTH.TP / (TRUTH.TP + TRUTH.FN).
    • setRecall

      Parameters:
      value - TRUTH.TP / (TRUTH.TP + TRUTH.FN).
    • setRecall

      Parameters:
      value - TRUTH.TP / (TRUTH.TP + TRUTH.FN).
    • setRecall

      Parameters:
      value - TRUTH.TP / (TRUTH.TP + TRUTH.FN).
    • getFScoreElement

      Returns:
      fScore (Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).). This is the underlying object with id, value and extensions. The accessor "getFScore" gives direct access to the value
    • hasFScoreElement

      public boolean hasFScoreElement()
    • hasFScore

      public boolean hasFScore()
    • setFScoreElement

      Parameters:
      value - fScore (Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).). This is the underlying object with id, value and extensions. The accessor "getFScore" gives direct access to the value
    • getFScore

      Returns:
      Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).
    • setFScore

      Parameters:
      value - Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).
    • setFScore

      Parameters:
      value - Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).
    • setFScore

      Parameters:
      value - Harmonic mean of Recall and Precision, computed as: 2 * precision * recall / (precision + recall).
    • listChildren

      protected void listChildren(List<Property> children)
      Overrides:
      listChildren in class BackboneElement
    • getNamedProperty

      public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getNamedProperty in class BackboneElement
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getProperty

      public Base[] getProperty(int hash, String name, boolean checkValid) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getProperty in class BackboneElement
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(int hash, String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class BackboneElement
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • setProperty

      public Base setProperty(String name, Base value) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      setProperty in class BackboneElement
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • makeProperty

      public Base makeProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      makeProperty in class BackboneElement
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • getTypesForProperty

      public String[] getTypesForProperty(int hash, String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      getTypesForProperty in class BackboneElement
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • addChild

      public Base addChild(String name) throws org.hl7.fhir.exceptions.FHIRException
      Overrides:
      addChild in class BackboneElement
      Throws:
      org.hl7.fhir.exceptions.FHIRException
    • copy

      Specified by:
      copy in class BackboneElement
    • equalsDeep

      public boolean equalsDeep(Base other_)
      Overrides:
      equalsDeep in class BackboneElement
    • equalsShallow

      public boolean equalsShallow(Base other_)
      Overrides:
      equalsShallow in class BackboneElement
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      isEmpty in class BackboneElement
    • fhirType

      public String fhirType()
      Specified by:
      fhirType in interface org.hl7.fhir.instance.model.api.IBase
      Overrides:
      fhirType in class BackboneElement