Package org.biojava.nbio.structure.align
Class AFPTwister
java.lang.Object
org.biojava.nbio.structure.align.AFPTwister
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic intSet the list of equivalent residues in the two proteins given a list of AFPs WARNING: changes the values for FocusRes1, focusRes2 and FocusResn in afpChain!static Group[]twistOptimized(AFPChain afpChain, Atom[] ca1, Atom[] ca2) superimposing according to the optimized alignmentstatic Group[]calculate the total rmsd of the blocks output a merged pdb file for both proteins protein 1, in chain A protein 2 is twisted according to the twists detected, in chain B 
- 
Constructor Details
- 
AFPTwister
public AFPTwister() 
 - 
 - 
Method Details
- 
twistPDB
calculate the total rmsd of the blocks output a merged pdb file for both proteins protein 1, in chain A protein 2 is twisted according to the twists detected, in chain B- Returns:
 - twisted Groups
 - Throws:
 StructureException
 - 
twistOptimized
public static Group[] twistOptimized(AFPChain afpChain, Atom[] ca1, Atom[] ca2) throws StructureException superimposing according to the optimized alignment- Parameters:
 afpChain-ca1-ca2-- Returns:
 - Group array twisted.
 - Throws:
 StructureException
 - 
afp2Res
Set the list of equivalent residues in the two proteins given a list of AFPs WARNING: changes the values for FocusRes1, focusRes2 and FocusResn in afpChain!- Parameters:
 afpChain- the AFPChain to store resutsafpn- nr of afpafpPositions-listStart-- Returns:
 - nr of eq residues
 
 
 -