Class PathogenicityData
java.lang.Object
org.monarchinitiative.lirical.exomiser_db_adapter.model.pathogenicity.PathogenicityData
Container for Pathogenicity data about a variant.
- Since:
- 3.0.0
- Author:
- Jules Jacobsen <jules.jacobsen@sanger.ac.uk>
-
Method Summary
Modifier and TypeMethodDescriptionReturns aClinVarDataobject.static PathogenicityDataempty()booleanbooleanMethod used to check whether there is any real ClinVar data associated with this object.inthashCode()booleanbooleanhasPredictedScore(PathogenicitySource pathogenicitySource) booleanisEmpty()static PathogenicityDataof(Collection<PathogenicityScore> pathScores) static PathogenicityDataof(ClinVarData clinVarData, Collection<PathogenicityScore> pathScores) static PathogenicityDataof(ClinVarData clinVarData, PathogenicityScore pathScore) static PathogenicityDataof(ClinVarData clinVarData, PathogenicityScore... pathScore) static PathogenicityDataof(PathogenicityScore pathScore) static PathogenicityDataof(PathogenicityScore... pathScore) floatpathogenicityScore(PathogenicitySource pathogenicitySource) Returns the PathogenicityScore from the requested source, or null if not present.toString()
-
Method Details
-
of
-
of
-
of
-
of
- Since:
- 10.1.0
-
of
- Since:
- 10.1.0
-
of
public static PathogenicityData of(ClinVarData clinVarData, Collection<PathogenicityScore> pathScores) - Since:
- 10.1.0
-
empty
-
clinVarData
Returns aClinVarDataobject. It is highly likely that this field will contain aClinVarData.empty()object. For this reason the companion methodhasClinVarData()can be used to check whether there is any real data. AlternativelyclinVarData.isEmpty()can be called on the object returned from this method.- Returns:
- a
ClinVarDataobject - Since:
- 10.1.0
-
hasClinVarData
public boolean hasClinVarData()Method used to check whether there is any real ClinVar data associated with this object.- Returns:
- true if there is any associated ClinVar data, otherwise returns false.
- Since:
- 10.1.0
-
pathogenicityScores
-
isEmpty
public boolean isEmpty() -
hasPredictedScore
public boolean hasPredictedScore() -
hasPredictedScore
-
pathogenicityScore
Returns the PathogenicityScore from the requested source, or null if not present.- Parameters:
pathogenicitySource-- Returns:
-
pathogenicityScore
public float pathogenicityScore()- Returns:
- the predicted pathogenicity score for this data set. The score is ranked from 0 (non-pathogenic) to 1 (highly pathogenic)
-
mostPathogenicScore
- Returns:
- The most pathogenic score or null if there are no predicted scores
-
equals
-
hashCode
public int hashCode() -
toString
-