Difference between revisions of "Guess csa pro.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎See also)
(Sync syntax/arguments/outputs with current Spinach source)
Line 1: Line 1:
 
{{DISPLAYTITLE:guess_csa_pro.m}} __NOTOC__
 
{{DISPLAYTITLE:guess_csa_pro.m}} __NOTOC__
 +
 
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:
 
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:
  
Line 10: Line 11:
 
==Syntax==
 
==Syntax==
  
−
    CSAs=guess_csa_pro(res_nums,labels,coords)
+
CSAs=guess_csa_pro(aa_nums,pdb_ids,coords,options)
  
 
==Arguments==
 
==Arguments==
  
−
    aa_nums  - nspins x 1 vector that gives the number of the amino acid residue  
+
aa_nums  - nspins x 1 vector that gives the number of the amino acid residue  
 
                 to which each spin belongs.
 
                 to which each spin belongs.
 
   
 
   
Line 24: Line 25:
 
==Outputs==
 
==Outputs==
  
−
    CSAs      - nspins x 1 cell array containing chemical shift anisotropy tensors in ppm where
+
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.
 
                 the function could make a guess of the CSA tensor, and empty cells where it could not.
  
 
==Examples==
 
==Examples==
 +
 
The function accepts, for example, the output of [[read_pdb_pro.m]]:
 
The function accepts, for example, the output of [[read_pdb_pro.m]]:
  
Line 44: Line 46:
  
 
==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]]
  

Revision as of 14:03, 5 April 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

  1. Proline is not currently handled.
  2. Amino acids are assumed to be numbered from N-terminus to C-terminus.
  3. The resulting CSAs should be considered approximate. For accurate relaxation analysis you must supply your own tensors to Spinach.
  4. 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