public class PeptideNeutralLossPeakGenerator extends Object implements PeptidePeakGenerator<PepFragAnnotation>
modificationPredicate accepts
the fragment.
There are convenience constructors for generating neutral losses depending on the presence of a set of amino acids. To create a neutral loss generator that depends on the presence of a modified amino acid, such as a phosphorylated serine, the ModifiedAaPresencePredicate can be used
There are also static methods to generate neutral losses that are common. Such as water, ammonia and phosphate loss
| Modifier and Type | Class and Description |
|---|---|
static class |
PeptideNeutralLossPeakGenerator.ModifiedAaPresencePredicate
Accepts a PeptideFragment if the fragment contains an amino acid in
aminoAcids
that has a modification which is equal to the mass of one modification in modifications. |
| Constructor and Description |
|---|
PeptideNeutralLossPeakGenerator(Mass massShift,
com.google.common.base.Predicate<PeptideFragment> modificationPredicate,
Set<IonType> ionTypes,
double peakIntensity) |
PeptideNeutralLossPeakGenerator(Mass massShift,
Set<AminoAcid> affectedAA,
Set<IonType> ionTypes,
double peakIntensity) |
| Modifier and Type | Method and Description |
|---|---|
List<AnnotatedPeak<PepFragAnnotation>> |
generatePeaks(Peptide precursor,
PeptideFragment fragment,
int[] charges,
List<AnnotatedPeak<PepFragAnnotation>> peaks)
Generate peaks that are observed for the fragment at the supplied charge states.
|
Set<FragmentType> |
getFragmentTypes() |
static PeptideNeutralLossPeakGenerator |
newAmmoniaLossGenerator(Set<IonType> ionTypes,
double peakIntensity) |
static PeptideNeutralLossPeakGenerator |
newModificationLossGenerator(Mass loss,
Set<AminoAcid> aminoAcids,
Set<Modification> modifications,
Set<ModAttachment> modAttachments,
Set<IonType> ionTypes,
double peakIntensity) |
static PeptideNeutralLossPeakGenerator |
newPhosphateLossGenerator(Set<IonType> ionTypes,
double peakIntensity) |
static PeptideNeutralLossPeakGenerator |
newPhosphoricAcidLossGenerator(Set<IonType> ionTypes,
double peakIntensity) |
static PeptideNeutralLossPeakGenerator |
newWaterLossGenerator(Set<IonType> ionTypes,
double peakIntensity) |
public PeptideNeutralLossPeakGenerator(Mass massShift, Set<AminoAcid> affectedAA, Set<IonType> ionTypes, double peakIntensity)
public PeptideNeutralLossPeakGenerator(Mass massShift, com.google.common.base.Predicate<PeptideFragment> modificationPredicate, Set<IonType> ionTypes, double peakIntensity)
public static PeptideNeutralLossPeakGenerator newWaterLossGenerator(Set<IonType> ionTypes, double peakIntensity)
public static PeptideNeutralLossPeakGenerator newAmmoniaLossGenerator(Set<IonType> ionTypes, double peakIntensity)
public static PeptideNeutralLossPeakGenerator newModificationLossGenerator(Mass loss, Set<AminoAcid> aminoAcids, Set<Modification> modifications, Set<ModAttachment> modAttachments, Set<IonType> ionTypes, double peakIntensity)
public static PeptideNeutralLossPeakGenerator newPhosphateLossGenerator(Set<IonType> ionTypes, double peakIntensity)
public static PeptideNeutralLossPeakGenerator newPhosphoricAcidLossGenerator(Set<IonType> ionTypes, double peakIntensity)
public List<AnnotatedPeak<PepFragAnnotation>> generatePeaks(Peptide precursor, PeptideFragment fragment, int[] charges, List<AnnotatedPeak<PepFragAnnotation>> peaks)
PeptidePeakGeneratorgeneratePeaks in interface PeptidePeakGenerator<PepFragAnnotation>precursor - the peptide that this fragment was derived fromfragment - the fragmentcharges - the charges for which to generate peakspeaks - the list of peakspublic Set<FragmentType> getFragmentTypes()
getFragmentTypes in interface PeptidePeakGenerator<PepFragAnnotation>Copyright © 2016. All Rights Reserved.