4.3. ligandparam.stages.gaussian
- class ligandparam.stages.gaussian.StageGaussian(name, base_cls=None)[source]
Bases:
AbstractStageThis is class to run a basic Gaussian calculations on the ligand.
This does three gaussian steps, one at a low level of theory, one at a higher level of theory, and one for the resp calculation.
- Parameters:
name (str) – The name of the stage
base_cls (Ligand) – The base class of the ligand
- Return type:
None
Methods
add_required(filename)Add a required file to the stage.
list_files_in_directory(directory)List all the files in a directory.
append_stage
clean
execute
- class ligandparam.stages.gaussian.StageGaussianRotation(name, alpha=[0.0], beta=[0.0], gamma=[0.0], base_cls=None)[source]
Bases:
AbstractStageThis is class to rotate the ligand and run Gaussian calculations of the resp charges for each rotated ligand.
- Parameters:
name (str) – The name of the stage
alpha (list) – The list of alpha angles to rotate the ligand
beta (list) – The list of beta angles to rotate the ligand
gamma (list) – The list of gamma angles to rotate the ligand
base_cls (Ligand) – The base class of the ligand
Methods
add_required(filename)Add a required file to the stage.
list_files_in_directory(directory)List all the files in a directory.
write_rotation(coords)Write the rotation to a file.
append_stage
clean
execute
- class ligandparam.stages.gaussian.StageGaussiantoMol2(name, base_cls=None, dry_run=None)[source]
Bases:
AbstractStageConvert Gaussian output to mol2 format.
This class converts the Gaussian output to mol2 format, and assigns the charges to the mol2 file.
- Parameters:
name (str) – The name of the stage
base_cls (Ligand) – The base class of the ligand
dry_run (bool, optional) – If True, the stage will not be executed, but the function will print the commands that would
- Return type:
None
Methods
add_required(filename)Add a required file to the stage.
list_files_in_directory(directory)List all the files in a directory.
remove_blank_lines(file_path)Remove blank lines from a file.
append_stage
clean
execute