Difference between revisions of "Read bmrb.m"
(Sync syntax/arguments/outputs with current Spinach source) |
|||
| 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) | |
==Arguments== | ==Arguments== | ||
| − | + | aa_num - amino acid numbers, vector | |
| + | |||
| + | aa_typ - amino acid types, cell array of strings | ||
| + | |||
| + | pdb_id - atom identifiers using PDB nomenclature, | ||
| + | cell array of strings | ||
| + | |||
| + | chems - chemical shifts in ppm | ||
| − | + | Note: direct calls are discouraged, see the protein HOWTO docu- | |
| + | ment for instructions on importing protein data. | ||
| − | + | ilya.kuprov@weizmann.ac.il | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==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:12, 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
aa_num - amino acid numbers, vector
aa_typ - amino acid types, cell array of strings
pdb_id - atom identifiers using PDB nomenclature,
cell array of strings
chems - chemical shifts in ppm
Note: direct calls are discouraged, see the protein HOWTO docu-
ment for instructions on importing protein data.
ilya.kuprov@weizmann.ac.il
Notes
- 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.
See also
Protein and nucleic acid import
Import, export, and visualisation
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