bounds.sse {bio3d} | R Documentation |
Inverse process of the funciton pdb2sse
.
bounds.sse(x, pdb = NULL)
x |
a character vector indicating SSE for each amino acid residue. |
pdb |
an object of class |
call for its effects.
a 'sse' object.
In both $helix
and $sheet
, an additional
$id
component is added to indicate the original numbering of the sse.
This is particularly useful in e.g. trim.pdb()
function.
Xin-Qiu Yao & Barry Grant
# PDB server connection required - testing excluded
pdb <- read.pdb("1a7l")
sse <- pdb2sse(pdb)
sse.ind <- bounds.sse(sse)
sse.ind