Bioplib
Protein Structure C Library
 All Data Structures Files Functions Variables Typedefs Macros Pages
Functions
FitPDB.c File Reference

Fit two PDB linked lists. Also a weighted fit and support routines. More...

#include <math.h>
#include <stdlib.h>
#include <string.h>
#include "MathType.h"
#include "SysDefs.h"
#include "macros.h"
#include "fit.h"
#include "pdb.h"

Go to the source code of this file.

Functions

BOOL blFitPDB (PDB *ref_pdb, PDB *fit_pdb, REAL rm[3][3])
 

Detailed Description

Fit two PDB linked lists. Also a weighted fit and support routines.

Version
V1.4
Date
07.07.14
Author
Dr. Andrew C. R. Martin
Institute of Structural & Molecular Biology, University College London, Gower Street, London. WC1E 6BT.
andre.nosp@m.w@bi.nosp@m.oinf..nosp@m.org..nosp@m.uk andre.nosp@m.w.ma.nosp@m.rtin@.nosp@m.ucl..nosp@m.ac.uk

This code is NOT IN THE PUBLIC DOMAIN, but it may be copied according to the conditions laid out in the accompanying file COPYING.DOC.

The code may be modified as required, but any modifications must be documented so that the person responsible can be identified.

The code may not be sold commercially or included as part of a commercial product except as described in the file COPYING.DOC.

Description:

Usage:

Revision History:

Definition in file FitPDB.c.

Function Documentation

BOOL blFitPDB ( PDB ref_pdb,
PDB fit_pdb,
REAL  rm[3][3] 
)
Parameters
[in]*ref_pdbReference PDB linked list
[in,out]*fit_pdbMobile PDB linked list
[out]rmRotation matrix (May be input as NULL).
Returns
Success

Fits two PDB linked lists. Actually fits fit_pdb onto ref_pdb and also returns the rotation matrix. This may be NULL if these data are not required.

  • 17.06.93 Original based on code from ProFit By: ACRM
  • 11.03.94 Changed call to matfit(). Corrected to normal matrix.
  • 14.03.94 Actually fills in the rotation matrix (!). Restores original data if fitting failed.
  • 14.03.96 Changed to use ApplyMatrixPDB() rather than RotatePDB() since we are already at the origin
  • 07.07.14 Use bl prefix for functions By: CTP

Definition at line 117 of file FitPDB.c.