Difference between revisions of "Read pdb pro.m"
(→Notes) |
(sync with Spinach main 3975f139: pdb_ser output) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | Reads | + | {{DISPLAYTITLE:read_pdb_pro.m}} __NOTOC__ |
| + | Reads a PDB file and returns amino acid numbers, the amino acid types, PDB atom identifiers, and Cartesian coordinates. | ||
==Syntax== | ==Syntax== | ||
| − | [aa_num,aa_typ,pdb_id,coords]=read_pdb_pro(pdb_file_name, | + | [aa_num,aa_typ,pdb_id,coords,pdb_ser]=read_pdb_pro(pdb_file_name,mod_id) |
| − | == | + | ==Parameters== |
| − | |||
| − | + | pdb_file_name - a character string with the file name | |
| − | + | ||
| − | pdb_file_name - a character string | + | mod_id - the number of model that should be |
| − | + | read from the pdb file | |
| − | |||
| − | |||
| − | == | + | ==Outputs== |
| − | aa_num - nspins x 1 vector giving the number of the amino acid to which each spin belongs | + | aa_num - nspins x 1 vector giving the number of |
| + | the amino acid to which each spin belongs | ||
| − | aa_typ - nspins x 1 cell array of strings giving the PDB identifier of the amino acid to | + | aa_typ - nspins x 1 cell array of strings giving |
| + | the PDB identifier of the amino acid to | ||
which each spin belongs (e.g. 'TYR') | which each spin belongs (e.g. 'TYR') | ||
| − | pdb_id | + | pdb_id - nspins x 1 cell array of strings giving |
| − | + | the PDB identifier of the protein atom | |
| + | type to which each spin belongs (e.g. 'HE2') | ||
| − | coords - nspins x 1 cell array of 3-vectors giving | + | coords - nspins x 1 cell array of 3-vectors giving |
| − | + | Cartesian coordinates of each spin in Angstrom | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | pdb_ser - nspins x 1 vector giving the PDB atom serial | |
| − | + | number of each spin | |
| − | |||
| − | |||
| − | |||
| − | |||
==See also== | ==See also== | ||
| − | [[protein.m]], [[ | + | [[c2spinach.m]], [[cyprinol.m]], [[fatty_acid.m]], [[g2spinach.m]], [[gissmo2spinach.m]], [[gparse.m]], [[karplus_fit.m]], [[killcross.m]], [[killdiag.m]], [[merge_inp.m]], [[methyl_group.m]], [[nuclacid.m]], [[ocparse.m]], [[oparse.m]], [[parsexml.m]], [[protein.m]], [[read_bmrb.m]], [[read_pdb_nuc.m]], [[v2spinach.m]], [[weblab2nqi.m]], [[x2spinach.m]], [[Import,_export,_and_visualisation]], [[Protein NMR simulations]] |
| − | |||
| − | '' | + | ''Version 2.8, authors: [[Ilya Kuprov]]'' |
Latest revision as of 10:58, 18 September 2026
Reads a PDB file and returns amino acid numbers, the amino acid types, PDB atom identifiers, and Cartesian coordinates.
Syntax
[aa_num,aa_typ,pdb_id,coords,pdb_ser]=read_pdb_pro(pdb_file_name,mod_id)
Parameters
pdb_file_name - a character string with the file name
mod_id - the number of model that should be
read from the pdb file
Outputs
aa_num - nspins x 1 vector giving the number of
the amino acid to which each spin belongs
aa_typ - nspins x 1 cell array of strings giving
the PDB identifier of the amino acid to
which each spin belongs (e.g. 'TYR')
pdb_id - nspins x 1 cell array of strings giving
the PDB identifier of the protein atom
type to which each spin belongs (e.g. 'HE2')
coords - nspins x 1 cell array of 3-vectors giving
Cartesian coordinates of each spin in Angstrom
pdb_ser - nspins x 1 vector giving the PDB atom serial
number of each spin
See also
c2spinach.m, cyprinol.m, fatty_acid.m, g2spinach.m, gissmo2spinach.m, gparse.m, karplus_fit.m, killcross.m, killdiag.m, merge_inp.m, methyl_group.m, nuclacid.m, ocparse.m, oparse.m, parsexml.m, protein.m, read_bmrb.m, read_pdb_nuc.m, v2spinach.m, weblab2nqi.m, x2spinach.m, Import,_export,_and_visualisation, Protein NMR simulations
Version 2.8, authors: Ilya Kuprov