Home > freetb4matlab > pdb > read_pdb.m

read_pdb

PURPOSE ^

function p = read_pdb(fname)

SYNOPSIS ^

function p = read_pdb(fname)

DESCRIPTION ^

function p = read_pdb(fname)

 Read a protein databank file from fname to a structure p containing 
 some of the elements below:

 p.cellsize       = Vector giving the lengths of lattice vectors a, b and c
 p.cellangl       = Vector giving the lattice angles alpha, beta and gamma
 p.sgroup         = The full Hermann-Mauguin space group symbol
 p.z              = Z, number of polymeric chains in a unit cell
 p.scalem         = Matrix of the transformation to crystallographic coords
 p.scalev         = Vector of the transformation to crystallographic coords
 p.atomname       = Names of the atoms in ATOM entries (N x 4 char matrix)
 p.aresname       = Name of the residue (N x 3 char matrix)
 p.aresseq        = Residue sequence number (N x 1 matrix)   
 p.acoord         = Coordinates of the atoms in ATOM entries (N x 3 matrix)
 p.aoccupancy     = Occupancy of the atom (N x 1 matrix) 
 p.atempfactor    = Temperature factor of the atoms (N x 1 matrix) 
 p.az             = Number of electrons, Z, of the atoms (N x 1 matrix) 
 p.hetname        = Names of the heterogen atoms (N x 4 char matrix)
 p.hetresname     = Name of the heterogen residue (N x 3 char matrix)
 p.hetresseq      = Heterogen residue sequence number (N x 1 matrix)   
 p.hetcoord       = Coordinates of the heterogen atoms (N x 3 matrix)
 p.hetoccupancy   = Occupancy of the heterogen atoms (N x 1 matrix) 
 p.hettempfactor  = Temperature factors of the hetatoms (N x 1 matrix) 
 p.hetz           = Number of electrons, Z, of the hetatoms (N x 1 matrix) 
 
 NOTE: This function also returns the atomic numbers of the atoms in the
 structure (fields p.az and p.hetz), if you do not need this information,
 use the faster function creadpdb.oct

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 22-May-2009 15:13:00 by m2html © 2003