Package org.biojava.spark.function
Class AlignmentTools
- java.lang.Object
-
- org.biojava.spark.function.AlignmentTools
-
- All Implemented Interfaces:
java.io.Serializable
public class AlignmentTools extends java.lang.Object implements java.io.SerializableClass to calculate the TM Score between twoAtomarrays.- Author:
- Anthony Bradley
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AlignmentTools()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.biojava.nbio.structure.align.model.AFPChaingetBiojavaAlignment(org.biojava.nbio.structure.Atom[] ca1, org.biojava.nbio.structure.Atom[] ca2, java.lang.String alignmentMethod)Performs an alignment and returns theAFPChainscores between two C-alphaAtomarrays.
-
-
-
Method Detail
-
getBiojavaAlignment
public static org.biojava.nbio.structure.align.model.AFPChain getBiojavaAlignment(org.biojava.nbio.structure.Atom[] ca1, org.biojava.nbio.structure.Atom[] ca2, java.lang.String alignmentMethod)Performs an alignment and returns theAFPChainscores between two C-alphaAtomarrays.- Parameters:
ca1- the first C-alpha arrayca2- the second C-alpha arrayalignmentMethod- the string specifying the alignment method- Returns:
- the
AFPChainpf the scores between the two inputAtomarray
-
-