Package main
Class Musial
java.lang.Object
main.Musial
Main class of MUSIAL (MUlti Sample varIant AnaLysis), a tool to calculate SNV, gene, and whole genome alignments,
together with other relevant statistics based on .vcf files.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Enum
specifying tasks of MUSIAL to choose from.static class
Provides functionality to update (build or expand) a MUSIAL storage.static class
Provides functionality to generate and display various types of tables based on the data stored in the `Storage` object. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PrintStream
Alternative empty output stream to ignore logging.static final PrintStream
Original system output stream.static File
Specifies the output directory for the program.static final String
Unique run ID of this program instance; generated from the current date and time.static String
Author contact of the software; parsed from `/src/main/resources/info.properties`.static String
License information of the software; parsed from `/src/main/resources/info.properties`.static String
Name of the software; parsed from `/src/main/resources/info.properties`.static String
Version of the software; parsed from `/src/main/resources/info.properties`.static long
Start time of the program.static Musial.Task
Specifies the task to execute. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
originalSysOut
Original system output stream. -
emptySysOut
Alternative empty output stream to ignore logging. -
runId
Unique run ID of this program instance; generated from the current date and time. -
softwareName
Name of the software; parsed from `/src/main/resources/info.properties`. -
softwareVersion
Version of the software; parsed from `/src/main/resources/info.properties`. -
softwareContact
Author contact of the software; parsed from `/src/main/resources/info.properties`. -
softwareLicense
License information of the software; parsed from `/src/main/resources/info.properties`. -
task
Specifies the task to execute. -
outputDirectory
Specifies the output directory for the program. -
startTime
public static long startTimeStart time of the program.
-
-
Constructor Details
-
Musial
public Musial()
-
-
Method Details
-
main
The main entry point of the MUSIAL application.This method initializes the program, determines the task to execute based on the provided arguments, and executes the corresponding functionality. It handles errors gracefully and logs relevant information.
- Parameters:
args
- Command-line arguments specifying the task and its parameters.- args[0]: The task to execute (e.g., BUILD, UPDATE, VIEW, SEQUENCE).
- Additional arguments are parsed by the
CLI
class.
-