Package eu.isas.reporter.cli
Class CLIExportMethods
java.lang.Object
eu.isas.reporter.cli.CLIExportMethods
This class groups standard methods used by the different command line
interfaces.
- Author:
- Marc Vaudel, Harald Barsnes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidexportDocumentation(ReportCLIInputBean reportCLIInputBean, String reportType, com.compomics.util.waiting.WaitingHandler waitingHandler) Writes the documentation corresponding to an export given the command line arguments.static voidexportReport(ReportCLIInputBean reportCLIInputBean, String reportType, String experiment, eu.isas.peptideshaker.preferences.ProjectDetails projectDetails, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.biology.genes.GeneMaps geneMaps, com.compomics.util.experiment.identification.features.IdentificationFeaturesGenerator identificationFeaturesGenerator, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider, QuantificationFeaturesGenerator quantificationFeaturesGenerator, com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, ReporterSettings reporterSettings, com.compomics.util.parameters.identification.IdentificationParameters identificationParameters, int nSurroundingAA, com.compomics.util.parameters.quantification.spectrum_counting.SpectrumCountingParameters spectrumCountingParameters, com.compomics.util.waiting.WaitingHandler waitingHandler) Writes an export according to the command line settings contained in the reportCLIInputBean.
-
Constructor Details
-
CLIExportMethods
public CLIExportMethods()
-
-
Method Details
-
exportReport
public static void exportReport(ReportCLIInputBean reportCLIInputBean, String reportType, String experiment, eu.isas.peptideshaker.preferences.ProjectDetails projectDetails, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.biology.genes.GeneMaps geneMaps, com.compomics.util.experiment.identification.features.IdentificationFeaturesGenerator identificationFeaturesGenerator, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.experiment.io.biology.protein.ProteinDetailsProvider proteinDetailsProvider, QuantificationFeaturesGenerator quantificationFeaturesGenerator, com.compomics.util.experiment.quantification.reporterion.ReporterIonQuantification reporterIonQuantification, ReporterSettings reporterSettings, com.compomics.util.parameters.identification.IdentificationParameters identificationParameters, int nSurroundingAA, com.compomics.util.parameters.quantification.spectrum_counting.SpectrumCountingParameters spectrumCountingParameters, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException, IllegalArgumentException, SQLException, ClassNotFoundException, InterruptedException, org.apache.commons.math.MathException Writes an export according to the command line settings contained in the reportCLIInputBean.- Parameters:
reportCLIInputBean- the command line settingsreportType- the report typeexperiment- the experiment of the projectprojectDetails- the project details of the projectidentification- the identification of the projectgeneMaps- the gene mapsidentificationFeaturesGenerator- the identification features generatorsequenceProvider- the sequence providerspectrumProvider- the spectrum providerproteinDetailsProvider- the protein details providerquantificationFeaturesGenerator- the object generating the quantification featuresreporterIonQuantification- the reporter ion quantification object containing the quantification configurationreporterSettings- the reporter settingsidentificationParameters- the identification parameters usednSurroundingAA- the number of amino acids to export on the side of peptide sequencesspectrumCountingParameters- the spectrum counting parameterswaitingHandler- waiting handler displaying feedback to the user- Throws:
IOException- exception thrown whenever an IO exception occurred while reading or writing to a fileInterruptedException- exception thrown whenever a threading issue occurred while interacting with the databaseSQLException- exception thrown whenever an SQL exception occurred while interacting with the databaseClassNotFoundException- exception thrown whenever an exception occurred while deserializing an objectorg.apache.commons.math.MathException- exception thrown whenever an exception occurred while estimating the theoretical coverage of a proteinIllegalArgumentException
-
exportDocumentation
public static void exportDocumentation(ReportCLIInputBean reportCLIInputBean, String reportType, com.compomics.util.waiting.WaitingHandler waitingHandler) throws IOException Writes the documentation corresponding to an export given the command line arguments.- Parameters:
reportCLIInputBean- the command line argumentsreportType- the type of report of interestwaitingHandler- waiting handler displaying feedback to the user- Throws:
IOException- exception thrown whenever an IO exception occurred while reading or writing to a file
-