chain.pdb(pdb, ca.dist = 4, blank = "X", rtn.vec = TRUE)
read.pdb
. Find possible chain breaks based on connective Calpha atom separation.
This is a basic function for finding possible chain breaks in PDB
structure files, i.e. connective Calpha atoms that are further than
ca.dist
apart.
rtn.vec
is TRUE returns a
character vector of chain ids consisting of the 26 upper-case letters of the
Roman alphabet plus possible blank
entries for non-protein atoms.
Grant, B.J. et al. (2006) Bioinformatics 22, 2695--2696.
# PDB server connection required - testing excluded full.pdb <- read.pdb( get.pdb("5p21", URLonly=TRUE) ) inds <- atom.select(full.pdb, resno=c(10:20,30:33)) cut.pdb <- trim.pdb(full.pdb, inds) chain.pdb(cut.pdb)Found 1 possible chain breaks After resno(s): 20 Chain length(s): 11, 4[1] "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" [19] "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" [37] "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" "A" [55] "A" "A" "A" "A" "A" "A" "A" "A" "A" "B" "B" "B" "B" "B" "B" "B" "B" "B" [73] "B" "B" "B" "B" "B" "B" "B" "B" "B" "B" "B" "B" "B" "B" "B" "B" "B" "B" [91] "B" "B" "B" "B" "B" "B" "B" "B" "B" "B"