Package eu.isas.reporter.cli
Class ReportCLI
java.lang.Object
eu.isas.peptideshaker.preferences.UserPreferencesParent
eu.isas.peptideshaker.utils.PsdbParent
eu.isas.reporter.cli.ReportCLI
- All Implemented Interfaces:
AutoCloseable
public class ReportCLI
extends eu.isas.peptideshaker.utils.PsdbParent
This class performs the command line export of reports in command line.
- Author:
- Marc Vaudel, Harald Barsnes
-
Field Summary
Fields inherited from class eu.isas.peptideshaker.utils.PsdbParent
dbFolder, displayParameters, filterParameters, geneMaps, identification, identificationFeaturesGenerator, identificationParameters, metrics, msFileHandler, projectDetails, projectParameters, projectType, proteinDetailsProvider, psdbFile, sequenceProvider, spectrumCountingParametersFields inherited from class eu.isas.peptideshaker.preferences.UserPreferencesParent
userPreferences -
Constructor Summary
ConstructorsConstructorDescriptionReportCLI(ReportCLIInputBean reportCLIInputBean) Construct a new ReportCLI runnable from a ReportCLI Bean. -
Method Summary
Methods inherited from class eu.isas.peptideshaker.utils.PsdbParent
close, getDbFolder, getDisplayParameters, getExtendedProjectReport, getFilterParameters, getGeneMaps, getIdentification, getIdentificationFeaturesGenerator, getIdentificationParameters, getMetrics, getProjectDetails, getProjectParameters, getProjectType, getProteinDetailsProvider, getPsdbFile, getPsdbImportFromZip, getSequenceProvider, getSpectrumCountingParameters, getSpectrumProvider, getUserParameters, loadFastaFile, loadPsdbFile, loadPsdbFromZipFile, loadSpectrumFile, loadSpectrumFile, loadSpectrumFiles, loadSpectrumFiles, resetIdentificationFeaturesGenerator, saveProject, setDbFolder, setDefaultParameters, setDisplayParameters, setFilterParameters, setGeneMaps, setIdentification, setIdentificationFeaturesGenerator, setIdentificationParameters, setMetrics, setMsFileHandler, setProject, setProjectDetails, setProjectType, setProteinDetailsProvider, setPsdbFile, setPsdbImportFromZip, setSequenceProvider, setSpectrumCountingParametersMethods inherited from class eu.isas.peptideshaker.preferences.UserPreferencesParent
loadUserParameters, saveUserParameters
-
Constructor Details
-
ReportCLI
Construct a new ReportCLI runnable from a ReportCLI Bean. When initialization is successful, calling "run" will open the PeptideShaker project and write the desired output files.- Parameters:
reportCLIInputBean- the input bean
-
-
Method Details
-
call
Calling this method will run the configured Reporter process.- Returns:
- returns 1 if the process was canceled
-
main
Starts the launcher by calling the launch method. Use this as the main class in the jar file.- Parameters:
args- the command line arguments
-
toString
-
closePeptideShaker
Close the Reporter instance by clearing up factories and cache.- Throws:
IOException- thrown if an exception occurred when closing the connection to a fileSQLException- thrown if an exception occurred when closing the connection to the back-end databaseInterruptedException- thrown if a threading error occurred
-