Class MultipleAlignmentCalc
java.lang.Object
org.biojava.nbio.structure.align.gui.MultipleAlignmentCalc
- All Implemented Interfaces:
Runnable
,AlignmentCalculationRunnable
A class that obtains structures via DAS and aligns them.
This is done in a separate thread.
It is possible to register Event listeners to get notification of when
the download has finished.
- Since:
- 4.2.0
- Author:
- Aleix Lafita
-
Constructor Summary
ConstructorDescriptionMultipleAlignmentCalc
(MultipleAlignmentGUI parent, List<Structure> structures, List<StructureIdentifier> names) Requests an alignment of the pdbs. -
Method Summary
-
Constructor Details
-
MultipleAlignmentCalc
public MultipleAlignmentCalc(MultipleAlignmentGUI parent, List<Structure> structures, List<StructureIdentifier> names) Requests an alignment of the pdbs. If they are empty strings, they are ignored.- Parameters:
parent
- the gui frame that interacts with this classstructures
-names
-
-
-
Method Details
-
run
public void run() -
interrupt
public void interrupt()- Specified by:
interrupt
in interfaceAlignmentCalculationRunnable
-
cleanup
public void cleanup()- Specified by:
cleanup
in interfaceAlignmentCalculationRunnable
-
setNrCPUs
public void setNrCPUs(int useNrCPUs) - Specified by:
setNrCPUs
in interfaceAlignmentCalculationRunnable
-