compbio.runner.msa
Class Mafft

java.lang.Object
  extended by compbio.engine.client.SkeletalExecutable<Mafft>
      extended by compbio.runner.msa.Mafft
All Implemented Interfaces:
Executable<Mafft>, PipedExecutable<Mafft>

public class Mafft
extends SkeletalExecutable<Mafft>
implements PipedExecutable<Mafft>

Author:
pvtroshin

Nested Class Summary
 
Nested classes/interfaces inherited from interface compbio.engine.client.Executable
Executable.ExecProvider
 
Field Summary
static String KEY_VALUE_SEPARATOR
           
 
Fields inherited from class compbio.engine.client.SkeletalExecutable
ERROR, INPUT, OUTPUT
 
Constructor Summary
Mafft()
           
 
Method Summary
 Mafft addParameters(List<String> parameters)
          Mafft input must always be the last parameter!
 Alignment getResults(String workDirectory)
           
 Class<Mafft> getType()
           
 Mafft setInput(String inFile)
           
 
Methods inherited from class compbio.engine.client.SkeletalExecutable
equals, getClusterCpuNum, getClusterJobSettings, getCreatedFiles, getError, getInput, getLimit, getLimits, getOutput, getParameters, hashCode, loadRunConfiguration, setError, setOutput, setParameter, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface compbio.engine.client.Executable
getClusterJobSettings, getCreatedFiles, getError, getInput, getLimit, getLimits, getOutput, getParameters, loadRunConfiguration
 

Field Detail

KEY_VALUE_SEPARATOR

public static final String KEY_VALUE_SEPARATOR
See Also:
Constant Field Values
Constructor Detail

Mafft

public Mafft()
Method Detail

getResults

public Alignment getResults(String workDirectory)
                     throws ResultNotAvailableException
Specified by:
getResults in interface Executable<Mafft>
Throws:
ResultNotAvailableException

setInput

public Mafft setInput(String inFile)
Overrides:
setInput in class SkeletalExecutable<Mafft>

addParameters

public Mafft addParameters(List<String> parameters)
Mafft input must always be the last parameter!

Specified by:
addParameters in interface Executable<Mafft>
Overrides:
addParameters in class SkeletalExecutable<Mafft>
Returns:
this Executable

getType

public Class<Mafft> getType()
Specified by:
getType in class SkeletalExecutable<Mafft>
Returns:
subclasses must return their type