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 aClinVarData
object.static PathogenicityData
empty()
boolean
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) float
pathogenicityScore
(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 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
-
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
-