parse_pdb_data

visualife.data.parse_pdb_data(pdb_as_text, **kwargs)

Parses PDB data

Parameters:
  • pdb_as_text (string) – pdb data as a multiline text
  • kwargs – see below
Keyword Arguments:
 
  • skip_heteroatoms (boolean) – skip heteroatoms, False by default
  • parse_atoms (boolean) – if True (the default), all visualife.data.Atom objects
    will be created; when set to False, this function won’t extract coordinates
Returns:

a list of visualife.data.Structure objects, created from models found in the given data