public class RecalibrationExporter extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SUFFIX
Suffix for the mgf file containing all recalibrated spectra.
|
| Constructor and Description |
|---|
RecalibrationExporter() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getRecalibratedFileName(String fileName)
Returns the name of the recalibrated file.
|
static ArrayList<File> |
writeRecalibratedSpectra(boolean recalibratePrecursors,
boolean recalibrateFragmentIons,
File folder,
com.compomics.util.experiment.identification.Identification identification,
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.waiting.WaitingHandler waitingHandler)
Writes the recalibrated spectra in files named according to
getRecalibratedFileName in the given folder.
|
public static final String SUFFIX
public static ArrayList<File> writeRecalibratedSpectra(boolean recalibratePrecursors, boolean recalibrateFragmentIons, File folder, com.compomics.util.experiment.identification.Identification identification, 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.waiting.WaitingHandler waitingHandler) throws IOException
recalibratePrecursors - boolean indicating whether precursor ions
shall be recalibratedrecalibrateFragmentIons - boolean indicating whether fragment ions
shall be recalibratedfolder - folder where recalibrated files shall be writtenidentification - identification of the projectsequenceProvider - the sequence providerspectrumProvider - the spectrum provideridentificationParameters - the identification parameterswaitingHandler - waiting handler displaying progress and used to
cancel the process. Can be null. The method does not call RunFinished.IOException - exception thrown whenever an error occurred while
writing the fileCopyright © 2021. All rights reserved.