Package org.biojava.spark.utils
Class CanonNames
- java.lang.Object
-
- org.biojava.spark.utils.CanonNames
-
public class CanonNames extends java.lang.ObjectA class of static methods to find the canonical names ofAtomContactinteractions.- Author:
- Anthony Bradley
-
-
Constructor Summary
Constructors Constructor Description CanonNames()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetCanonAtomNames(org.biojava.nbio.structure.contact.AtomContact atomContact)Canonically represent atom name pairs as strings.static java.lang.StringgetCanonChains(org.biojava.nbio.structure.contact.AtomContact atomContact)Get the canonical names of two chains from anAtomContactstatic java.lang.StringgetCanonElementNames(org.biojava.nbio.structure.contact.AtomContact atomContact)Canonically represent element name pairs as strings.static java.lang.StringgetCanonGroups(org.biojava.nbio.structure.contact.AtomContact atomContact)Canonically represent group pairs as strings.static java.lang.StringgetCanonResidueNumbers(org.biojava.nbio.structure.contact.AtomContact atomContact)Get the canonical names of two residues from anAtomContact
-
-
-
Method Detail
-
getCanonGroups
public static java.lang.String getCanonGroups(org.biojava.nbio.structure.contact.AtomContact atomContact)
Canonically represent group pairs as strings.- Parameters:
atomContact- the inputAtomContactobject- Returns:
- the canonicalised representation of the groups involved
-
getCanonAtomNames
public static java.lang.String getCanonAtomNames(org.biojava.nbio.structure.contact.AtomContact atomContact)
Canonically represent atom name pairs as strings.- Parameters:
atomContact- the inputAtomContactobject- Returns:
- the canonicalised representation of the atom names involved
-
getCanonElementNames
public static java.lang.String getCanonElementNames(org.biojava.nbio.structure.contact.AtomContact atomContact)
Canonically represent element name pairs as strings.- Parameters:
atomContact- the inputAtomContactobject- Returns:
- the canonicalised representation of the atom names involved
-
getCanonChains
public static java.lang.String getCanonChains(org.biojava.nbio.structure.contact.AtomContact atomContact)
Get the canonical names of two chains from anAtomContact- Parameters:
atomContact- the inputAtomContact- Returns:
- the canonical name of the chains
-
getCanonResidueNumbers
public static java.lang.String getCanonResidueNumbers(org.biojava.nbio.structure.contact.AtomContact atomContact)
Get the canonical names of two residues from anAtomContact- Parameters:
atomContact- the inputAtomContact- Returns:
- the canonical name of the residues
-
-