Learn R Programming

bio3d (version 2.2-4)

pdb2sse: Obtain An SSE Sequence Vector From A PDB Object

Description

Results are similar to that returned by stride(pdb)$sse and dssp(pdb)$sse.

Usage

pdb2sse(pdb, verbose = TRUE)

Arguments

pdb
an object of class pdb as obtained from function read.pdb.
verbose
logical, if TRUE warnings and other messages will be printed.

Value

a character vector indicating SSE elements for each amino acide residue. The 'names' attribute of the vector contains 'resno', 'chain', 'insert', and 'SSE segment number', seperated by the character '_'.

Details

call for its effects.

See Also

dssp, stride, bounds.sse

Examples

Run this code

# PDB server connection required - testing excluded

   pdb <- read.pdb("1a7l")
   sse <- pdb2sse(pdb)
   sse

Run the code above in your browser using DataLab