Class MsgfProcessBuilder
java.lang.Object
eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
eu.isas.searchgui.processbuilders.MsgfProcessBuilder
- All Implemented Interfaces:
Runnable
This class will set up and start a process to perform an MS-GF+ search.
- Author:
- Harald Barsnes, Marc Vaudel
-
Field Summary
FieldsFields inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
exceptionHandler, waitingHandler -
Constructor Summary
ConstructorsConstructorDescriptionMsgfProcessBuilder(File msgfDirectory, File msgfTempFolder, File mgfFile, File fastaFile, File outputFile, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, int nThreads, boolean isCommandLine) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the file name of the currently processed file.getType()Returns the type of the process.Methods inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
endProcess, run, startProcess
-
Field Details
-
EXECUTABLE_FILE_NAME
The name of the MS-GF+ executable.- See Also:
-
-
Constructor Details
-
MsgfProcessBuilder
public MsgfProcessBuilder(File msgfDirectory, File msgfTempFolder, File mgfFile, File fastaFile, File outputFile, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, int nThreads, boolean isCommandLine) throws IOException, ClassNotFoundException Constructor.- Parameters:
msgfDirectory- directory location of MSGFPlus.jarmsgfTempFolder- the temp folder for MSGF+mgfFile- the file containing the spectrafastaFile- the FASTA fileoutputFile- the output filesearchParameters- the search parameterswaitingHandler- the waiting handlerexceptionHandler- the handler of exceptionsnThreads- the number of threads to useisCommandLine- true if run from the command line, false if GUI- Throws:
IOException- exception thrown whenever an error occurred while getting the Java homeClassNotFoundException- exception thrown whenever an error occurred while getting the SearchGUI path
-
-
Method Details
-
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
-