Package main

Class Musial

java.lang.Object
main.Musial

public final class Musial extends Object
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 Classes
    Modifier and Type
    Class
    Description
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static 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.
    Specifies the task to execute.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    The main entry point of the MUSIAL application.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • originalSysOut

      public static final PrintStream originalSysOut
      Original system output stream.
    • emptySysOut

      public static final PrintStream emptySysOut
      Alternative empty output stream to ignore logging.
    • runId

      public static final String runId
      Unique run ID of this program instance; generated from the current date and time.
    • softwareName

      public static String softwareName
      Name of the software; parsed from `/src/main/resources/info.properties`.
    • softwareVersion

      public static String softwareVersion
      Version of the software; parsed from `/src/main/resources/info.properties`.
    • softwareContact

      public static String softwareContact
      Author contact of the software; parsed from `/src/main/resources/info.properties`.
    • softwareLicense

      public static String softwareLicense
      License information of the software; parsed from `/src/main/resources/info.properties`.
    • task

      public static Musial.Task task
      Specifies the task to execute.
    • outputDirectory

      public static File outputDirectory
      Specifies the output directory for the program.
    • startTime

      public static long startTime
      Start time of the program.
  • Constructor Details

    • Musial

      public Musial()
  • Method Details

    • main

      public static void main(String[] args)
      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.