The computer program FAMS (Full Automatic Modeling System) performs homology modeling of protein structures by means of an algorithm consisting of database searches and simulated annealing. FAMS produces a model in which the torsion angles of the backbone and sidechains are highly accurate. The operations of the FAMS algorithm are fully automated, and, therefore, special knowledge, techniques or experience are not required in order to obtain a biologically worthwhile protein structure.