Class MetaMorpheusProcessBuilder

java.lang.Object
eu.isas.searchgui.processbuilders.SearchGUIProcessBuilder
eu.isas.searchgui.processbuilders.MetaMorpheusProcessBuilder
All Implemented Interfaces:
Runnable

public class MetaMorpheusProcessBuilder extends SearchGUIProcessBuilder
ProcessBuilder for the MetaMorpheus search engine.
Author:
Harald Barsnes
  • 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 folder
      metaMorpheusLocationSetByUser - boolean indicating whether the location of MetaMorpheus was set by the user
      metaMorpheusTempFolder - the MetaMorpheus temp folder
      searchParameters - the search parameters
      spectrumFile - the spectrum file
      threads - the number of threads to use
      fastaFile - the FASTA file
      outputFile - the output file
      waitingHandler - the waiting handler
      exceptionHandler - the handler of exceptions
      Throws:
      IOException - thrown whenever an IO error occurs
  • Method Details

    • getExecutableFileName

      public static String getExecutableFileName(boolean local)
      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

      public String getType()
      Description copied from class: SearchGUIProcessBuilder
      Returns the type of the process.
      Specified by:
      getType in class SearchGUIProcessBuilder
      Returns:
      the type of the process
    • getCurrentlyProcessedFileName

      public String getCurrentlyProcessedFileName()
      Description copied from class: SearchGUIProcessBuilder
      Returns the file name of the currently processed file.
      Specified by:
      getCurrentlyProcessedFileName in class SearchGUIProcessBuilder
      Returns:
      the file name of the currently processed file