Class: Bio::PDB::Heterogen

Inherits:
Residue show all
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

Utils::ElementMass

Instance Attribute Summary

Attributes inherited from Residue

#atoms, #chain, #iCode, #resName, #resSeq, #residue_id

Instance Method Summary collapse

Methods included from HetatmFinder

#find_hetatm

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

#hetatmObject

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