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
-
Method Summary
Modifier and TypeMethodDescriptionstatic PathogenicityData
empty()
boolean
Returns aClinVarData
object.getPredictedScore
(PathogenicitySource pathogenicitySource) Returns the PathogenicityScore from the requested source, or null if not present.float
getScore()
boolean
Method used to check whether there is any real ClinVar data associated with this object.int
hashCode()
boolean
boolean
hasPredictedScore
(PathogenicitySource pathogenicitySource) boolean
isEmpty()
static PathogenicityData
of
(Collection<PathogenicityScore> pathScores) static PathogenicityData
of
(ClinVarData clinVarData, Collection<PathogenicityScore> pathScores) static PathogenicityData
of
(ClinVarData clinVarData, PathogenicityScore pathScore) static PathogenicityData
of
(ClinVarData clinVarData, PathogenicityScore... pathScore) static PathogenicityData
of
(PathogenicityScore pathScore) static PathogenicityData
of
(PathogenicityScore... pathScore) 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
-
getClinVarData
Returns aClinVarData
object. 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
ClinVarData
object - 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
-
getPredictedPathogenicityScores
-
isEmpty
public boolean isEmpty() -
hasPredictedScore
public boolean hasPredictedScore() -
hasPredictedScore
-
getPredictedScore
Returns the PathogenicityScore from the requested source, or null if not present.- Parameters:
pathogenicitySource
-- Returns:
-
getScore
public float getScore()- Returns:
- the predicted pathogenicity score for this data set. The score is ranked from 0 (non-pathogenic) to 1 (highly pathogenic)
-
getMostPathogenicScore
- Returns:
- The most pathogenic score or null if there are no predicted scores
-
equals
-
hashCode
public int hashCode() -
toString
-