public class TieBreaker extends Object
| Constructor and Description |
|---|
TieBreaker(HashMap<String,Integer> proteinCount,
com.compomics.util.parameters.identification.IdentificationParameters identificationParameters,
com.compomics.util.experiment.identification.spectrum_annotation.spectrum_annotators.PeptideSpectrumAnnotator peptideSpectrumAnnotator,
com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider,
com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption |
getBestPeptideAssumption(String spectrumFile,
String spectrumTitle,
com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption peptideAssumption1,
com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption peptideAssumption2,
boolean silentFail)
Returns the best assumption between the two given possibilities for the
given spectrum.
|
public TieBreaker(HashMap<String,Integer> proteinCount, com.compomics.util.parameters.identification.IdentificationParameters identificationParameters, com.compomics.util.experiment.identification.spectrum_annotation.spectrum_annotators.PeptideSpectrumAnnotator peptideSpectrumAnnotator, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider)
proteinCount - Map of the occurrence of the protein accessions.identificationParameters - The identification parameters.peptideSpectrumAnnotator - The peptide spectrum annotator.sequenceProvider - The sequence provider.spectrumProvider - The spectrum provider.public com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption getBestPeptideAssumption(String spectrumFile, String spectrumTitle, com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption peptideAssumption1, com.compomics.util.experiment.identification.spectrum_assumptions.PeptideAssumption peptideAssumption2, boolean silentFail)
spectrumFile - The spectrum file name.spectrumTitle - The spectrum title.peptideAssumption1 - The first possible peptide.peptideAssumption2 - The second possible peptide.silentFail - If false an exception will be thrown if tie could not
be broken.Copyright © 2021. All rights reserved.