Class PsFragmentSection
java.lang.Object
eu.isas.peptideshaker.export.sections.PsFragmentSection
This class outputs the PSM related export features.
- Author:
- Marc Vaudel
-
Constructor Summary
ConstructorsConstructorDescriptionPsFragmentSection(ArrayList<com.compomics.util.io.export.ExportFeature> exportFeatures, boolean indexes, boolean header, com.compomics.util.io.export.ExportWriter writer) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidWrites the header of this section.voidwriteSection(String spectrumFile, String spectrumTitle, com.compomics.util.experiment.identification.SpectrumIdentificationAssumption spectrumIdentificationAssumption, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.parameters.identification.IdentificationParameters identificationParameters, String linePrefix, com.compomics.util.waiting.WaitingHandler waitingHandler) Writes the desired section.
-
Constructor Details
-
PsFragmentSection
public PsFragmentSection(ArrayList<com.compomics.util.io.export.ExportFeature> exportFeatures, boolean indexes, boolean header, com.compomics.util.io.export.ExportWriter writer) Constructor.- Parameters:
exportFeatures- The features to export in this section.indexes- A boolean indicating whether the line index should be written.header- A boolean indicates whether the table header should be written.writer- The writer which will write to the file.
-
-
Method Details
-
writeSection
public void writeSection(String spectrumFile, String spectrumTitle, com.compomics.util.experiment.identification.SpectrumIdentificationAssumption spectrumIdentificationAssumption, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.parameters.identification.IdentificationParameters identificationParameters, String linePrefix, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException Writes the desired section.- Parameters:
spectrumFile- The file name of the spectrum.spectrumTitle- The title of the spectrum.spectrumIdentificationAssumption- The spectrum identification of interest.sequenceProvider- The sequence provider.spectrumProvider- The spectrum provider.identificationParameters- The identification parameters.linePrefix- The line prefix.waitingHandler- The waiting handler.- Throws:
IOException- exception thrown whenever an error occurred while writing the file
-
writeHeader
Writes the header of this section.- Throws:
IOException- exception thrown whenever an error occurred while writing the file
-