public class BestMatchSelection extends Object
| Constructor and Description |
|---|
BestMatchSelection(HashMap<String,Integer> proteinCount,
com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider,
com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider,
com.compomics.util.parameters.identification.IdentificationParameters identificationParameters,
com.compomics.util.experiment.identification.spectrum_annotation.spectrum_annotators.PeptideSpectrumAnnotator peptideSpectrumAnnotator)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption |
getBestMatch(String spectrumFile,
String spectrumTitle,
ArrayList<com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption> assumptions)
Returns the best match for the given spectrum among the given peptide
assumptions.
|
com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption |
getBestMatch(String spectrumFile,
String spectrumTitle,
ArrayList<com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption> assumptions,
boolean silentFail)
Returns the best match for the given spectrum among the given peptide
assumptions.
|
void |
selectBestHit(com.compomics.util.experiment.identification.matches.SpectrumMatch spectrumMatch,
InputMap inputMap,
TargetDecoyMap psmTargetDecoyMap,
com.compomics.util.experiment.identification.Identification identification)
Selects the best hit.
|
public BestMatchSelection(HashMap<String,Integer> proteinCount, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.parameters.identification.IdentificationParameters identificationParameters, com.compomics.util.experiment.identification.spectrum_annotation.spectrum_annotators.PeptideSpectrumAnnotator peptideSpectrumAnnotator)
proteinCount - Map of the occurrence of the protein accessions.sequenceProvider - The sequence provider.spectrumProvider - The spectrum provider.identificationParameters - The identification parameters.peptideSpectrumAnnotator - The peptide spectrum annotator.public void selectBestHit(com.compomics.util.experiment.identification.matches.SpectrumMatch spectrumMatch,
InputMap inputMap,
TargetDecoyMap psmTargetDecoyMap,
com.compomics.util.experiment.identification.Identification identification)
spectrumMatch - The spectrum match.inputMap - The input map.psmTargetDecoyMap - The PSM target decoy map.identification - The identification class.public com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption getBestMatch(String spectrumFile, String spectrumTitle, ArrayList<com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption> assumptions)
spectrumFile - The file name of the spectrum.spectrumTitle - The title of the spectrum.assumptions - A list of peptide assumptions.public com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption getBestMatch(String spectrumFile, String spectrumTitle, ArrayList<com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption> assumptions, boolean silentFail)
spectrumFile - The file name of the spectrum.spectrumTitle - The title of the spectrum.assumptions - A list of peptide assumptions.silentFail - If true, no exception will be thrown if ties cannot be
broken and the first of the best hits will be returned.Copyright © 2021. All rights reserved.