string:pdb_text#

Protein Data Bank file format

  • Technical Form Name: string:pdb_text

  • Form Type: string

Added in version 1.0.0.

Overview#

string:pdb_text is a supported representation form in MolSysMT. Protein Data Bank file format

Supported attributes#

The string:pdb_text form container supports a total of 53 attributes:

Category

Subcategory / Level

Supported Attributes

Topological

Atom Level

atom_index, atom_name, atom_id, atom_type, formal_charge

Topological

Group Level

group_index, group_name, group_id, group_type

Topological

Component Level

component_index

Topological

Chain Level

chain_index, chain_name, chain_id, chain_type

Topological

Molecule Level

molecule_index, molecule_name, molecule_id, molecule_type

Topological

Bonds & Connectivity

bond_index, bond_type, bonded_atoms

Topological

Element Counts

n_atoms, n_groups, n_components, n_chains, n_molecules, n_entities, n_amino_acids, n_nucleotides, n_ions, n_waters, n_small_molecules, n_peptides, n_proteins, n_dnas, n_rnas, n_lipids, n_polysaccharides, n_saccharides

Structural

Coordinates & Conformations

structure_index, structure_id, coordinates, n_structures

Structural

Periodic Box

box, box_shape, box_angles, box_lengths, box_volume

Structural

Crystallographic & Bioassembly

b_factor, alternate_location, occupancy, bioassembly, n_bioassemblies

Structural

Other Attributes

atom_index, n_atoms

Implemented operations#

The form adapter module molsysmt.form.string_pdb_text implements the following functions and modules:

Function / Module

Description

extract()

Extracts a subset of atoms, groups, or structures into a new string:pdb_text instance.

copy()

Creates an independent deep copy of the string:pdb_text object in memory.

add()

Adds elements from another system into an existing string:pdb_text instance.

merge()

Merges multiple systems into a single combined string:pdb_text object.

append_structures()

Appends new coordinate frames or trajectories to the structures container.

get_topological_attributes

Module containing getters for topological attributes.

get_structural_attributes

Module containing getters for structural attributes.

set

Module containing setters for updating coordinates, box dimensions, or attributes in-place.

iterators

Module providing iterators for streaming trajectory frames and structures.

has_attribute()

Checks whether a specific attribute name is supported by string:pdb_text.

is_form()

Returns True if the provided object is an instance of string:pdb_text.

Supported conversions#

The following table lists all direct conversion functions implemented in molsysmt.form.string_pdb_text:

Target Form

Form Type

API Documentation

file:pdb

file

to_file_pdb()

mdtraj.Topology

class

to_mdtraj_Topology()

mdtraj.Trajectory

class

to_mdtraj_Trajectory()

molsysmt.MolSys

class

to_molsysmt_MolSys()

molsysmt.PDBFileHandler

class

to_molsysmt_PDBFileHandler()

molsysmt.Structures

class

to_molsysmt_Structures()

molsysmt.Topology

class

to_molsysmt_Topology()

nglview.NGLWidget

class

to_nglview_NGLWidget()

openmm.Modeller

class

to_openmm_Modeller()

openmm.PDBFile

class

to_openmm_PDBFile()

openmm.Simulation

class

to_openmm_Simulation()

openmm.System

class

to_openmm_System()

openmm.Topology

class

to_openmm_Topology()

pdbfixer.PDBFixer

class

to_pdbfixer_PDBFixer()

string:pdb_text

string

to_string_pdb_text()