Example #1
0
  /**
   * Main method. Used to run igvtools from the command line
   *
   * @param argv
   * @throws IOException
   * @throws PreprocessingException
   */
  public static void main(String[] argv) {

    try {
      initLogger();
      Globals.setHeadless(true);

      (new IgvTools()).run(argv);

      System.out.println("Done");
      System.exit(0);
    } catch (Exception e) {
      e.printStackTrace();
      System.exit(-1);
    }
  }