Package eu.isas.reporter.calculation
Class QuantificationFeaturesGenerator
java.lang.Object
eu.isas.reporter.calculation.QuantificationFeaturesGenerator
The quantification features generator provides various quantification
features.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
ConstructorsConstructorDescriptionQuantificationFeaturesGenerator(QuantificationFeaturesCache quantificationFeaturesCache, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.identification.features.IdentificationFeaturesGenerator identificationFeaturesGenerator, ReporterSettings reporterSettings, com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters sequenceMatchingParameters) Constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetDeisotoper(com.compomics.util.experiment.quantification.reporterion.ReporterMethod reporterMethod, double reporterIonMassAccuracy) Returns the deisotoper corresponding to the given method.getPeptideMatchQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.experiment.identification.matches.PeptideMatch peptideMatch, com.compomics.util.waiting.WaitingHandler waitingHandler) Returns the quantification details of a peptide match.getProteinMatchQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, long matchKey, com.compomics.util.waiting.WaitingHandler waitingHandler) Returns the quantification details of a protein match.getPSMQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, Long matchKey) Returns the quantification details of a PSM.getPTMQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, String ptmName, long matchKey, int site, com.compomics.util.waiting.WaitingHandler waitingHandler) Returns the quantification details of a PTM.Returns the quantification features cache.getSpectrumQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, ReporterIonSelectionSettings reporterIonSelectionSettings, com.compomics.util.experiment.identification.matches.SpectrumMatch aSpectrumMatch) Returns the quantification details of a spectrum.voidsetQuantificationFeaturesCache(QuantificationFeaturesCache quantificationFeaturesCache) Sets the quantification features cache.
-
Constructor Details
-
QuantificationFeaturesGenerator
public QuantificationFeaturesGenerator(QuantificationFeaturesCache quantificationFeaturesCache, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.identification.features.IdentificationFeaturesGenerator identificationFeaturesGenerator, ReporterSettings reporterSettings, com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters sequenceMatchingParameters) Constructor.- Parameters:
quantificationFeaturesCache- the cache to use to store quantification resultsidentification- the identification object containing all identification resultsidentificationFeaturesGenerator- the identification features generatorreporterSettings- the reporter settingsreporterIonQuantification- the reporter ion quantification settingssearchParameters- the identification parameters used for the identification of spectrasequenceMatchingParameters- the sequence matching preferences
-
-
Method Details
-
getProteinMatchQuantificationDetails
public ProteinQuantificationDetails getProteinMatchQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, long matchKey, com.compomics.util.waiting.WaitingHandler waitingHandler) Returns the quantification details of a protein match.- Parameters:
spectrumProvider- the spectrum providermatchKey- the key of the match of interestwaitingHandler- the waiting handler- Returns:
- the quantification details of the match
-
getPTMQuantificationDetails
public ProteinPtmQuantificationDetails getPTMQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, String ptmName, long matchKey, int site, com.compomics.util.waiting.WaitingHandler waitingHandler) throws SQLException, IOException, ClassNotFoundException, InterruptedException Returns the quantification details of a PTM.- Parameters:
spectrumProvider- the spectrum providerptmName- the name of the PTMmatchKey- the key of the match of interestsite- the site on the protein sequencewaitingHandler- the waiting handler- Returns:
- the quantification details of the match
- Throws:
SQLException- thrown if an SQLException occursIOException- thrown if an IOExceptionClassNotFoundException- thrown if a ClassNotFoundExceptionInterruptedException- thrown if an InterruptedException
-
getPeptideMatchQuantificationDetails
public PeptideQuantificationDetails getPeptideMatchQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.experiment.identification.matches.PeptideMatch peptideMatch, com.compomics.util.waiting.WaitingHandler waitingHandler) Returns the quantification details of a peptide match.- Parameters:
spectrumProvider- the spectrum providerpeptideMatch- the peptide matchwaitingHandler- the waiting handler- Returns:
- the quantification details of the match
-
getPSMQuantificationDetails
public PsmQuantificationDetails getPSMQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, Long matchKey) Returns the quantification details of a PSM.- Parameters:
spectrumProvider- the spectrum providermatchKey- the key of the match of interest- Returns:
- the quantification details of the match
-
getSpectrumQuantificationDetails
public SpectrumQuantificationDetails getSpectrumQuantificationDetails(com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, ReporterIonSelectionSettings reporterIonSelectionSettings, com.compomics.util.experiment.identification.matches.SpectrumMatch aSpectrumMatch) Returns the quantification details of a spectrum.- Parameters:
spectrumProvider- the spectrum providerreporterIonQuantification- the quantification objectreporterIonSelectionSettings- the reporter ion selection settingsaSpectrumMatch- the spectrum match of interest- Returns:
- the quantification details of the match
-
getDeisotoper
public Deisotoper getDeisotoper(com.compomics.util.experiment.quantification.reporterion.ReporterMethod reporterMethod, double reporterIonMassAccuracy) Returns the deisotoper corresponding to the given method.- Parameters:
reporterMethod- the reporter methodreporterIonMassAccuracy- the mass accuracy in the reporter ion region- Returns:
- the deisotoper corresponding to the given method
-
getQuantificationFeaturesCache
Returns the quantification features cache.- Returns:
- the quantification features cache
-
setQuantificationFeaturesCache
Sets the quantification features cache.- Parameters:
quantificationFeaturesCache- the quantification features cache
-