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

View source: R/getseq.R

pdb.chainR Documentation

Download and/or Split PDB Files.

Description

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

Usage

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

## Not run: pdb.chain('1bpl')

ptm documentation built on Aug. 7, 2022, 5:05 p.m.

Related to pdb.chain in ptm...