|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Atom>
meshi.molecularElements.atoms.AtomList
public class AtomList
A list of Atoms
| Nested Class Summary | |
|---|---|
static class |
AtomList.AcceptChainFilter
|
static class |
AtomList.BackboneFilter
|
static class |
AtomList.IsAtom
|
static class |
AtomList.IsDefrostedFilter
|
static class |
AtomList.IsFrozenFilter
|
static class |
AtomList.NonHydrogen
|
static class |
AtomList.RejectChainFilter
|
| Field Summary | |
|---|---|
private java.lang.String |
comment
|
private MolecularSystem |
molecularSystem
|
private MeshiLineReader |
sourceFile
|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
AtomList()
|
|
AtomList(Atom atom)
|
|
AtomList(int initialCapaciy)
|
|
AtomList(MeshiLineReader file,
Filter lineFilter)
An atom list based on a PDB file In a multiple model file (such as NMR's) only model 1 is read. |
|
AtomList(PdbReader file)
An atom list based on a PDB file |
|
AtomList(ResidueList residues)
An atom list based on a residue list |
|
AtomList(java.lang.String fileName)
|
|
AtomList(java.lang.String fileName,
Filter lineFilter)
|
|
AtomList(java.lang.String dir,
java.lang.String fileName)
|
|
| Method Summary | |
|---|---|
boolean |
add(Atom atom)
|
void |
assertSingleResidue()
Asserts that this AtomList is comprised of
atoms belonging to a single residue. |
Atom |
atomAt(int i)
Returns the atom in position i of the list. |
AtomList |
backbone()
|
AtomList |
CAFilter()
|
AtomList |
CAnoImageFilter()
|
boolean |
checkSingleResidue()
Checks if this AtomList is comprised of
atoms belonging to a single residue. |
java.lang.String |
comment()
|
void |
defrost()
|
AtomList |
defrostedAtoms()
|
AtomList |
filter(Filter filter)
Extracts the list elements that pass the filter. |
void |
freeze()
|
void |
freeze(Filter filter)
|
AtomList |
frozenAtoms()
|
boolean |
frozenAtomsExist()
|
AtomList |
fullOccupancyFilter()
|
AtomList |
getChainAtoms(java.lang.String chainLetter)
|
double |
getRms(AtomList otherList)
|
AtomList |
getSourceAtoms()
|
boolean |
includesNowhereAtoms()
|
MolecularSystem |
molecularSystem()
|
void |
moveCMtoOrigin()
|
AtomList |
noOXTFilter()
|
void |
print()
|
void |
print(MeshiWriter writer)
|
double |
radius()
of gyration of the list atoms. |
double |
radius2()
|
Rms |
rms(AtomList otherList)
RMS deviation between this list of atom and some other list. |
boolean |
sameAtoms(AtomList other)
Returns true if the parameter has the same length and the same composition in terms of atom names. |
void |
setComment(java.lang.String s)
|
void |
setMolecularSystem(MolecularSystem MolecularSystem)
|
void |
setResidue(Residue residue)
Sets the parameter to be the residue of this atom. |
AtomList |
somewhere()
|
boolean |
sortable()
|
MeshiLineReader |
sourceFile()
|
AtomList[] |
splitToChains()
|
Atom[] |
toArrayOfAtoms()
|
java.lang.String |
toString()
|
int |
whereIs(Atom atom)
|
| Methods inherited from class java.util.ArrayList |
|---|
add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Field Detail |
|---|
private MeshiLineReader sourceFile
private MolecularSystem molecularSystem
private java.lang.String comment
| Constructor Detail |
|---|
public AtomList()
public AtomList(Atom atom)
public AtomList(int initialCapaciy)
public AtomList(MeshiLineReader file,
Filter lineFilter)
public AtomList(PdbReader file)
public AtomList(java.lang.String dir,
java.lang.String fileName)
public AtomList(java.lang.String fileName,
Filter lineFilter)
public AtomList(java.lang.String fileName)
public AtomList(ResidueList residues)
| Method Detail |
|---|
public MolecularSystem molecularSystem()
public void setMolecularSystem(MolecularSystem MolecularSystem)
public AtomList filter(Filter filter)
public boolean add(Atom atom)
add in interface java.util.Collection<Atom>add in interface java.util.List<Atom>add in class java.util.ArrayList<Atom>public Rms rms(AtomList otherList)
public double getRms(AtomList otherList)
public Atom atomAt(int i)
public int whereIs(Atom atom)
public double radius()
public double radius2()
public void setResidue(Residue residue)
public Atom[] toArrayOfAtoms()
public MeshiLineReader sourceFile()
public boolean frozenAtomsExist()
public void freeze()
public void freeze(Filter filter)
public void defrost()
public AtomList fullOccupancyFilter()
public AtomList noOXTFilter()
public AtomList backbone()
public boolean sortable()
public java.lang.String toString()
toString in class java.util.AbstractCollection<Atom>public AtomList CAFilter()
public AtomList CAnoImageFilter()
public AtomList frozenAtoms()
public AtomList defrostedAtoms()
public boolean sameAtoms(AtomList other)
public void assertSingleResidue()
this AtomList is comprised of
atoms belonging to a single residue.
MeshiException - if the assertion fails.public boolean checkSingleResidue()
this AtomList is comprised of
atoms belonging to a single residue.
public AtomList[] splitToChains()
public AtomList getChainAtoms(java.lang.String chainLetter)
public AtomList getSourceAtoms()
public AtomList somewhere()
public void moveCMtoOrigin()
public boolean includesNowhereAtoms()
public void setComment(java.lang.String s)
public void print()
public void print(MeshiWriter writer)
public java.lang.String comment()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||