Read bmrb.m

From Spinach Documentation Wiki
Revision as of 17:08, 12 August 2016 by Admin (talk | contribs) (Created page with "This function reads BMRB files. ==Syntax== [aa_num,aa_typ,pdb_id,chemsh]=read_bmrb(bmrb_file_name) ==Description== The function parses Biological Magnetic Resonance Ba...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function reads BMRB files.

Syntax

    [aa_num,aa_typ,pdb_id,chemsh]=read_bmrb(bmrb_file_name)

Description

The function parses Biological Magnetic Resonance Bank (BMRB) files and extracts amino acid numbers, amino acid types, PDB atom identifiers and chemical shifts.

Arguments

    bmrb_file_name - ASCII character string specifying the BMRB file name

Returns

    aa_num - nspins x 1 vector containing the number of the amino acid 
             residue to which each of the imported spins belongs

    aa_typ - nspins x 1 cell array containing the PDB identifier of the
             the amino acid residue to which each of the imported spins
             belongs

    pdb_id - nspins x 1 cell array containing the PDB identifier of the
             the atom type which each of the imported spins belongs

    chems  - nspins x 1 vector containing the chemial shift of each of 
             the imported spins

Examples

Direct calls to this function are discouraged, it is called by protein.m protein data import module.

Notes

BMRB data format belongs to the PDB family that is not famous for syntactic rigour. If this function fails to parse your file, take a look inside and modify it appropriately.

See also

protein.m, nuclacid.m, gparse.m


Revision 3284, authors: Ilya Kuprov