public class DefaultGlycanMassCalculator extends Object implements GlycanMassCalculator
| Constructor and Description |
|---|
DefaultGlycanMassCalculator() |
| Modifier and Type | Method and Description |
|---|---|
double |
calculateMz(double molecularMass,
int charge,
FragmentType fragmentType)
Return the value of the mass over charge.
|
CutIndexes[] |
getAllInternalTypeCleavage(Monosaccharide monosaccharide)
Return all possible type of internal cleavage for the monosaccharide of interest
Before call this method be sure that the molecularMass it is correct.
|
double |
getCrossRingLossMass(IonType ionType,
int attachCarbon,
Monosaccharide cleavedMonosaccaride,
CutIndexes cutIndexes)
Return the value of mass that the glycan have lost during the crossring fragmentation depending on the ion type.
|
Composition |
getGlycosidicDeltaComposition(IonType ionType)
Return the value of mass that the glycan have lost during the glycosidic fragmentation depending on the ion type.
|
double |
getGlycosidicDeltaMass(IonType ionType)
Return the value of mass that the glycan have lost during the glycosidic fragmentation depending on the ion type.
|
public final double getCrossRingLossMass(IonType ionType, int attachCarbon, Monosaccharide cleavedMonosaccaride, CutIndexes cutIndexes)
getCrossRingLossMass in interface GlycanMassCalculatorionType - the type of ion taken into account.attachCarbon - is the number of a carbon that is attached to the remaining part of the ring.cleavedMonosaccaride - the cleaved monosaccharide in the crossring fragment.cutIndexes - if is a x or a ion, this paramenter specify the positions of the cut in the monosaccharide ring.public final double getGlycosidicDeltaMass(IonType ionType)
getGlycosidicDeltaMass in interface GlycanMassCalculatorionType - the type of ion taken into account.public final Composition getGlycosidicDeltaComposition(IonType ionType)
getGlycosidicDeltaComposition in interface GlycanMassCalculatorionType - the type of ion taken into account.public final double calculateMz(double molecularMass,
int charge,
FragmentType fragmentType)
calculateMz in interface GlycanMassCalculatormolecularMass - the molecular mass.charge - the charge of which calculate.fragmentType - the fragment type of interest.public final CutIndexes[] getAllInternalTypeCleavage(Monosaccharide monosaccharide)
getAllInternalTypeCleavage in interface GlycanMassCalculatormonosaccharide - the monosaccharide of interest.Copyright © 2016. All Rights Reserved.