Class MsAmandaProcessBuilder
java.lang.Object
eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
eu.isas.searchgui.processbuilders.MsAmandaProcessBuilder
- All Implemented Interfaces:
Runnable
This class will build files and start a process to perform an MS Amanda
search.
- Author:
- Harald Barsnes, Marc Vaudel
-
Field Summary
FieldsFields inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
exceptionHandler, waitingHandler -
Constructor Summary
ConstructorsConstructorDescriptionMsAmandaProcessBuilder(File msAmandaDirectory, File msAmandaTempFolder, File mgfFile, File fastaFile, String outputPath, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, int nThreads) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the file name of the currently processed file.getType()Returns the type of the process.booleanReturns true if target and decoy are ranked separately, false if shared rank.voidsetReportBothBestHitsForTD(boolean reportBothBestHitsForTD) Set if target and decoy are ranked separately or shared.Methods inherited from class eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
endProcess, run, startProcess
-
Field Details
-
EXECUTABLE_FILE_NAME
The name of the MS Amanda executable.- See Also:
-
-
Constructor Details
-
MsAmandaProcessBuilder
public MsAmandaProcessBuilder(File msAmandaDirectory, File msAmandaTempFolder, File mgfFile, File fastaFile, String outputPath, com.compomics.util.parameters.identification.search.SearchParameters searchParameters, com.compomics.util.experiment.io.biology.protein.FastaParameters fastaParameters, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler, int nThreads) throws IOException Constructor.- Parameters:
msAmandaDirectory- directory location of MSAmanda.exemsAmandaTempFolder- the folder for temp MS Amanda filesmgfFile- the spectrum filefastaFile- the FASTA fileoutputPath- path where to output the resultssearchParameters- the search parametersfastaParameters- the FASTA parameterswaitingHandler- the waiting handlerexceptionHandler- the handler of exceptionsnThreads- the number of threads to use (not supported by ms amanda)- Throws:
IOException- thrown whenever an IO error occurs
-
-
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
-
reportBothBestHitsForTD
public boolean reportBothBestHitsForTD()Returns true if target and decoy are ranked separately, false if shared rank.- Returns:
- true if target and decoy are ranked separately, false if shared rank
-
setReportBothBestHitsForTD
public void setReportBothBestHitsForTD(boolean reportBothBestHitsForTD) Set if target and decoy are ranked separately or shared.- Parameters:
reportBothBestHitsForTD- the reportBothBestHitsForTD to set
-