pdb4amber package

Submodules

pdb4amber.pdb4amber_run module

Module containing the Pdb4amber class and the command line interface.

class pdb4amber.pdb4amber_run.Pdb4amberRun(input_pdb_path: str, output_pdb_path: str, properties: dict, **kwargs)[source]

Bases: biobb_common.generic.biobb_object.BiobbObject

biobb_amber.pdb4amber.pdb4amber_run Pdb4amberRun
Analyse PDB files and clean them for further usage, especially with the LEaP programs of Amber, using pdb4amber tool from the AmberTools MD package.
Parameters
  • input_pdb_path (str) – Input 3D structure PDB file. File type: input. Sample file. Accepted formats: pdb (edam:format_1476).

  • output_pdb_path (str) –

    Output 3D structure PDB file. File type: output. Sample file. Accepted formats: pdb (edam:format_1476).

  • properties (dict - Python dictionary object containing the tool parameters, not input/output files) –

    • remove_hydrogens (bool) - (False) Remove hydrogen atoms from the PDB file.

    • remove_waters (bool) - (False) Remove water molecules from the PDB file.

    • constant_pH (bool) - (False) Rename ionizable residues e.g. GLU,ASP,HIS for constant pH simulation.

    • remove_tmp (bool) - (True) [WF property] Remove temporal files.

    • restart (bool) - (False) [WF property] Do not execute if output files exist.

Examples

This is a use example of how to use the building block from Python:

from biobb_amber.pdb4amber.pdb4amber_run import pdb4amber_run
prop = {
    'remove_tmp': True
}
pdb4amber_run(input_pdb_path='/path/to/structure.pdb',
              output_pdb_path='/path/to/newStructure.pdb',
              properties=prop)
Info:
check_data_params(out_log, err_log)[source]

Checks input/output paths correctness

launch()[source]

Launches the execution of the Pdb4amberRun module.

pdb4amber.pdb4amber_run.main()[source]
pdb4amber.pdb4amber_run.pdb4amber_run(input_pdb_path: str, output_pdb_path: str, properties: Optional[dict] = None, **kwargs) int[source]

Create Pdb4amberRun method