Class AlignmentCalc
java.lang.Object
org.biojava.nbio.structure.align.gui.AlignmentCalc
- All Implemented Interfaces:
- Runnable,- AlignmentCalculationRunnable
A class that obtains two 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:
- 1.7
- Author:
- Andreas Prlic
- 
Constructor SummaryConstructorsConstructorDescriptionAlignmentCalc(AlignmentGui parent, Structure s1, Structure s2, String name1, String name2) requests an alignment of pdb1 vs pdb 2.
- 
Method Summary
- 
Constructor Details- 
AlignmentCalcrequests an alignment of pdb1 vs pdb 2. Chain 1 and chain2 are optional. If they are empty strings, they are ignored- Parameters:
- parent- the alignment gui frame that interacts with this class
- s1- structure 1
- s2- structure 2
 
 
- 
- 
Method Details- 
run
- 
interruptstops what is currently happening and does not continue- Specified by:
- interruptin interface- AlignmentCalculationRunnable
 
- 
cleanup- Specified by:
- cleanupin interface- AlignmentCalculationRunnable
 
- 
setNrCPUsdoes not do anything here...- Specified by:
- setNrCPUsin interface- AlignmentCalculationRunnable
 
 
-