Package org.bioinfo.ngs.qc.qualimap.process

Examples of org.bioinfo.ngs.qc.qualimap.process.CountsSampleInfo


        this.itemIndex = itemIndex;
        editMode = true;

        initComponents();

        CountsSampleInfo itemToModify = parentDlg.getDataItem(itemIndex);
        sampleName.setText(itemToModify.name);
        pathField.setText(itemToModify.path);
        dataColumnSpinner.setValue(itemToModify.columnNum);
        conditionIndexSpinner.setValue(itemToModify.conditionIndex);
View Full Code Here


        okButton.addActionListener( new ActionListener() {
            @Override
            public void actionPerformed(ActionEvent actionEvent) {
                String errorMessage  = validateInputData();
                if (errorMessage.isEmpty()) {
                    CountsSampleInfo item = new CountsSampleInfo();
                    item.name = sampleName.getText();
                    item.path = pathField.getText();
                    item.columnNum = ((SpinnerNumberModel) dataColumnSpinner.getModel()).getNumber().intValue();
                    item.conditionIndex =
                            ((SpinnerNumberModel) conditionIndexSpinner.getModel()).getNumber().intValue();
View Full Code Here

        pack();

        // Default data  for testing
        if (System.getenv("QUALIMAP_DEBUG") != null)  {
            CountsSampleInfo i1 = new CountsSampleInfo();
            i1.name = "Infected1";
            i1.path = "/home/kokonech/sample_data/counts/mb141.counts.txt";
            i1.conditionIndex = 1;
            i1.columnNum = 2;
            sampleTableModel.addItem(i1);


            CountsSampleInfo i2 = new CountsSampleInfo();
            i2.name = "Infected2";
            i2.path = "/home/kokonech/sample_data/counts/mb141.counts.txt";
            i2.conditionIndex = 1;
            i2.columnNum = 3;
            sampleTableModel.addItem(i2);

            CountsSampleInfo u1 = new CountsSampleInfo();
            u1.name = "Uninfected1";
            u1.path = "/home/kokonech/sample_data/counts/mb141.counts.txt";
            u1.conditionIndex = 2;
            u1.columnNum = 5;
            sampleTableModel.addItem(u1);

            CountsSampleInfo u2 = new CountsSampleInfo();
            u2.name = "Uninfected2";
            u2.path = "/home/kokonech/sample_data/counts/mb141.counts.txt";
            u2.conditionIndex = 2;
            u2.columnNum = 6;
            sampleTableModel.addItem(u2);
View Full Code Here

            return columnNames.length;
        }

        @Override
        public Object getValueAt(int i, int j) {
            CountsSampleInfo sampleInfo = sampleReplicateList.get(i);

            if (j == 0) {
                return sampleInfo.name;
            } else if (j == 1) {
                return sampleInfo.path;
View Full Code Here

TOP

Related Classes of org.bioinfo.ngs.qc.qualimap.process.CountsSampleInfo

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.