Package org.biojava.nbio.structure.align
Class CallableStructureAlignment
java.lang.Object
org.biojava.nbio.structure.align.CallableStructureAlignment
Simple Callable Class that calculates a pairwise alignment in a different
thread, so that multiple pairwise alignments can be run in parallel
(examples: all-to-all alignments, DB search alignments).
Adapted to a more general implementation since 4.1.0, because before it
was thought for DB search only.
- Author:
- Aleix Lafita
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.CallableStructureAlignment(Atom[] ca1, Atom[] ca2, String algorithmName, ConfigStrucAligParams params) Constructor for all-to-all alignment calculation. -
Method Summary
Modifier and TypeMethodDescriptioncall()Atom[]getCa1()getCache()getPair()voidsetAlgorithmName(String algorithmName) voidvoidvoidsetOutFile(SynchronizedOutFile outFile) voidsetOutputDir(File outFileF) voidvoidsetParameters(ConfigStrucAligParams parameters)
-
Constructor Details
-
CallableStructureAlignment
public CallableStructureAlignment()Default constructor. Used in DB search. Instantiates an empty object, everything has to be set independently. -
CallableStructureAlignment
public CallableStructureAlignment(Atom[] ca1, Atom[] ca2, String algorithmName, ConfigStrucAligParams params) Constructor for all-to-all alignment calculation. Used for MultipleMC seed alignment calculation, for example.- Parameters:
ca1- Atoms to align of the first structureca2- Atoms to align of the second structurealgorithmName- the pairwise aligner algorithm to use, a new instance will be created for each thread.params- parameter bean for the alignment.
-
-
Method Details