Class CallableStructureAlignment

  • All Implemented Interfaces:
    Callable<AFPChain>

    public class CallableStructureAlignment
    extends Object
    implements Callable<AFPChain>
    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 Detail

      • 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 structure
        ca2 - Atoms to align of the second structure
        algorithmName - the pairwise aligner algorithm to use, a new instance will be created for each thread.
        params - parameter bean for the alignment.