toolbox

mbuild_polybuild.toolbox

Description

Toolbox Module

This module contains helper functions for forming molecules, generating sequences, and applying forcefield parameters.

Functions

  • _import_pdb: Retrieve the file path of a PDB file distributed with mbuild-polybuild.

  • atom2port: Replace specific atom types with ports in a given trajectory.

  • random_sequence: Generate a random copolymer sequence.

  • apply_nbfix: Apply non-bonded interaction fixes to a structure using parameters from a file.

Functions

apply_nbfix

Apply non-bonded interaction fixes to a structure using parameters from a file.

atom2port

Replace specific atom types with ports in the given trajectory.

random_sequence

Generate a random copolymer sequence.