org.biojava.bio.structure.align.pairwise
public class FragmentJoiner extends Object
| Constructor and Description |
|---|
FragmentJoiner() |
| Modifier and Type | Method and Description |
|---|---|
JointFragments[] |
approach_ap3(Atom[] ca1,
Atom[] ca2,
FragmentPair[] fraglst,
StrucAligParameters params) |
JointFragments[] |
frag_pairwise_compat(FragmentPair[] fraglst,
int angleDiff,
float fragCompatDist,
int maxRefine)
Calculate the pairwise compatibility of fpairs.
|
static double |
getRMS(Atom[] ca1,
Atom[] ca2,
JointFragments frag)
get the RMS of the JointFragments pair frag
|
static boolean |
reduceFragments(List<FragmentPair> fragments,
FragmentPair f,
Matrix rmsmat)
In helices often many similar fragments can be found.
|
static Object |
resizeArray(Object oldArray,
int newSize)
Reallocates an array with a new size, and copies the contents
of the old array to the new array.
|
public static Logger logger
public static Object resizeArray(Object oldArray, int newSize)
oldArray - the old array, to be reallocated.newSize - the new array size.public static boolean reduceFragments(List<FragmentPair> fragments, FragmentPair f, Matrix rmsmat)
fragments - f - rmsmat - public JointFragments[] approach_ap3(Atom[] ca1, Atom[] ca2, FragmentPair[] fraglst, StrucAligParameters params)
public static double getRMS(Atom[] ca1, Atom[] ca2, JointFragments frag)
ca1 - the array of all atoms of structure1ca2 - the array of all atoms of structure1frag - the JointFragments object that contains the list of identical positionspublic JointFragments[] frag_pairwise_compat(FragmentPair[] fraglst, int angleDiff, float fragCompatDist, int maxRefine)
fraglst - FragmentPair[] arrayangleDiff - angle cutofffragCompatDist - distance cutoffmaxRefine - max number of solutions to keep