Class LiricalAnalysisRunnerImpl
java.lang.Object
org.monarchinitiative.lirical.core.analysis.impl.LiricalAnalysisRunnerImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,LiricalAnalysisRunner
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
static LiricalAnalysisRunnerImpl
of
(PhenotypeService phenotypeService, BackgroundVariantFrequencyServiceFactory backgroundVariantFrequencyServiceFactory, int parallelism) run
(AnalysisData data, AnalysisOptions options) Run analysis parametrized byanalysisOptions
onanalysisData
.
-
Method Details
-
of
public static LiricalAnalysisRunnerImpl of(PhenotypeService phenotypeService, BackgroundVariantFrequencyServiceFactory backgroundVariantFrequencyServiceFactory, int parallelism) -
run
public AnalysisResults run(AnalysisData data, AnalysisOptions options) throws LiricalAnalysisException Description copied from interface:LiricalAnalysisRunner
Run analysis parametrized byanalysisOptions
onanalysisData
.- Specified by:
run
in interfaceLiricalAnalysisRunner
- Parameters:
data
- data representing the analysis subject.options
- analysis parameters.- Returns:
- a container with results for each evaluated disease
- Throws:
LiricalAnalysisException
- if the analysis cannot be run, e.g. due to missing resource, such as FunctionalVariantAnnotator for a combination of GenomeBuild and TranscriptDatabase
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-