Class YamlCommand
java.lang.Object
org.monarchinitiative.lirical.cli.cmd.OutputCommand
org.monarchinitiative.lirical.cli.cmd.YamlCommand
This class coordinates the main analysis of a VCF file plus list of observed HPO terms. This
analysis is driven by a YAML file.
- Author:
- Peter Robinson
-
Nested Class Summary
Nested classes/interfaces inherited from class org.monarchinitiative.lirical.cli.cmd.OutputCommand
OutputCommand.Output
-
Field Summary
Modifier and TypeFieldDescriptionorg.monarchinitiative.lirical.cli.cmd.LiricalConfigurationCommand.DataSection
org.monarchinitiative.lirical.cli.cmd.LiricalConfigurationCommand.RunConfiguration
protected static final String
boolean[]
Fields inherited from class org.monarchinitiative.lirical.cli.cmd.OutputCommand
output
-
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 SanitationInputs
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) Methods inherited from class org.monarchinitiative.lirical.cli.cmd.OutputCommand
checkInput, createOutputOptions
-
Field Details
-
yamlPath
-
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
-
YamlCommand
public YamlCommand()
-
-
Method Details
-
getGenomeBuild
-
procureSanitationInputs
- Throws:
LiricalParseException
-
execute
-
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
-