<< btd_aadensity Amino Acids btd_atomicweight >>

BTD >> BTD > Amino Acids > btd_atomiccomp

btd_atomiccomp

CHONS Atomic Composition of an amino acid sequence

Calling Function

y = btd_atomiccomp(x)

Arguments

x

Amino acid sequence (text)

y

Type and number of atoms (C, H, N, O, and S) in an amino acid sequence, as a (Nx2) matrix of text.

Description

atomiccomp(y) calculates the atomic composition such as number of C,N,O,H,S atoms in the given amino acid sequence b.

Examples

y = btd_atomiccomp("AHILLLCKQRSSPA")
evstr(y(:,2))'
--> y = btd_atomiccomp("AHILLLCKQRSSPA")
 y  = 
!H_atoms                117  !
!N_atoms                21   !
!O_atoms                18   !
!C_atoms                67   !
!S_atoms                1    !
!Total number of atoms  224  !

--> evstr(y(:,2))'
 ans  =
   117.   21.   18.   67.   1.   224.

See Also


Report an issue
<< btd_aadensity Amino Acids btd_atomicweight >>