Difference between revisions of "Guess csa pro.m"

From Spinach Documentation Wiki
Jump to: navigation, search
m (Correct function page syntax from current Spinach source)
m (Update function page arguments and outputs from current Spinach source)
Line 15: Line 15:
 
==Arguments==
 
==Arguments==
  
−
    aa_nums   - nspins x 1 vector that gives the number of the amino acid residue
+
 
−
                to which each spin belongs.
+
aa_nums       - vector of amino acid numbers
−
+
 
−
    pdb_ids   - nspins x 1 cell array of strings that give the standard PDB label
+
pdb_ids       - cell array of PDB atom identifiers
−
                of each spin.
+
 
−
+
coords         - cell array of coordinate vectors
−
    coords   - nspins x 1 cell array of 3-vectors that gives cartesian coordinates of each spin.
+
 
 +
options.nh_csa - 'tcb' for Tjandra, Curtis, and Bodenhausen, 'bax'
 +
                for Cornilescu and Bax, and 'pol' for Case, Polenova,
 +
                and Gronenborn eigenvalues and orientations of the CSA
 +
                tensors
  
 
==Outputs==
 
==Outputs==
Line 39: Line 43:
 
==Notes==
 
==Notes==
  
−
# Proline is not currently handled.
+
 
−
# Amino acids are assumed to be numbered from N-terminus to C-terminus.
+
These CSAs are very approximate. For accurate relaxation analysis, supply your own tensors. This is an auxiliary function called by protein.m; direct calls are discouraged.
−
# 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==
 
==See also==

Revision as of 14:22, 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 - vector of amino acid numbers

pdb_ids - cell array of PDB atom identifiers

coords - cell array of coordinate vectors

options.nh_csa - 'tcb' for Tjandra, Curtis, and Bodenhausen, 'bax'

                for Cornilescu and Bax, and 'pol' for Case, Polenova,
                and Gronenborn eigenvalues and orientations of the CSA
                tensors

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

These CSAs are very approximate. For accurate relaxation analysis, supply your own tensors. This is an auxiliary function called by protein.m; direct calls are discouraged.

See also

Protein and nucleic acid import

Spin system specification - Zeeman interactions

Version 2.5, authors: Ilya Kuprov, Zenawi Welderufael