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

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


      for (int j = 0; j < i; j++) {
        bMass += peptideMasses[j];
      }
      bMass = bMass + hydrogenMass;

      bIons.add(new FragmentIon(bMass, FragmentIonType.B_ION, i));

    }

    return bIons;
  }
View Full Code Here


       */
      for (int j = 0; j < i; j++) {
        yMass += peptideMasses[(peptideMasses.length - 1) - j];
      }
      yMass = yMass + ctermMass + (2 * hydrogenMass);
      yIons.add(new FragmentIon(yMass, FragmentIonType.Y_ION, i));
    }

    return yIons;
  }
View Full Code Here

    double H2 = hydrogenMass * 2;

    for (int i = 0; i < bIons.length; i++) {
      // b-ion minus 'CO' plus 'H2'
      mass = bIons[i].getMass() - CO + H2;
      aIons.add(new FragmentIon(mass, FragmentIonType.A_ION, (i + 1)));
    }
    return aIons;
  }
View Full Code Here

    double NH3 = nitrogenMass + (hydrogenMass * 3);

    for (int i = 0; i < bIons.length; i++) {
      // b-ion plus 'NH3'
      mass = bIons[i].getMass() + NH3;
      cIons.add(new FragmentIon(mass, FragmentIonType.C_ION, (i + 1)));
    }
    return cIons;
  }
View Full Code Here

    double H2 = hydrogenMass * 2;

    for (int i = 0; i < yIons.length; i++) {
      // y-ion minus 'NH3' plus 'H2'
      mass = yIons[i].getMass() + CO - H2;
      xIons.add(new FragmentIon(mass, FragmentIonType.X_ION, (i + 1)));
    }
    return xIons;
  }
View Full Code Here

    double NH3 = nitrogenMass + (hydrogenMass * 3);

    for (int i = 0; i < bIons.length; i++) {
      // y-ion minus 'NH3'
      mass = bIons[i].getMass() - NH3;
      cIons.add(new FragmentIon(mass, FragmentIonType.Z_ION, (i + 1)));
    }
    return cIons;
  }
View Full Code Here

    double mass;

    for (int i = 0; i < zIons.length; i++) {
      // b-ion minus 'CO' plus 'H2'
      mass = zIons[i].getMass() + hydrogenMass;
      zhIons.add(new FragmentIon(mass, FragmentIonType.ZH_ION, (i + 1)));
    }
    return zhIons;
  }
View Full Code Here

    double mass;

    for (int i = 0; i < zIons.length; i++) {
      // z-ion plus 'H2'
      mass = zIons[i].getMass() + (hydrogenMass * 2);
      zhhIons.add(new FragmentIon(mass, FragmentIonType.ZHH_ION, (i + 1)));
    }
    return zhhIons;
  }
View Full Code Here

    Vector<FragmentIon> bDoubleIons = new Vector<FragmentIon>();
    double mass;
    for (int i = 0; i < bIons.length; i++) {
      // b-ion plus 'H' over a double charge
      mass = (bIons[i].getMass() + hydrogenMass) / 2.0;
      bDoubleIons.add(new FragmentIon(mass, ionType, i + 1));
    }
    return bDoubleIons;
  }
View Full Code Here

      for (int i = indexFirstIonLossH2O; i < bIons.length; i++) {
        // b-ion minus 'H2O'
        mass = bIons[i].getMass() - lossMass;
        if (doubleCharged)
          mass /= 2.0;
        bIonsLossH20.add(new FragmentIon(mass, ionType, i + 1));
      }
    }
    return bIonsLossH20;
  }
View Full Code Here

TOP

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

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.