Interface VariantMetadata
- All Known Subinterfaces:
LiricalVariant
public interface VariantMetadata
-
Method Summary
Modifier and TypeMethodDescriptiondefault ClinvarClnSig
Deprecated, for removal: This API element is subject to removal in a future version.static int
compareByPathogenicity
(VariantMetadata left, VariantMetadata right) Deprecated, for removal: This API element is subject to removal in a future version.the function has been deprecated without replacement and will be removed inv3.0.0
.static VariantMetadata
empty()
Get variant frequency as a percentage or an empty optional if the variant has not been observed in any available variant database.This is the frequency factor used for the Exomiser like pathogenicity score.static VariantMetadata
of
(float frequency, float pathogenicity, ClinVarAlleleData clinVarAlleleData) float
Get estimate of the overall variant pathogenicity.Get aggregated variant pathogenicity score.
-
Method Details
-
empty
-
of
static VariantMetadata of(float frequency, float pathogenicity, ClinVarAlleleData clinVarAlleleData) -
frequency
Get variant frequency as a percentage or an empty optional if the variant has not been observed in any available variant database.For instance,
0.5
for a variant with frequency1/500
.- Returns:
- optional variant frequency as a percentage.
-
pathogenicity
float pathogenicity()Get estimate of the overall variant pathogenicity.The estimate must be in range
[0, 1]
where0
and1
represent the least and the most deleterious variants.The estimate can be an aggregate of multiple scoring tools or a product of a single tool.
- Returns:
- the overall variant pathogenicity estimate.
-
pathogenicityScore
Get aggregated variant pathogenicity score.The Clinvar pathogenic or likely pathogenic variants are assigned a score of
1
. The other variants are assigned a product of thefrequencyScore()
andpathogenicity()
. An empty optional is returned if thefrequencyScore()
is missing.- Returns:
- optional pathogenicity score.
-
clinvarClnSig
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- Clinvar clinical significance category.
-
clinVarAlleleData
Optional<ClinVarAlleleData> clinVarAlleleData()- Returns:
ClinvarData
for the variant, if available.
-
frequencyScore
This is the frequency factor used for the Exomiser like pathogenicity score. It penalizes variants that have a higher population frequency, with anything above 2% getting a factor of zero.- Returns:
- The Exomiser-style frequency factor
-
compareByPathogenicity
@Deprecated(forRemoval=true, since="2.0.0-RC3") static int compareByPathogenicity(VariantMetadata left, VariantMetadata right) Deprecated, for removal: This API element is subject to removal in a future version.the function has been deprecated without replacement and will be removed inv3.0.0
.
-
2.0.0-RC3
and will be removed inv3.0.0
.