|
Victor
|
It mplements a simple amino acid. More...
Inheritance diagram for AminoAcid:
Collaboration diagram for AminoAcid:Public Member Functions | |
| AminoAcid () | |
| AminoAcid (const AminoAcid &orig) | |
| virtual | ~AminoAcid () |
| void | addAtom (Atom &a) |
| void | addMissingO () |
| void | addTerminalOXT () |
| void | adjustLeadingN () |
| virtual void | bindIn (Atom &_this, Bond &c, Atom &_other) |
| virtual void | bindIn (SimpleBond &c) |
| virtual void | bindOut (Atom &_this, Bond &c, Atom &_other) |
| virtual void | bindOut (SimpleBond &c) |
| virtual Component * | clone () |
| bool | collides (Component &other, double dist=0.0) |
| virtual void | connectIn (AminoAcid *c, unsigned int offset=1) |
| virtual void | connectOut (AminoAcid *c, unsigned int offset=1) |
| void | constructSideChain (SideChain &sc, vector< double > chi) |
| void | constructSideChain (SideChain &sc, double chi1, double chi2, double chi3, double chi4, double chi5) |
| void | copy (const Bond &orig) |
| void | copy (const Group &orig) |
| virtual void | copy (const SimpleBond &orig) |
| void | copy (const Component &orig) |
| void | copy (const AminoAcid &orig) |
| const AminoAcid & | getInBond (unsigned int n) const |
| AminoAcid & | getInBond (unsigned int n) |
| virtual Atom & | getInBondRef (unsigned int n) |
| virtual vgVector3< double > | getLowerBound (double dist=0.0) |
| unsigned int | getMaxInBonds () const |
| unsigned int | getMaxOutBonds () const |
| virtual const Atom & | getOpenInBondRef (unsigned int n=0) const |
| virtual Atom & | getOpenInBondRef (unsigned int n=0) |
| virtual const Atom & | getOpenOutBondRef (unsigned int n=0) const |
| virtual Atom & | getOpenOutBondRef (unsigned int n=0) |
| const AminoAcid & | getOutBond (unsigned int n) const |
| AminoAcid & | getOutBond (unsigned int n) |
| virtual Atom & | getOutBondRef (unsigned int n) |
| virtual string | getType () const |
| virtual vgVector3< double > | getUpperBound (double dist=0.0) |
| bool | inSync () |
| bool | isBond (const SimpleBond &c) const |
| bool | isInBond (const SimpleBond &c) const |
| bool | isIndirectBond (const SimpleBond &c) const |
| bool | isIndirectInBond (const SimpleBond &c) const |
| bool | isIndirectOutBond (const SimpleBond &c) const |
| bool | isOutBond (const SimpleBond &c) const |
| bool | isTorsionBond (const SimpleBond &c) const |
| AminoAcid & | operator= (const AminoAcid &orig) |
| void | patchBetaPosition (unsigned int n=0) |
| void | removeAtom (Atom &a) |
| void | removeHAtomsfromLeadingNH3 () |
| void | setBonds (double NToCaLen, double CaToCLen, double CToOLen, double atCaToCAng, double CaToOAng) |
| bool | setBondsFromPdbCode (bool connect, AminoAcid *prev=NULL, bool permissive=false) |
| void | setDefault () |
| void | setMaxInBonds (unsigned int m) |
| void | setMaxOutBonds (unsigned int m) |
| void | setOmega (double a) |
| void | setPhi (double a) |
| void | setPsi (double a) |
| void | setSideChain (SideChain &sc) |
| void | setStateFromTorsionAngles () |
| void | setType (string _name) |
| unsigned int | sizeInBonds () const |
| unsigned int | sizeOpenInBonds () const |
| unsigned int | sizeOpenOutBonds () const |
| unsigned int | sizeOutBonds () const |
| virtual void | sync () |
| virtual void | unbindIn (Bond &c) |
| virtual void | unbindIn (SimpleBond &c) |
| virtual void | unbindOut (Bond &c) |
| virtual void | unbindOut (SimpleBond &c) |
| virtual AminoAcid * | unconnectIn () |
| virtual AminoAcid * | unconnectOut () |
Protected Member Functions | |
| Atom * | pGetAtom (const AtomCode &ac) const |
| virtual void | pUnbindIn (SimpleBond &c) |
| virtual void | pUnbindOut (SimpleBond &c) |
| virtual void | resetBoundaries () |
It mplements a simple amino acid.
Includes methods that allow to get and set angles, connections, bonds, side chain info, etc. NB: Angles are in degrees.
| AminoAcid | ( | ) |
Constructor
| none |
|
virtual |
DESTRUCTOR
| none |
|
inherited |
| void addMissingO | ( | ) |
adds an O atom, if missing
| none |
| void addTerminalOXT | ( | ) |
adds an OXT atom to the C terminus
| none |
| void adjustLeadingN | ( | ) |
adjusts the translation of the N atom, set trans for N relative to CA & C, adjust this' translation, the phi angle in leading structures is always undefined
| none |
In-going bond from this to c, from this' atom _this to c's _other atom.
| atom | reference, bond reference, atom reference |
|
virtualinherited |
Sets and in-bond from this to c.
Reimplemented in Atom.
Out-going bond from this to c, from this' atom _this to c's _other atom.
| atom | reference, bond reference, atom reference |
|
virtualinherited |
Sets and out-bond from this to c
Reimplemented in Atom.
|
virtual |
|
inherited |
Is other within dist of this' bounding box?
| other | (Component) |
| dist | (double) |
|
virtual |
Connects the aa to the reverse structure
| AminoAcid*,unsigned | int (use 0) |
|
virtual |
Connects the aa to the structure
| AminoAcid*,unsigned | int (use 0) |
| void constructSideChain | ( | SideChain & | sc, |
| vector< double > | chi | ||
| ) |
Construct side chain
| SideChain& | sc, vector<double> chi (values for chi, as much as needed, max 5) |
| void constructSideChain | ( | SideChain & | sc, |
| double | chi1, | ||
| double | chi2, | ||
| double | chi3, | ||
| double | chi4, | ||
| double | chi5 | ||
| ) |
Construct side chain
| SideChain& | sc, double chi1, double chi2, double chi3, double chi4, double chi5 (values for chi, as much as needed, max 5) |
|
inherited |
Copy operator. Attention: copy() strips orig from its bonds and attaches them to the new bond.
| bond | reference |
|
inherited |
|
virtualinherited |
Copy operator. Attention: copy() strips orig from its bonds and attaches them to the new bond.
|
inherited |
Copy the component. Attention: new elements have to be copied also in Monomer::copy() since it does NOT invoke this function (segmentation fault if it does).
| orig |
| void copy | ( | const AminoAcid & | orig | ) |
|
virtual |
Returns i-th in-bond.
Reimplemented from Group.
|
virtualinherited |
|
virtualinherited |
Return the lower bound coordinates.
| dist |
|
inherited |
Get maximum of in-bonds.
|
inherited |
Get maximum of out-bonds.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Returns i-th out-bond.
Reimplemented from Group.
|
virtualinherited |
|
virtualinherited |
Is c bonded to this ?
Reimplemented in SideChain.
|
virtualinherited |
Return the upper bound coordinates.
| dist |
|
inherited |
Checks the "Modified" flag in the component.
|
inherited |
Is c bonded to this ?
|
inherited |
Is c in-bonded to this ?
|
inherited |
Checks if this is indirectly bonded to c. (ie. A to C if A bond B and B bond C)
|
inherited |
Checks if this is indirectly bonded to c. (ie. A to C if A bond B and B bond C)
|
inherited |
Checks if this is indirectly bonded to c. (ie. A to C if A bond B and B bond C)
|
inherited |
Is c out-bonded to this ?
|
inherited |
Checks if this is torsion bond to c. (ie. A to D if A indirect bond C and C bond D)
| void patchBetaPosition | ( | unsigned int | n = 0 | ) |
adds a CB atom to the sidechain, if necessary
| unsigned | int n (value of number to set) |
|
protectedinherited |
|
protectedvirtualinherited |
Private method to find the matching in-bond from c to this to remove.
|
protectedvirtualinherited |
Private method to find the matching out-bond from c to this to remove.
| void removeHAtomsfromLeadingNH3 | ( | ) |
removeHAtomsfromLeadingNH3, check for NH3+ and, if so, remove superfluous H (i.e. 2H, 3H) atoms
| none |
|
protectedvirtual |
| void setBonds | ( | double | NToCaLen, |
| double | CaToCLen, | ||
| double | CToOLen, | ||
| double | atCaToCAng, | ||
| double | CaToOAng | ||
| ) |
Set the bonds based on lengths and angles given as params
| double | NToCaLen, double CaToCLen, double CToOLen, double atCaToCAng, double CaToOAng |
| bool setBondsFromPdbCode | ( | bool | connect, |
| AminoAcid * | prev = NULL, |
||
| bool | permissive = false |
||
| ) |
| void setDefault | ( | ) |
set bond length and angles to cristallographic values
| none |
|
inherited |
Sets maximum of in-bonds.
|
inherited |
Sets maximum of out-bonds.
| void setOmega | ( | double | a | ) |
Sets Omega angle
| double | a (angle value) |
| void setPhi | ( | double | a | ) |
Sets phi angle
| double | a (angle value) |
| void setPsi | ( | double | a | ) |
Sets Psi angle
| double | a (angle value) |
| void setSideChain | ( | SideChain & | sc | ) |
Sets side chain
| SideChain& |
| void setStateFromTorsionAngles | ( | ) |
Sets the state from torsion angles from definition was taken from McGuffin et al., Bioinformatics (17):63-72 (2001)
| none |
|
virtual |
Sets type (eg. C atom, GLY amino acid, etc.) of this.
Reimplemented from SimpleBond.
|
inherited |
How many in-bonds are there ?
|
inherited |
Returns the number of open in-bonds, ie. how many in-bonds can still be added.
| void |
|
inherited |
Returns the number of open out-bonds, ie. how many out-bonds can still be added.
| void |
|
inherited |
How many out-bonds are there ?
|
virtual |
|
virtualinherited |
Remove in-going bond from this to c.
| bond | reference |
|
virtualinherited |
Removes an in-bond from this to c.
Reimplemented in Atom.
|
virtualinherited |
Remove out-going bond from this to c.
| bond | reference |
|
virtualinherited |
Removes an out-bond from this to c.
Reimplemented in Atom.
|
virtual |
unconnect aminoacid from predecessor
| none |
Reimplemented from Component.
|
virtual |
unconnect aminoacid from the follower
| none |
Reimplemented from Component.