Ligand Preparation#

class mockdock.ligand_prep.LigandPreparer(n_cpus=None, ph_low=6.4, ph_high=8.4, generate_isomers=True)[source]#

Bases: object

Prepare SMILES molecules as PDBQT files for docking.

Parameters:
prepare_batch(smiles_list, output_dir, batch_prefix='')[source]#

Prepare PDBQT files for a batch of SMILES. Returns a list of dictionaries: [{‘smiles’: str, ‘pdbqt_paths’: [Path]}] Preserves input order and duplicates.

Parameters:
Return type:

list[dict]