Class BenchmarkCommand
java.lang.Object
org.monarchinitiative.lirical.cli.cmd.BenchmarkCommand
Benchmark command runs LIRICAL on one or more phenopackets and writes prioritization results into a CSV table.
Optionally, a VCF file with background variants can be provided to run variant-aware prioritization.
In presence of variants, the benchmark spikes the variants from phenopacket into the background variants
and runs prioritization on phenotype terms and variants.
-
Field Summary
Modifier and TypeFieldDescriptionorg.monarchinitiative.lirical.cli.cmd.LiricalConfigurationCommand.DataSection
protected String
protected Path
protected boolean
org.monarchinitiative.lirical.cli.cmd.LiricalConfigurationCommand.RunConfiguration
protected static final String
protected Path
boolean[]
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Lirical
bootstrapLirical
(GenomeBuild genomeBuild) BuildLirical
for aGenomeBuild
based onLiricalConfigurationCommand.DataSection
andLiricalConfigurationCommand.RunConfiguration
sections.call()
execute()
protected String
protected String
protected GenomeBuild
parseGenomeBuild
(String genomeBuild) protected AnalysisOptions
prepareAnalysisOptions
(Lirical lirical, GenomeBuild genomeBuild, TranscriptDatabase transcriptDb) protected static org.monarchinitiative.lirical.cli.cmd.LiricalConfigurationCommand.SampleIdAndGenesAndGenotypes
readVariantsFromVcfFile
(String sampleId, Path vcfPath, GenomeBuild genomeBuild, TranscriptDatabase transcriptDatabase, VariantParserFactory parserFactory) protected static void
reportElapsedTime
(long startTime, long stopTime) protected InputSanitizer
selectSanitizer
(InputSanitizerFactory factory) protected static String
summarizeSanitationResult
(SanitationResult sanitationResult)
-
Field Details
-
phenopacketPaths
-
vcfPath
-
outputPath
-
phenotypeOnly
protected boolean phenotypeOnly -
genomeBuild
-
UNKNOWN_VERSION_PLACEHOLDER
- See Also:
-
dataSection
public org.monarchinitiative.lirical.cli.cmd.LiricalConfigurationCommand.DataSection dataSection -
runConfiguration
public org.monarchinitiative.lirical.cli.cmd.LiricalConfigurationCommand.RunConfiguration runConfiguration -
verbosity
public boolean[] verbosity
-
-
Constructor Details
-
BenchmarkCommand
public BenchmarkCommand()
-
-
Method Details
-
execute
-
checkInput
-
getGenomeBuild
-
bootstrapLirical
BuildLirical
for aGenomeBuild
based onLiricalConfigurationCommand.DataSection
andLiricalConfigurationCommand.RunConfiguration
sections.- Throws:
LiricalDataException
-
parseGenomeBuild
- Throws:
LiricalDataException
-
prepareAnalysisOptions
protected AnalysisOptions prepareAnalysisOptions(Lirical lirical, GenomeBuild genomeBuild, TranscriptDatabase transcriptDb) -
readVariantsFromVcfFile
protected static org.monarchinitiative.lirical.cli.cmd.LiricalConfigurationCommand.SampleIdAndGenesAndGenotypes readVariantsFromVcfFile(String sampleId, Path vcfPath, GenomeBuild genomeBuild, TranscriptDatabase transcriptDatabase, VariantParserFactory parserFactory) throws LiricalParseException - Throws:
LiricalParseException
-
summarizeSanitationResult
-
figureOutExomiserPath
-
selectSanitizer
-
reportElapsedTime
protected static void reportElapsedTime(long startTime, long stopTime) -
call
-