public static class PeptideNeutralLossPeakGenerator.ModifiedAaPresencePredicate extends Object implements com.google.common.base.Predicate<PeptideFragment>
aminoAcids
that has a modification which is equal to the mass of one modification in modifications.
For example if the amino acid set is {S, T} and the modification set is {HPO3:phosphate} then a neutral loss is generated for PEPTS(HPO3)IDE, PEPTS(HPO3:phosphate)IDE and PEPTS(H1P1O3)IDE but not PEPTS(79.9)IDE or PEPTS(79.9:phosphate)IDE
public boolean apply(PeptideFragment fragment)
apply in interface com.google.common.base.Predicate<PeptideFragment>Copyright © 2016. All Rights Reserved.