Package org.biojava.nbio.structure.align
Class AbstractStructureAlignment
- java.lang.Object
-
- org.biojava.nbio.structure.align.AbstractStructureAlignment
-
- All Implemented Interfaces:
StructureAlignment
- Direct Known Subclasses:
CeMain,SmithWaterman3Daligner
public abstract class AbstractStructureAlignment extends Object implements StructureAlignment
-
-
Constructor Summary
Constructors Constructor Description AbstractStructureAlignment()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract AFPChainalign(Atom[] ca1, Atom[] ca2)Run an alignment while specifying the atoms to be aligned.abstract AFPChainalign(Atom[] ca1, Atom[] ca2, Object params)run an alignment and also send a bean containing the parameters.abstract StringgetAlgorithmName()Get the name of the Algorithmabstract ConfigStrucAligParamsgetParameters()Return the paramers for this algorithm.abstract StringgetVersion()Get the Version information for this Algorithm.abstract voidsetParameters(ConfigStrucAligParams parameters)Set the default parameters for this algorithm to use
-
-
-
Constructor Detail
-
AbstractStructureAlignment
public AbstractStructureAlignment()
-
-
Method Detail
-
align
public abstract AFPChain align(Atom[] ca1, Atom[] ca2) throws StructureException
Description copied from interface:StructureAlignmentRun an alignment while specifying the atoms to be aligned. Will used default parameters for the algorithm.- Specified by:
alignin interfaceStructureAlignment- Returns:
- the afpChain object that contains the alignment.
- Throws:
StructureException
-
align
public abstract AFPChain align(Atom[] ca1, Atom[] ca2, Object params) throws StructureException
Description copied from interface:StructureAlignmentrun an alignment and also send a bean containing the parameters.- Specified by:
alignin interfaceStructureAlignment- Returns:
- the afpChain object that contains the alignment.
- Throws:
StructureException
-
getAlgorithmName
public abstract String getAlgorithmName()
Description copied from interface:StructureAlignmentGet the name of the Algorithm- Specified by:
getAlgorithmNamein interfaceStructureAlignment- Returns:
- the name of the algorithm
-
getParameters
public abstract ConfigStrucAligParams getParameters()
Description copied from interface:StructureAlignmentReturn the paramers for this algorithm.- Specified by:
getParametersin interfaceStructureAlignment- Returns:
- The returned object will be a Java bean.
-
getVersion
public abstract String getVersion()
Description copied from interface:StructureAlignmentGet the Version information for this Algorithm.- Specified by:
getVersionin interfaceStructureAlignment- Returns:
- the version of the algorithm
-
setParameters
public abstract void setParameters(ConfigStrucAligParams parameters)
Description copied from interface:StructureAlignmentSet the default parameters for this algorithm to use- Specified by:
setParametersin interfaceStructureAlignment
-
-