read_pdb

static pdb2sql.read_pdb(pdbfile)[source]

Read pdb file or data to a list.

Parameters

pdbfile (str, list or ndarray) – pdb file or data

Raises
Returns

list – pdb content in list format

Examples

>>> pdb2sql.read_pdb('3CRO.pdb')