pdb.chain: Download and/or Split PDB Files.

Description Usage Arguments Value Author(s) Examples

View source: R/pdb_ancillary.R

Description

Downloads a PDB file (if requiered) and splits it to provide a file by chain.

Usage

1
pdb.chain(pdb, keepfiles = FALSE)

Arguments

pdb

the path to the PDB of interest or a 4-letter identifier.

keepfiles

logical, if TRUE the function makes a 'temp' directory within the current directory and save in it a pdb file for each chain present in the given structure.

Value

The function returns a chr vector where each coordinate is a chain from the structure.

Author(s)

Juan Carlos Aledo

Examples

1
pdb.chain('1bpl')

jcaledo/ptm_0.1.1 documentation built on April 4, 2020, 3:48 a.m.