class pdb.PdbResidue extends ResidueBase
Available on all platforms
Container of a residue in pdb file. Non-amino acid molecules such as waters, co-factors, lipids are considered as residues.
Instance Fields
function new(n:String, i:Int, isnt:Bool, isct:Bool, sec:Int):Void
Constructor.
- n: residue name
- i: residue index
- isnt: is this residue the N-terminal?
- isct: is this residue the C-terminal?
- sec: seondary structure type (see SecondaryType.hx)
function genH(r:PdbResidue):Void
generate "H" atom, which binds to backbone "N" atom. the parameter c corresponds to the position of "C" atom in the previous residue. thus, "H" atom never be created for first residue
function genHatom(a:PdbAtom):Void
add H atom which binds to backbone N using C atom of adjacent residue
given by a