Difference between revisions of "Guess csa pro.m"
(Normalise sequential blank lines) |
m (Correct function page syntax from current Spinach source) |
||
| Line 10: | Line 10: | ||
==Syntax== | ==Syntax== | ||
| − | CSAs=guess_csa_pro( | + | |
| + | CSAs=guess_csa_pro(aa_nums,pdb_ids,coords,options) | ||
==Arguments== | ==Arguments== | ||
Revision as of 14:12, 5 June 2026
Guesses reasonable amide bond nitrogen and carbon CSA tensors (anisotropic parts only), given the local protein geometry. While this function is certainly not a replacement for the accurate experimentally measured values of these parameters, it provides serviceable substitutes that are useful for testing. The literature sources used for the estimates are:
http://dx.doi.org/10.1007/s10858-006-9037-6
http://pubs.acs.org/doi/abs/10.1021/ja00083a028
Direct calls to this function are discouraged; it is invoked by protein.m during protein data import.
Syntax
CSAs=guess_csa_pro(aa_nums,pdb_ids,coords,options)
Arguments
aa_nums - nspins x 1 vector that gives the number of the amino acid residue
to which each spin belongs.
pdb_ids - nspins x 1 cell array of strings that give the standard PDB label
of each spin.
coords - nspins x 1 cell array of 3-vectors that gives cartesian coordinates of each spin.
Outputs
CSAs - nspins x 1 cell array containing chemical shift anisotropy tensors in ppm where
the function could make a guess of the CSA tensor, and empty cells where it could not.
Examples
The function accepts, for example, the output of read_pdb_pro.m:
% Parse the PDB file
[pdb_aa_num,pdb_aa_typ,pdb_atom_id,pdb_coords]=read_pdb_pro('1D3Z.pdb',1);
% Guess chemical shift anisotropies
CSAs=guess_csa_pro(pdb_aa_num,pdb_atom_id,pdb_coords);
Notes
- Proline is not currently handled.
- Amino acids are assumed to be numbered from N-terminus to C-terminus.
- The resulting CSAs should be considered approximate. For accurate relaxation analysis you must supply your own tensors to Spinach.
- This is an auxiliary function that is called by protein.m protein import module. Direct calls are discouraged.
See also
Protein and nucleic acid import
Spin system specification - Zeeman interactions
Version 2.5, authors: Ilya Kuprov, Zenawi Welderufael