Package org.bioinfo.commons.log

Examples of org.bioinfo.commons.log.Logger


  public RNASeqQCAnalysisThread(RNASeqQCDialog rnaSeqQCDialog,TabPageController resultManager) {

        super("RNASeqQCAnalysisThread");
    this.settingsDlg = rnaSeqQCDialog;
        this.resultManager = resultManager;
    logger = new Logger(this.getClass().getName());
  }
View Full Code Here



    public void init() {

        // log
        logger = new Logger();

        // environment
    homePath = System.getenv("QUALIMAP_HOME");
        if (homePath == null) {
            homePath = new File("").getAbsolutePath() + File.separator;
View Full Code Here

  StringBuffer stringValidation;
 
 
  public SavePanel() {
    super();
    logger = new Logger(this.getClass().getName());
  }
View Full Code Here

        this.saveCoverage = false;
        this.nonZeroCoverageOnly = true;
        protocol = LibraryProtocol.NON_STRAND_SPECIFIC;
        pgProgram = "";
        pgCommandString = "";
    logger = new Logger();
        chromosomeWindowIndexes = new ArrayList<Integer>();
    }
View Full Code Here

  public CountsQCAnalysisThread(CountsQcDialog countsQcDialog, TabPageController tabProperties) {
    super("MultisampleCountsQcThread");
    this.settingsDlg = countsQcDialog;
        this.tabProperties = tabProperties;
    logger = new Logger(this.getClass().getName());
  }
View Full Code Here

    if(homeFolder == null){
            setQualimapFolder(new File("").getAbsolutePath()+File.separator);
        else {
            setQualimapFolder(homeFolder);
        }
        logger = new Logger(this.getClass().getName());
        logger.println("Qualimap home is " + getQualimapFolder());
        initGUI();
    this.setLocationRelativeTo(null);
    this.setVisible(true);
  }
View Full Code Here

    public static String APP_VERSION = "debug";
    public static String APP_BUILT_DATE = "unknown";


  public static void main(String[] args) throws Exception {
    Logger logger = new Logger();
        NgsSmartTool tool = null;

        loadAppPropertiesFile();
        loadAppSettings();

    if(args.length == 0 || args[0].equals("--home")){
      launchGUI(args);
    } else {
           
      String toolName = args[0];

      // TODO: use factories map to create tools

            if(toolName.equalsIgnoreCase(Constants.TOOL_NAME_BAMQC)){
        tool = new BamQcTool();
      }

            if(toolName.equalsIgnoreCase(Constants.TOOL_NAME_RNASEQ_QC)){
                tool = new RnaSeqQcTool();
            }

            if(toolName.equalsIgnoreCase(Constants.TOOL_NAME_COUNTS_QC)){
                tool = new CountsQcTool();
            }

            if (toolName.equals(Constants.TOOL_NAME_COMPUTE_COUNTS)) {
                tool = new ComputeCountsTool();
            }

            if (toolName.equals(Constants.TOOL_NAME_CLUSTERING)) {
                tool = new EpiTool();
            }

            if (toolName.equals(Constants.TOOL_NAME_GC_CONTENT)) {
                tool = new GCContentTool();
            }

            if (toolName.equals(Constants.TOOL_NAME_INDEL_COUNT)) {
                tool = new IndelCountTool();
            }

            if (toolName.equals(Constants.TOOL_NAME_MULTISAMPLE_BAM_QC)) {
                tool = new MultisampleBamQcTool();
            }

            if (toolName.equalsIgnoreCase("run-tests")) {
                System.out.println("Supposed to run tests... Needs testing");
                //runTests();
            } else if(toolName.equalsIgnoreCase("-h") || toolName.equalsIgnoreCase("-help")
                    || toolName.equalsIgnoreCase("--h") || toolName.equalsIgnoreCase("--help")){
        logger.println("");
        logger.println(getHelp());
      } else {
        logger.println("");
        logger.println("Selected tool: " + toolName);
        if(tool==null){
                    logger.println("No proper tool name is provided.\n");
                    logger.println(getHelp());
                } else {
          try {         
            tool.run(args);
          } catch(ParseException pe){         
            logger.println("");
            logger.println("ERROR: " + pe.getMessage());
            logger.println("");
            tool.printHelp();
          } catch(Exception e){
            e.printStackTrace();
          }
        }
View Full Code Here

  public BamAnalysisThread(String str, BamAnalysisDialog bamDialog, TabPageController tabProperties) {
    super(str);
    this.bamDialog = bamDialog;
        this.resultManager = tabProperties;
    logger = new Logger(this.getClass().getName());
  }
View Full Code Here

        }
    }

  public AboutDialog(HomeFrame frame) {
    super(frame, "About");
    logger = new Logger(this.getClass().getName());
    this.homeFrame = frame;
    initGUI();
        pack();
        setResizable(false);
  }
View Full Code Here

TOP

Related Classes of org.bioinfo.commons.log.Logger

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.