Class CustomBackgroundVariantFrequencyServiceFactory
java.lang.Object
org.monarchinitiative.lirical.io.background.CustomBackgroundVariantFrequencyServiceFactory
- All Implemented Interfaces:
BackgroundVariantFrequencyServiceFactory
public class CustomBackgroundVariantFrequencyServiceFactory
extends Object
implements BackgroundVariantFrequencyServiceFactory
A
BackgroundVariantFrequencyServiceFactory
implementation that uses user-provided frequency files.-
Method Summary
Modifier and TypeMethodDescriptionforGenomeBuild
(GenomeBuild genomeBuild, double defaultVariantBackgroundFrequency) of
(Map<GenomeBuild, Path> backgroundFilePaths)
-
Method Details
-
of
public static CustomBackgroundVariantFrequencyServiceFactory of(Map<GenomeBuild, Path> backgroundFilePaths) -
forGenomeBuild
public Optional<BackgroundVariantFrequencyService> forGenomeBuild(GenomeBuild genomeBuild, double defaultVariantBackgroundFrequency) - Specified by:
forGenomeBuild
in interfaceBackgroundVariantFrequencyServiceFactory
-