Package com.compomics.util.experiment.massspectrometry

Examples of com.compomics.util.experiment.massspectrometry.Charge


        }

        // set the min/max precursor charge
        prideParametersReport += "<br><br><b>Min Precusor Charge:</b> ";
        if (minPrecursorCharge != null) {
            prideSearchParameters.setMinChargeSearched(new Charge(Charge.PLUS, minPrecursorCharge));
            prideParametersReport += minPrecursorCharge;
        } else {
            prideParametersReport += prideSearchParameters.getMinChargeSearched().value + " (default)";
        }
        prideParametersReport += "<br><b>Max Precusor Charge:</b> ";
        if (maxPrecursorCharge != null) {
            prideSearchParameters.setMaxChargeSearched(new Charge(Charge.PLUS, maxPrecursorCharge));
            prideParametersReport += maxPrecursorCharge;
        } else {
            prideParametersReport += prideSearchParameters.getMaxChargeSearched().value + " (default)";
        }
View Full Code Here


                    PeptideFragmentIon peptideFragmentIon = (PeptideFragmentIon) ionMatch.ion;

                    if (peptideFragmentIon.getNeutralLosses().isEmpty()) {

                        //Q1
                        Charge charge = bestAssumption.getIdentificationCharge();
                        double theoreticPrecMz = (peptide.getMass() + charge.value * ElementaryIon.proton.getTheoreticMass()) / charge.value;
                        writer.write(theoreticPrecMz + SEPARATOR);

                        //Q3
                        double theoreticFragMz = ionMatch.ion.getTheoreticMz(charge.value);
View Full Code Here

            }
        }
        if (fractionMolecularWeights != null) {
            updatedVersion.setFractionMolecularWeights(fractionMolecularWeights);
        }
        updatedVersion.setMaxChargeSearched(new Charge(Charge.PLUS, 4));
        updatedVersion.setMinChargeSearched(new Charge(Charge.PLUS, 2));
        updatedVersion.setMaxEValue(100.0);
        updatedVersion.setHitListLength(100);
        updatedVersion.setMinimalChargeForMultipleChargedFragments(new Charge(Charge.PLUS, 3));
        updatedVersion.setMaxPeptideLength(20);
        updatedVersion.setMinPeptideLength(6);
        updatedVersion.setEstimateCharge(true);
        updatedVersion.setRemovePrecursor(false);
        updatedVersion.setScalePrecursor(false);
View Full Code Here

TOP

Related Classes of com.compomics.util.experiment.massspectrometry.Charge

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.