cat.pdb.Rd
Produce a new concatenated PDB object from two or more smaller PDB objects.
cat.pdb(..., renumber=FALSE, rechain=TRUE)
... | two or more PDB structure objects obtained from
|
---|---|
renumber | logical, if ‘TRUE’ residues will be renumbered. |
rechain | logical, if ‘TRUE’ molecules will be assigned new chain identifiers. |
This is a basic utility function for creating a concatenated PDB object based on multipe smaller PDB objects.
Returns an object of class "pdb"
. See read.pdb
for
further details.
Grant, B.J. et al. (2006) Bioinformatics 22, 2695--2696.
Lars Skjaerven
read.pdb
, atom.select
,
write.pdb
, trim.pdb
if (FALSE) { ## Read a PDB file from the RCSB online database pdb1 <- read.pdb("1etl") pdb2 <- read.pdb("1hel") ## Concat new.pdb <- cat.pdb(pdb1, pdb2, pdb1, rechain=TRUE, renumber=TRUE) ## Write to file write.pdb(new.pdb, file="concat.pdb") }