Class: Bio::PDB::Heterogen
- Includes:
- HetatmFinder
- Defined in:
- lib/bio/db/pdb/residue.rb
Overview
Bio::PDB::Heterogen is a class to store a heterogen. It inherits Bio::PDB::Residue and most of the methods are the same.
The object would contain some HETATMs (Bio::PDB::Record::HETATM objects).
Constant Summary
Constants included from Utils
Instance Attribute Summary
Attributes inherited from Residue
#atoms, #chain, #iCode, #resName, #resSeq, #residue_id
Instance Method Summary collapse
-
#hetatm ⇒ Object
Always returns true.
Methods included from HetatmFinder
Methods inherited from Residue
#<=>, #[], #addAtom, #each, get_residue_id_from_atom, #initialize, #inspect, #to_s
Methods included from AtomFinder
#atoms, #each_atom, #find_atom
Methods included from Utils
acos, calculatePlane, #centreOfGravity, convert_to_xyz, dihedral_angle, distance, #finder, #geometricCentre, rad2deg, to_xyz
Constructor Details
This class inherits a constructor from Bio::PDB::Residue
Instance Method Details
#hetatm ⇒ Object
Always returns true.
If the residue is HETATM, returns true. Otherwise, returns false.
160 161 162 |
# File 'lib/bio/db/pdb/residue.rb', line 160 def hetatm true end |