public class PeptideShakerCLI extends PsdbParent implements Callable
dbFolder, displayParameters, filterParameters, geneMaps, identification, identificationFeaturesGenerator, identificationParameters, metrics, msFileHandler, projectDetails, projectParameters, projectType, proteinDetailsProvider, psdbFile, sequenceProvider, spectrumCountingParametersuserPreferences| Constructor and Description |
|---|
PeptideShakerCLI()
Construct a new PeptideShakerCLI runnable.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
call() |
static void |
closePeptideShaker(com.compomics.util.experiment.identification.Identification identification)
Close the PeptideShaker instance.
|
void |
createProject()
Creates the PeptideShaker project based on the identification files
provided in the command line input
|
static String |
getLogFileMessage()
Returns the "see the log file" message.
|
static void |
main(String[] args)
Starts the launcher by calling the launch method.
|
static void |
redirectErrorStream(File aLogFolder)
Redirects the error stream to the PeptideShaker.log of a given folder.
|
void |
setPeptideShakerCLIInputBean(PeptideShakerCLIInputBean cliInputBean)
Set the PeptideShakerCLIInputBean.
|
String |
toString() |
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, setSpectrumCountingParametersloadUserParameters, saveUserParameterspublic PeptideShakerCLI()
public void setPeptideShakerCLIInputBean(PeptideShakerCLIInputBean cliInputBean)
cliInputBean - the PeptideShakerCLIInputBeanpublic void createProject()
throws IOException,
InterruptedException,
TimeoutException
IOException - exception thrown if an error occurs while
reading or writing a fileInterruptedException - exception thrown if a thread is
interruptedTimeoutException - exception thrown if a
process times outpublic static void closePeptideShaker(com.compomics.util.experiment.identification.Identification identification)
throws IOException,
SQLException
identification - the identification to closeIOException - exception thrown whenever an error occurred
while writing the objectSQLException - exception thrown whenever an error occurred while
closing the database connectionpublic static void redirectErrorStream(File aLogFolder)
aLogFolder - the folder where to save the logpublic static String getLogFileMessage()
public static void main(String[] args)
args - the command line argumentsCopyright © 2021. All rights reserved.