Package net.sf.mzmine.modules.peaklistmethods.identification.mascot.data

Examples of net.sf.mzmine.modules.peaklistmethods.identification.mascot.data.ModificationPeptide


       * UnitMass. if the modification is fixed , don't add the mass
       * because Mascot already included an equivalent modified amino acid
       * mass.
       */
      if (modifications.containsKey(i + 1)) {
        ModificationPeptide mod = modifications.get(i + 1);
        if (mod.isFixed())
          aminoMass += mod.getMass();
      }

      peptideMasses[i] = aminoMass;
    }
    return peptideMasses;
View Full Code Here


    if (sites.endsWith(")")) {
      sites = sites.replace("(", "");
      sites = sites.replace(")", "");
      for (int i = 0; i < sites.length(); i++) {
        mass = Double.parseDouble((String) section.get(name));
        mods.add(new ModificationPeptide(name, mass, sites.charAt(i),
            fixed));
      }
    }
    return mods.toArray(new ModificationPeptide[0]);
  }
View Full Code Here

TOP

Related Classes of net.sf.mzmine.modules.peaklistmethods.identification.mascot.data.ModificationPeptide

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.