A base PDB structure format-aware parser. Subclasses must implement
the internal abstract method _parse_header in order to
complete the implementation.
|
|
|
|
|
__init__(self,
structure_file,
check_ss=False)
x.__init__(...) initializes x; see help(type(x)) for signature |
source code
|
|
|
csb.core.EnumItem
|
|
|
list
|
|
|
|
|
|
Structure
|
parse_biomolecule(self,
number=1,
single=False)
Parse and return the Structure of the biological unit (quaternary
structure) as annotated by the REMARK 350 BIOMOLECULE record. |
source code
|
|
|
Ensemble
|
|
|
str
|
parse_residue(self,
residue_name,
as_type=None)
Try to parse a PDB residue_name and return its closest
'normal' string representation. |
source code
|
|
|
str
|
parse_residue_safe(self,
residue_name,
as_type)
Same as parse_residue, but returns UNK/Any instead of
raising UnknownPDBResidueError. |
source code
|
|
|
Structure
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|