Examples of formatPercentage()


Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

        globals.addRow("Reference size", sdf.formatLong(referenceSize));

        globals.addRow("Number of reads", sdf.formatLong(numReads));

        globals.addRow("Mapped reads", sdf.formatLong(numMappedReads)
                + " / " + sdf.formatPercentage(getPercentMappedReads()));

        globals.addRow("Unmapped reads",
                sdf.formatLong(numReads - numMappedReads) + " / "
                        + sdf.formatPercentage(100.0 - getPercentMappedReads()));
View Full Code Here

Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

        globals.addRow("Mapped reads", sdf.formatLong(numMappedReads)
                + " / " + sdf.formatPercentage(getPercentMappedReads()));

        globals.addRow("Unmapped reads",
                sdf.formatLong(numReads - numMappedReads) + " / "
                        + sdf.formatPercentage(100.0 - getPercentMappedReads()));

        globals.addRow("Paired reads",
                sdf.formatLong(numPairedReads) + " / "
                        + sdf.formatPercentage(percantagePairedReads) );
        if (numPairedReads > 0) {
View Full Code Here

Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

                sdf.formatLong(numReads - numMappedReads) + " / "
                        + sdf.formatPercentage(100.0 - getPercentMappedReads()));

        globals.addRow("Paired reads",
                sdf.formatLong(numPairedReads) + " / "
                        + sdf.formatPercentage(percantagePairedReads) );
        if (numPairedReads > 0) {

            globals.addRow("Mapped reads, only first in pair",
                    sdf.formatLong(numberOfMappedFirstOfPair) + " / " +
                    sdf.formatPercentage(percentageOfMappedFirstOfPair));
View Full Code Here

Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

                        + sdf.formatPercentage(percantagePairedReads) );
        if (numPairedReads > 0) {

            globals.addRow("Mapped reads, only first in pair",
                    sdf.formatLong(numberOfMappedFirstOfPair) + " / " +
                    sdf.formatPercentage(percentageOfMappedFirstOfPair));

            globals.addRow("Mapped reads, only second in pair",
                    sdf.formatLong(numberOfMappedSecondOfPair) + " / " +
                    sdf.formatPercentage(percentageOfMappedSecondOfPair));
View Full Code Here

Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

                    sdf.formatLong(numberOfMappedFirstOfPair) + " / " +
                    sdf.formatPercentage(percentageOfMappedFirstOfPair));

            globals.addRow("Mapped reads, only second in pair",
                    sdf.formatLong(numberOfMappedSecondOfPair) + " / " +
                    sdf.formatPercentage(percentageOfMappedSecondOfPair));

            globals.addRow("Mapped reads, both in pair",
                                       sdf.formatLong(numPairedReads - numSingletons) + " / "
                                               + sdf.formatPercentage((getPercentageBothMatesPaired())));
View Full Code Here

Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

                    sdf.formatLong(numberOfMappedSecondOfPair) + " / " +
                    sdf.formatPercentage(percentageOfMappedSecondOfPair));

            globals.addRow("Mapped reads, both in pair",
                                       sdf.formatLong(numPairedReads - numSingletons) + " / "
                                               + sdf.formatPercentage((getPercentageBothMatesPaired())));

              globals.addRow("Mapped reads, singletons",
                    sdf.formatLong(numSingletons) + " / "
                            + sdf.formatPercentage(getPercentSingletons()));
             }
View Full Code Here

Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

                                       sdf.formatLong(numPairedReads - numSingletons) + " / "
                                               + sdf.formatPercentage((getPercentageBothMatesPaired())));

              globals.addRow("Mapped reads, singletons",
                    sdf.formatLong(numSingletons) + " / "
                            + sdf.formatPercentage(getPercentSingletons()));
             }

        globals.addRow("Read min/max/mean length",
                sdf.formatLong(readMinSize) + " / "
                        + sdf.formatLong(readMaxSize) + " / "
View Full Code Here

Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

        if (numSelectedRegions == 0) {

            globals.addRow("Clipped reads",
                        sdf.formatInteger(numClippedReads) + " / " +
                        sdf.formatPercentage(getPercentageClippedReads()));
            globals.addRow("Duplication rate", sdf.formatPercentage(duplicationRate));
        }


        summaryStatsKeeper.addSection(globals);
View Full Code Here

Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

        if (numSelectedRegions == 0) {

            globals.addRow("Clipped reads",
                        sdf.formatInteger(numClippedReads) + " / " +
                        sdf.formatPercentage(getPercentageClippedReads()));
            globals.addRow("Duplication rate", sdf.formatPercentage(duplicationRate));
        }


        summaryStatsKeeper.addSection(globals);
View Full Code Here

Examples of org.bioinfo.ngs.qc.qualimap.gui.utils.StringUtilsSwing.formatPercentage()

        if (numSelectedRegions > 0) {
            StatsKeeper.Section globalsInRegions = new StatsKeeper.Section("Globals" + postfix);
            globalsInRegions.addRow("Regions size/percentage of reference",
                    sdf.formatLong((numBasesInsideRegions))
                            + " / " + sdf.formatPercentage(getSelectedRegionsPercentage()));


            globalsInRegions.addRow("Mapped reads",
                    sdf.formatLong(numMappedReadsInRegions)
                            + "  /  " + sdf.formatPercentage(percentageMappedReadsInRegions));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.