Difference between revisions of "Read bmrb.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Sync syntax/arguments/outputs with current Spinach source)
(Restore pre-bulk-edit wiki content)
Line 1: Line 1:
 
{{DISPLAYTITLE:read_bmrb.m}} __NOTOC__
 
{{DISPLAYTITLE:read_bmrb.m}} __NOTOC__
 
 
This function Biological Magnetic Resonance Bank (BMRB) files and extracts amino acid numbers, amino acid types, PDB atom identifiers and chemical shifts.
 
This function Biological Magnetic Resonance Bank (BMRB) files and extracts amino acid numbers, amino acid types, PDB atom identifiers and chemical shifts.
  
 
==Syntax==
 
==Syntax==
  
[aa_num,aa_typ,pdb_id,chemsh]=read_bmrb(bmrb_file_name)
+
    [aa_num,aa_typ,pdb_id,chemsh]=read_bmrb(bmrb_file_name)
  
 
==Arguments==
 
==Arguments==
  
aa_num - amino acid numbers, vector
+
    bmrb_file_name - ASCII character string specifying the BMRB file name
  
      aa_typ - amino acid types, cell array of strings
+
==Returns==
  
      pdb_id - atom identifiers using PDB nomenclature,
+
    aa_num - nspins x 1 vector containing the number of the amino acid
                cell array of strings
+
              residue to which each of the imported spins belongs
 
+
      chems - chemical shifts in ppm
+
    aa_typ - nspins x 1 cell array containing the PDB identifier of the
 
+
              the amino acid residue to which each of the imported spins
  Note: direct calls are discouraged, see the protein HOWTO docu-
+
              belongs
      ment for instructions on importing protein data.
+
   
 
+
    pdb_id - nspins x 1 cell array containing the PDB identifier of the
ilya.kuprov@weizmann.ac.il
+
              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
  
 
==Notes==
 
==Notes==
 
 
#Direct calls to this function are discouraged, it is called by [[protein.m]] protein data import module.
 
#Direct calls to this function are discouraged, it is called by [[protein.m]] protein data import module.
 
#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.
 
#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==
 
==See also==
 
 
[[Spin_system_specification#Protein_and_nucleic_acid_import| Protein and nucleic acid import]]
 
[[Spin_system_specification#Protein_and_nucleic_acid_import| Protein and nucleic acid import]]
  
Line 38: Line 38:
  
 
''Version 2.5, authors: [[Ilya Kuprov]], [[Zenawi Welderufael]]''
 
''Version 2.5, authors: [[Ilya Kuprov]], [[Zenawi Welderufael]]''
 
==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
 

Revision as of 15:49, 5 April 2026

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

Syntax

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

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

Notes

  1. Direct calls to this function are discouraged, it is called by protein.m protein data import module.
  2. 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 and nucleic acid import

Protein NMR simulations

Import, export, and visualisation


Version 2.5, authors: Ilya Kuprov, Zenawi Welderufael