Learn R Programming

Peptides (version 0.4)

AAcomp: To compute the Amino-acid composition of a protein sequence

Description

Calculate the percentage of Amino acid in a sequence and categorized as: Tiny, Small, Aliphatic, Aromatic, Non Polar, Polar, Charged, Basic and Acid.

Usage

AAcomp(seq)

Arguments

seq
AA sequence string in upper case

Value

  • The output is an array with the number and percentage of amino acids of a particular class
  • Tiny(A+C+G+S+T)
  • Small(A+B+C+D+G+N+P+S+T+V)
  • Aliphatic(A+I+L+V)
  • Aromatic(F+H+W+Y)
  • Non-polar(A+C+F+G+I+L+M+P+V+W+Y)
  • Polar(D+E+H+K+N+Q+R+S+T+Z)
  • Charged(B+D+E+H+K+R+Z)
  • Basic(H+K+R)
  • Acidic(B+D+E+Z)

References

Roger G. Harrison "Expression of soluble heterologous proteins via fusion with NusA protein" in inNovations 11, June 2000, p 4 - 7.

Examples

Run this code
## AA composition of PDB: 1D9J Cecropin Peptide

AAcomp("KWKLFKKIGIGKFLHSAKKFX")

## Output
#          Number Mole\%
# Tiny           4 19.05
# Small          4 19.05
# Aliphatic      5 23.81
# Aromatic       5 23.81
# Non Polar     11 52.38
# Polar          9 42.86
# Charged        8 38.10
# Basic          8 38.10
# Acid           0  0.00

Run the code above in your browser using DataLab