|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.biojava.bio.structure.StructureTools
public class StructureTools
A class that provides some tool methods.
| Field Summary | |
|---|---|
static String[] |
backboneAtomNames
The names of the Atoms that form the backbone. |
static String |
caAtomName
The Atom name of C-alpha atoms. |
| Constructor Summary | |
|---|---|
StructureTools()
|
|
| Method Summary | |
|---|---|
static Atom[] |
getAtomArray(Structure s,
String[] atomNames)
Returns an array of the requested Atoms from the Structure object. |
static Atom[] |
getAtomCAArray(Structure s)
Returns an Atom array of the CA atoms. |
static Atom[] |
getBackboneAtomArray(Structure s)
Returns an Atom array of the MainChain atoms. |
static int |
getNrAtoms(Structure s)
Count how many number of Atoms are contained within a Structure object. |
static int |
getNrGroups(Structure s)
Count how many groups are contained within a structure object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String caAtomName
public static final String[] backboneAtomNames
| Constructor Detail |
|---|
public StructureTools()
| Method Detail |
|---|
public static int getNrAtoms(Structure s)
s - the structure object
public static int getNrGroups(Structure s)
s - the structure object
public static Atom[] getAtomArray(Structure s,
String[] atomNames)
s - the structure to get the atoms fromatomNames - contains the atom names to be used.
public static Atom[] getAtomCAArray(Structure s)
s - the structure object
public static Atom[] getBackboneAtomArray(Structure s)
s - the structure object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||