Class MultipleAlignmentCalc
- java.lang.Object
-
- org.biojava.nbio.structure.align.gui.MultipleAlignmentCalc
-
- All Implemented Interfaces:
Runnable
,AlignmentCalculationRunnable
public class MultipleAlignmentCalc extends Object implements 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
Constructors Constructor Description MultipleAlignmentCalc(MultipleAlignmentGUI parent, List<Structure> structures, List<StructureIdentifier> names)
Requests an alignment of the pdbs.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cleanup()
void
interrupt()
void
run()
void
setNrCPUs(int useNrCPUs)
-
-
-
Constructor Detail
-
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 Detail
-
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
-
-