/** Launch the application. */
 public static void main(String[] args) {
   try {
     GuiWinAndGsize dialog = new GuiWinAndGsize();
     dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
     dialog.setVisible(true);
   } catch (Exception e) {
     e.printStackTrace();
   }
 }
  private void runSicer() {
    sicerControl = new SicerControl();
    sicerControl.setKoBedFile(txtKobedFileSICER.getText(), txtKoPrefixSICER.getText());
    sicerControl.setWtBedFile(txtWtBedFileSICER.getText(), txtWtPrefixSICER.getText());
    sicerControl.setKoControlFile(txtKoColFileSICER.getText());
    sicerControl.setWtControlFile(txtWtcolFileSICER.getText());

    sicerControl.setEvalue(100);
    sicerControl.setFDR(0.01);
    sicerControl.setSpecies(guiLayeredPanSpeciesVersion.getSelectSpecies());
    sicerControl.setSicerType(cmbSICERtype.getSelectedValue());

    sicerControl.setOutputDir(txtSavePath.getText());

    methylationType = cmbMethyTypeSicer.getSelectedValue();
    sicerControl.setMethylationType(methylationType);
    if (methylationType == SicerControl.METHY_UNKNOWN) {
      if (dialog.getWindowSize() == 0 && dialog.getGapSize() == 0) {
        dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
        dialog.setVisible(true);
        sicerControl.setMethylationType(dialog.getWindowSize(), dialog.getGapSize());
      } else {
        sicerControl.setMethylationType(dialog.getWindowSize(), dialog.getGapSize());
      }
    }
    sicerControl.peakCalling();
  }