Class MetaMorpheusProcessBuilder
java.lang.Object
eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
eu.isas.searchgui.processbuilders.MetaMorpheusProcessBuilder
- All Implemented Interfaces:
Runnable
ProcessBuilder for the MetaMorpheus search engine.
- Author:
- Harald Barsnes
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe available MetaMorpheus task types. -
Field Summary
Fields inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
exceptionHandler, waitingHandler -
Constructor Summary
ConstructorsConstructorDescriptionMetaMorpheusProcessBuilder(File metaMorpheusFolder, boolean metaMorpheusLocationSetByUser, File metaMorpheusTempFolder, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, File spectrumFile, int threads, File fastaFile, File outputFile, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the file name of the currently processed file.static StringgetExecutableFileName(boolean local) Returns the name of the MetaMorpheus executable.getType()Returns the type of the process.Methods inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
endProcess, run, startProcess
-
Constructor Details
-
MetaMorpheusProcessBuilder
public MetaMorpheusProcessBuilder(File metaMorpheusFolder, boolean metaMorpheusLocationSetByUser, File metaMorpheusTempFolder, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, File spectrumFile, int threads, File fastaFile, File outputFile, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler) throws IOException Constructor.- Parameters:
metaMorpheusFolder- the MetaMorpheus foldermetaMorpheusLocationSetByUser- boolean indicating whether the location of MetaMorpheus was set by the usermetaMorpheusTempFolder- the MetaMorpheus temp foldersearchParameters- the search parametersspectrumFile- the spectrum filethreads- the number of threads to usefastaFile- the FASTA fileoutputFile- the output filewaitingHandler- the waiting handlerexceptionHandler- the handler of exceptions- Throws:
IOException- thrown whenever an IO error occurs
-
-
Method Details
-
getExecutableFileName
Returns the name of the MetaMorpheus executable.- Parameters:
local- if true, the execution will be expected to run locally- Returns:
- the name of the MetaMorpheus executable
-
getType
Description copied from class:SearchGUIProcessBuilderReturns the type of the process.- Specified by:
getTypein classSearchGUIProcessBuilder- Returns:
- the type of the process
-
getCurrentlyProcessedFileName
Description copied from class:SearchGUIProcessBuilderReturns the file name of the currently processed file.- Specified by:
getCurrentlyProcessedFileNamein classSearchGUIProcessBuilder- Returns:
- the file name of the currently processed file
-