The application relates to the technical field of computer-aided
drug design, and provides a molecule generation method,
system, medium and equipment for
drug discovery, which comprises the following steps: acquiring a SMILES string of a ligand and an
amino acid sequence of a
target protein, respectively extracting a ligand
feature vector and a
protein feature vector, splicing and fusing, and then predicting a binding affinity value through a multilayer
perception machine; taking the
protein feature vector as a condition, generating a new molecular potential representation through a reverse denoising process of a conditional
diffusion model; wherein, at each step of the reverse denoising process, a graph-level readout operation is performed on pure
noise, an affinity value is predicted through the multilayer
perception machine, a gradient of an affinity guidance loss is returned to a
noise prediction network, and the new molecule generation is guided to a high affinity area; and the new molecular potential representation is decoded into a SMILES string through a pre-trained molecular language decoder. Novel molecules with high binding potential can be quickly generated.