java.lang.Object
org.monarchinitiative.lirical.exomiser_db_adapter.model.pathogenicity.ClinVarData

public class ClinVarData extends Object
Immutable data class representing data from the ClinVar resource, with explanation of the data from https://www.ncbi.nlm.nih.gov/clinvar/docs/clinsig/
Since:
10.1.0
Author:
Jules Jacobsen
  • Method Details

    • empty

      public static ClinVarData empty()
    • isEmpty

      public boolean isEmpty()
    • getAlleleId

      public String getAlleleId()
    • getPrimaryInterpretation

      public ClinVarData.ClinSig getPrimaryInterpretation()
    • getSecondaryInterpretations

      public Set<ClinVarData.ClinSig> getSecondaryInterpretations()
    • getReviewStatus

      public String getReviewStatus()
    • getIncludedAlleles

      public Map<String,ClinVarData.ClinSig> getIncludedAlleles()
    • isSecondaryAssociationRiskFactorOrOther

      public boolean isSecondaryAssociationRiskFactorOrOther()
      Returns:
      true if the secondary CLNSIG contains one of 'affects', 'other', 'association', 'risk factor' or 'protective'. These are considered unimportant from the mendelian disease perspective. The category 'drug response' is *not* included here as these are also associated with CFTR alleles known to be pathogenic/likely pathogenic for CF.
      Since:
      13.0.0
    • starRating

      public int starRating()
      Returns the ClinVar star rating according to the criteria provided at https://www.ncbi.nlm.nih.gov/clinvar/docs/review_status/#revstat_def

      In the VCF CLNREVSTAT the start ratings are mapped as follows:

      1* criteria_provided,_conflicting_interpretations 1* criteria_provided,_single_submitter 2* criteria_provided,_multiple_submitters,_no_conflicts 3* reviewed_by_expert_panel 4* practice_guideline

      Returns:
      an integer value between 0 (worst) and 4 (best)
      Since:
      13.0.0
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      public static ClinVarData.Builder builder()