public class TagSpectrumAnnotator extends SpectrumAnnotator
fragmentFactory, intensityLimit, ionMatchKeysCache, isPpm, massShift, massShiftCTerm, massShiftNTerm, maxIsotopicCorrection, minIsotopicCorrection, mzTolerance, pickMostAccuratePeak, precursorCharge, specificAnnotationSettings, spectrumAnnotation, subtractIsotope, theoreticalFragmentIons, unmatchedIons| Constructor and Description |
|---|
TagSpectrumAnnotator() |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<IonMatch> |
getCurrentAnnotation(MSnSpectrum spectrum,
AnnotationSettings annotationSettings,
SpecificAnnotationSettings specificAnnotationSettings)
Returns the currently matched ions with the given settings.
|
static NeutralLossesMap |
getDefaultLosses(Tag tag,
SequenceMatchingPreferences ptmSequenceMatchingSettings)
Returns the possible neutral losses expected by default for a given tag.
|
ArrayList<IonMatch> |
getSpectrumAnnotation(AnnotationSettings annotationSettings,
SpecificAnnotationSettings specificAnnotationSettings,
MSnSpectrum spectrum,
Tag tag)
Returns the spectrum annotations of a spectrum in a list of IonMatches.
|
Tag |
getTag()
Returns the tag to annotate.
|
void |
setTag(Tag newTag,
int precursorCharge)
Sets a new tag to match.
|
chargeValidated, getCurrentlyLoadedSpectrumKey, getDefaultLosses, getExpectedIons, getMassShift, getMassShiftCTerm, getMassShiftNTerm, getSpectrumAnnotation, isAccounted, lossesValidated, matchInSpectrum, matchPeak, matchReporterIon, setMassShift, setMassShifts, setMassTolerance, setSpectrum, setTerminalMassShifts, updateMassShiftspublic Tag getTag()
public void setTag(Tag newTag, int precursorCharge)
newTag - the new tagprecursorCharge - the new precursor chargepublic static NeutralLossesMap getDefaultLosses(Tag tag, SequenceMatchingPreferences ptmSequenceMatchingSettings) throws IOException, InterruptedException, ClassNotFoundException
tag - the tag of interestptmSequenceMatchingSettings - the sequence matching settings for PTM
to peptide mappingIOException - exception thrown whenever an error occurred while
interacting with a file while mapping potential modification sitesInterruptedException - exception thrown whenever a threading issue
occurred while mapping potential modification sitesClassNotFoundException - exception thrown whenever an error
occurred while deserializing an object from the ProteinTreepublic ArrayList<IonMatch> getSpectrumAnnotation(AnnotationSettings annotationSettings, SpecificAnnotationSettings specificAnnotationSettings, MSnSpectrum spectrum, Tag tag)
annotationSettings - the annotation settingsspecificAnnotationSettings - the specific annotation settingsspectrum - the spectrum to matchtag - the tag of interestpublic ArrayList<IonMatch> getCurrentAnnotation(MSnSpectrum spectrum, AnnotationSettings annotationSettings, SpecificAnnotationSettings specificAnnotationSettings)
SpectrumAnnotatorgetCurrentAnnotation in class SpectrumAnnotatorspectrum - the spectrum of interestannotationSettings - the annotation settingsspecificAnnotationSettings - the specific annotation settingsCopyright © 2016. All rights reserved.