Method, device and medium for displaying molecular pair relationships
By providing methods and devices for displaying molecular pair relationships in the wet laboratory drug discovery mode, users can easily obtain the similarity and atomic mapping relationships of molecular pairs, which solves the problem of time-consuming and resource-consuming calculation of molecular pair relationships in the existing technology. Improved efficiency of new drug development and reduced risk of failure.
Patent Information
- Application Number
- CN202410020574.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-05
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2044-01-05
AI Technical Summary
In the existing wet laboratory drug discovery model, calculation of molecular pair relationships is time-consuming and resource-consuming, and there is a lack of convenient, intuitive, and rapid display methods.
Provide a method and device for displaying the relationship between molecules, which can calculate the relationship between molecules by triggering the operation by detecting the start control. The display result interface includes a molecular pair relationship diagram. The user can obtain the degree of similarity and atomic mapping relationship through simple operations, and supports selection and editing operations. To screen drug candidate ligands.
It greatly shortens the new drug development process, reduces the risk of new drug failure, and improves the efficiency and accuracy of drug discovery.
Smart Images

Figure CN117954002B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of drug development, and in particular to a method, device and medium for displaying the relationship between molecular pairs. Background Art
[0002] In the related technology, the wet lab drug discovery model requires the design and synthesis of a large number of molecules and preclinical studies. This is a process of continuous trial and error, and is only a qualitative study. In this process, a large amount of resources will be consumed to calculate the relationship between molecular pairs in order to further analyze the situation of each drug candidate ligand based on the intermolecular relationship.
[0003] Therefore, how to conveniently, intuitively and quickly display the results of relational calculations is a technical problem that needs to be solved urgently. Summary of the invention
[0004] In view of this, the present disclosure proposes a method, device and medium for displaying molecular pair relationships, so that users can obtain the results of relationship calculations conveniently, intuitively and quickly through simple operations.
[0005] According to one aspect of the present disclosure, a method for displaying a relationship between molecule pairs is provided, comprising:
[0006] When a trigger operation of a start control for a target project is detected, a relationship calculation is performed for a plurality of molecular pairs in the target project to obtain a calculation result for each of the molecular pairs, wherein the target project includes a plurality of ligands, the molecular pairs include two different ligands in the target project, and the calculation result includes a similarity degree and an atomic mapping relationship between the two different ligands;
[0007] Based on the calculation results for each of the molecular pairs, a result interface is displayed, wherein the result interface displays a molecular pair relationship diagram, and the molecular pair relationship diagram represents the similarity between the two ligands in the molecular pair;
[0008] When a first molecular pair is determined from the multiple molecular pairs according to the selection operation, a first result graph for the first molecular pair is displayed, the first result graph characterizing the atomic mapping relationship between the first ligand and the second ligand, wherein the first molecular pair includes the first ligand and the second ligand.
[0009] In this way, by performing relationship calculations for multiple molecular pairs in the target project when a trigger operation of a start control for the target project is detected, a calculation result for each molecular pair is obtained, wherein the target project may include multiple ligands, the molecular pair includes two different ligands in the target project, and the calculation result may include the similarity and atomic mapping relationship between the two different ligands. By displaying a result interface based on the calculation results for each molecular pair, the result interface may display a molecular pair relationship graph, and the molecular pair relationship graph may characterize the similarity between the two ligands in the molecular pair. By displaying a first result graph for the first molecular pair when a first molecular pair is determined from multiple molecular pairs according to a selection operation, the first result The graph can characterize the atomic mapping relationship between the first ligand and the second ligand, wherein the first molecular pair includes the first ligand and the second ligand. Therefore, in the process of calculating the relationship of the entire molecular pair, the user needs to perform fewer and simpler operations, and can obtain the results of the relationship calculation conveniently, intuitively and quickly through simple operations, which is convenient for users to view the similarity between the two ligands in the molecular pair according to the result interface, and can quickly view the atomic mapping relationship between the two ligands in the molecular pair of interest by selecting the molecular pair of interest, thereby helping users to quickly screen out more preferred drug candidate ligands according to the calculation results of the molecular pair, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0010] In one possible implementation, the method further includes: when a trigger operation for a relationship calculation control is detected, displaying an initial interface for relationship calculation, wherein at least one optional item is displayed in the initial interface; when the target item is determined from the at least one optional item according to a selection operation, displaying a calculation input prompt for the target item, wherein the calculation input prompt displays a plurality of first input boxes and the start control, and different first input boxes are used to input different calculation inputs, wherein the calculation input includes at least one of a structure file recording and describing each ligand in the target item and a calculation method for the degree of similarity; according to the detected input operation for each of the calculation input boxes, displaying the determined calculation input for the target item in the calculation input prompt, so as to perform the relationship calculation based on the calculation input when the start control is triggered.
[0011] In this way, the target item is determined through the selection operation, and the calculation input for the target item is determined according to the calculation input prompt, so that when the start control is triggered, the relationship calculation can be performed based on the calculation input. In this process, the user can not only select the target item from multiple optional items, but also select at least two required ligands in the target item to form a molecular pair for subsequent relationship calculation. Among them, the calculation input can be customized to determine the data used for the relationship calculation, so as to obtain the calculation results that meet the user's needs, which greatly improves the flexibility of the relationship calculation and meets the user's calculation needs to the greatest extent.
[0012] In a possible implementation, the method further includes: in case of detecting a trigger operation on an input editing control displayed in the result interface, displaying an optional input prompt for the target item, the optional input prompt displaying multiple second input boxes and the start control, different second input boxes are used to enter different optional inputs, the optional inputs include at least one of the number of connections, a mapping ratio threshold, and a central ligand, wherein the number of connections is used to determine the number of connected ligands in the molecule pair relationship diagram, the mapping ratio threshold is used to screen out the molecular pairs displayed in the molecule pair relationship diagram, the central ligand is one of the ligands in the target item, and the ligand forms a molecular pair with the remaining ligands; according to the detected input operation on each of the second input boxes, the determined optional input for the target item is displayed in the optional input prompt, so that the relationship calculation is performed based on the calculation input and the optional input when the start control is triggered.
[0013] In this way, the optional input prompt is displayed by triggering the input editing control, and the optional input for the target item is determined according to the calculation input prompt, so that when the start control is triggered, further relationship calculation can be performed based on the calculation input and the optional input, thereby meeting the user's needs for minor adjustments to the molecule pair relationship diagram without having to start the entire relationship calculation from scratch, which helps save computing resources while improving the flexibility of relationship calculation.
[0014] In a possible implementation, the result interface includes a first area, the first area displays the molecule pair relationship diagram and a list browsing control, wherein the molecule pair relationship diagram includes multiple molecule pairs, two ligands of each molecule pair are connected by a line, and the similarity between the two ligands of the corresponding molecule pair is displayed on the line; the method also includes: in the case of detecting a trigger operation for the list browsing control, displaying a molecule pair list, the molecule pair list includes multiple first options, different first options represent different molecule pairs, and the first option includes the ligand name of the molecule pair; in the case of detecting a trigger operation for the first option, highlighting the molecule pair represented by the first option in the molecule pair relationship diagram, and using the molecule pair represented by the first option as the first molecule pair, so as to display a first result diagram for the first molecule pair when the first molecule pair is determined; and / or, in the case of detecting a trigger operation for the line, highlighting the molecule pair corresponding to the line in the molecule pair relationship diagram, and using the molecule pair corresponding to the line as the first molecule pair, so as to display a first result diagram for the first molecule pair when the first molecule pair is determined.
[0015] In this way, by setting a trigger operation for the first option in the molecule pair list and / or a trigger operation for the connection in the molecule pair relationship diagram, the first molecule pair currently selected by the user can be determined, thereby further intuitively displaying the first result diagram of the first molecule pair, so that the user can easily, intuitively and quickly obtain the atomic mapping relationship between the two ligands in the molecule pair of interest through simple operations.
[0016] In a possible implementation, the result interface also includes a second area, and the second area includes a first sub-area and a second sub-area; the method also includes: when the first molecule pair is determined, displaying a first result graph for the first molecule pair in the first sub-area, and displaying a first editing prompt for the first molecule pair in the second sub-area; wherein the first result graph displays the atomic mapping relationship between the first ligand and the second ligand through a three-dimensional structure after partial overlap processing, wherein the three-dimensional structure includes a first three-dimensional structure for the first ligand and a second three-dimensional structure for the second ligand, and the first three-dimensional structure displays each atom of the first ligand and the corresponding identifier, and the The second three-dimensional structure displays the atoms and corresponding identifiers of the second ligand; wherein the first editing prompt displays multiple editing items, and different editing items represent different atomic mapping relationships between the first ligand and the second ligand, and each editing item includes a first identifier and a second identifier, the first identifier is the identifier of the first atom of the first ligand, and the second identifier is the identifier of the second atom of the second ligand, and each editing item represents the atomic mapping relationship between the corresponding first atom and second atom, wherein the first atom is one of the first ligands, and the second atom is one of the second ligands, and the partial overlapping processing is performed on the first atom and the second atom in the atomic mapping relationship.
[0017] In this way, the first sub-result graph for the first molecule pair can be intuitively viewed through the first sub-area, and the editing prompts for the first molecule pair can be conveniently viewed through the second sub-area, thereby helping users to quickly complete the fine-tuning of the atomic mapping relationship, thereby helping users to quickly screen out more preferred drug candidate ligands based on the calculation results of the molecular pairs, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0018] In a possible implementation, the first sub-area also displays a first toggle control and a second toggle control; the first edit prompt also displays a first delete control for each of the edit items; the second sub-area also displays a second edit prompt and a third edit prompt, the second edit prompt displays a first identification input box, a second identification input box, and a new control, the first identification input box is used to input the identification of one of the atoms of the first ligand, and the second identification input box is used to input the identification of one of the atoms of the second ligand; the third edit prompt displays a reset control and a save control; the method also includes at least one of the following operations: when a trigger operation is detected for an atom in the first three-dimensional structure or the second three-dimensional structure, the atom is highlighted, and when there is an atomic mapping relationship related to the atom, the edit item corresponding to the atomic mapping relationship is highlighted in the first edit prompt; when a trigger operation is detected for the first edit prompt In the event of a trigger operation on an edit item in the control panel, the edit item is highlighted, and two atoms in the atomic mapping relationship represented by the edit item are highlighted in the first result diagram; in the event of a trigger operation on the first switching control is detected, the first three-dimensional structure is displayed or hidden in the first result diagram; in the event of a trigger operation on the second switching control is detected, the second three-dimensional structure is displayed or hidden in the first result diagram; in the event of a trigger operation on the first delete control for the edit item is detected, the edit item is canceled from the first edit prompt, and the atoms in the atomic mapping relationship represented by the edit item are highlighted in the first result diagram; in the event of a trigger operation on the reset control is detected, all operations on the first result diagram are reset, and the original first result diagram is displayed in the first sub-area; in the event of a trigger operation on the save control is detected, the first result diagram for the first molecule pair is saved.
[0019] In this way, by setting multiple editing prompts and multiple functional controls such as reset controls, switch controls, etc., users can quickly complete the fine-tuning of atomic mapping relationships, which helps users quickly screen out more preferred drug candidate ligands based on the calculation results of molecular pairs, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0020] In a possible implementation, the molecule pair list further displays a second delete control; the second area further displays a first molecule pair browsing control and a second molecule pair browsing control; the result interface further displays a third area, and the third area displays multiple ligands of the target project; the method further includes at least one of the following operations: when a third ligand in the molecule pair relationship diagram is determined according to a selection operation, display a line with one end connected to the third ligand; and when a fourth ligand in the molecule pair relationship diagram is determined according to a selection operation, connect the other end of the line to the fourth ligand to display the similarity between the third ligand and the fourth ligand on the line, wherein the line connecting the third ligand and the fourth ligand is not displayed in the original molecule pair relationship diagram; determine the currently selected option from the multiple first options according to the selection operation, and when a trigger operation for the second delete control is detected, cancel the display of the molecule pair represented by the currently selected option in the molecule pair relationship diagram, and cancel the display of the currently selected option in the molecule pair list, and the number of the currently selected options is one or more; when a trigger operation for the first molecule pair browsing control is detected In the case of a trigger operation, a molecule pair in the molecule pair list that is located before and adjacent to the current molecule pair displayed on the result interface is determined, the molecule pair is highlighted in the first area, and a result graph for the molecule pair is displayed in the first sub-area; in the case of a trigger operation on the second molecule pair browsing control is detected, a molecule pair in the molecule pair list that is located after and adjacent to the current molecule pair displayed on the result interface is determined, the molecule pair is highlighted in the first area, and a result graph for the molecule pair is displayed in the first sub-area; in the case of determining the currently selected ligand from multiple ligands in the target project according to a selection operation, the currently selected ligand is highlighted in the molecule pair relationship graph; in the case of detecting a trigger operation on a ligand in the molecule pair relationship graph, the ligand is enlarged and displayed in the molecule pair relationship graph; in the case of detecting a trigger operation on a line in the molecule pair relationship graph, a third deletion control is displayed; in the case of detecting a trigger operation on the third deletion control, the line is canceled from the molecule pair relationship graph, and the first option corresponding to the line is canceled from the molecule pair list.
[0021] In this way, by displaying a series of controls and detecting trigger conditions, various user needs can be responded to in a timely manner.
[0022] In a possible implementation, the method further includes at least one of the following operations: when a translation operation on the molecule pair relationship diagram is detected, translating the molecule pair relationship diagram; when a zoom operation on the molecule pair relationship diagram is detected, zooming the display size of the molecule pair relationship diagram; when a rotation operation on the first result diagram is detected, rotating the first result diagram; when a zoom operation on the first result diagram is detected, enlarging or reducing the display size of the first result diagram.
[0023] In this way, by detecting the translation operation, rotation operation and scaling operation, the user's translation, rotation and scaling needs can be responded to in a timely manner.
[0024] According to another aspect of the present disclosure, there is provided a device for displaying a relationship between molecular pairs, comprising:
[0025] A calculation module, wherein the calculation module is configured to, when a trigger operation of a start control for a target project is detected, perform a relationship calculation for a plurality of molecular pairs in the target project to obtain a calculation result for each of the molecular pairs, wherein the target project includes a plurality of ligands, the molecular pairs include two different ligands in the target project, and the calculation result includes a similarity and an atomic mapping relationship between the two different ligands;
[0026] A first display module, wherein the first display module is configured to display a result interface based on the calculation results for each of the molecular pairs, wherein the result interface displays a molecular pair relationship diagram, wherein the molecular pair relationship diagram represents the similarity between two ligands in the molecular pair;
[0027] A second display module, wherein the second display module is configured to display a first result graph for a first molecular pair when a first molecular pair is determined from the multiple molecular pairs according to a selection operation, wherein the first result graph represents an atomic mapping relationship between a first ligand and a second ligand, wherein the first molecular pair includes the first ligand and the second ligand.
[0028] In this way, when a trigger operation of a start control for a target project is detected by the calculation module, a relationship calculation is performed for multiple molecular pairs in the target project to obtain a calculation result for each molecular pair, wherein the target project may include multiple ligands, the molecular pair includes two different ligands in the target project, and the calculation result may include the similarity and atomic mapping relationship between the two different ligands. The result interface is displayed based on the calculation results for each molecular pair by the first display module, and the result interface may display a molecular pair relationship diagram, which may characterize the similarity between the two ligands in the molecular pair. The first molecular pair relationship diagram for the first molecular pair is displayed by the second display module when the first molecular pair is determined from the multiple molecular pairs according to the selection operation. The result diagram, the first result diagram can characterize the atomic mapping relationship between the first ligand and the second ligand, wherein the first molecular pair includes the first ligand and the second ligand, so that in the process of calculating the relationship of the entire molecular pair, the user needs to perform fewer and simpler operations, and can obtain the results of the relationship calculation conveniently, intuitively and quickly through simple operations, which is convenient for users to view the similarity between the two ligands in the molecular pair according to the result interface, and can quickly view the atomic mapping relationship between the two ligands in the molecular pair of interest by selecting the molecular pair of interest, thereby helping users to quickly screen out more preferred drug candidate ligands according to the calculation results of the molecular pair, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0029] In one possible implementation, the device also includes a first calculation module, which is configured to: when a trigger operation is detected for a relationship calculation control, display an initial interface for relationship calculation, wherein at least one optional item is displayed in the initial interface; when the target item is determined from the at least one optional item according to a selection operation, display a calculation input prompt for the target item, wherein the calculation input prompt displays multiple first input boxes and the start control, and different first input boxes are used to input different calculation inputs, wherein the calculation input includes at least one of a structure file that records and describes each ligand in the target item and a calculation method for the degree of similarity; based on the detected input operation for each of the calculation input boxes, display the determined calculation input for the target item in the calculation input prompt, so as to perform the relationship calculation based on the calculation input when the start control is triggered.
[0030] In this way, the target item is determined through the selection operation, and the calculation input for the target item is determined according to the calculation input prompt, so that when the start control is triggered, the relationship calculation can be performed based on the calculation input. In this process, the user can not only select the target item from multiple optional items, but also select at least two required ligands in the target item to form a molecular pair for subsequent relationship calculation. Among them, the calculation input can be customized to determine the data used for the relationship calculation, so as to obtain the calculation results that meet the user's needs, which greatly improves the flexibility of the relationship calculation and meets the user's calculation needs to the greatest extent.
[0031] In a possible implementation, the device also includes a second calculation module, which is configured to: when a trigger operation is detected for the input editing control displayed in the result interface, display an optional input prompt for the target item, the optional input prompt displays multiple second input boxes and the start control, different second input boxes are used to enter different optional inputs, and the optional inputs include at least one of the number of connections, the mapping ratio threshold, and the central ligand, wherein the number of connections is used to determine the number of ligands connected in the molecular pair relationship diagram, and the mapping ratio threshold is used to screen out the molecular pairs displayed in the molecular pair relationship diagram, and the central ligand is one of the ligands in the target item, and the ligand forms a molecular pair with the remaining ligands; according to the detected input operation for each second input box, the determined optional input for the target item is displayed in the optional input prompt, so that the relationship calculation is performed based on the calculation input and the optional input when the start control is triggered.
[0032] In this way, the optional input prompt is displayed by triggering the input editing control, and the optional input for the target item is determined according to the calculation input prompt, so that when the start control is triggered, further relationship calculation can be performed based on the calculation input and the optional input, thereby meeting the user's needs for minor adjustments to the molecule pair relationship diagram without having to start the entire relationship calculation from scratch, which helps save computing resources while improving the flexibility of relationship calculation.
[0033] In a possible implementation, the result interface includes a first area, the first area displays the molecule pair relationship diagram and a list browsing control, wherein the molecule pair relationship diagram includes multiple molecule pairs, two ligands of each molecule pair are connected by a line, and the similarity between the two ligands of the corresponding molecule pair is displayed on the line; the device also includes a determination module, the determination module is configured to: when a trigger operation for the list browsing control is detected, display a molecule pair list, the molecule pair list includes multiple first options, different first options represent different molecule pairs, and the first option includes the ligand name of the molecule pair; when a trigger operation for the first option is detected, the molecule pair represented by the first option is highlighted in the molecule pair relationship diagram, and the molecule pair represented by the first option is used as the first molecule pair, so as to display a first result diagram for the first molecule pair when the first molecule pair is determined; and / or, when a trigger operation for the line is detected, the molecule pair corresponding to the line is highlighted in the molecule pair relationship diagram, and the molecule pair corresponding to the line is used as the first molecule pair, so as to display a first result diagram for the first molecule pair when the first molecule pair is determined.
[0034] In this way, by setting a trigger operation for the first option in the molecule pair list and / or a trigger operation for the connection in the molecule pair relationship diagram, the first molecule pair currently selected by the user can be determined, thereby further intuitively displaying the first result diagram of the first molecule pair, so that the user can easily, intuitively and quickly obtain the atomic mapping relationship between the two ligands in the molecule pair of interest through simple operations.
[0035] In a possible implementation, the result interface further includes a second area, the second area includes a first sub-area and a second sub-area; the device further includes a third display module, the third display module is configured to: when the first molecule pair is determined, display a first result graph for the first molecule pair in the first sub-area, and display a first editing prompt for the first molecule pair in the second sub-area; wherein the first result graph displays the atomic mapping relationship between the first ligand and the second ligand through a three-dimensional structure after partial overlap processing, wherein the three-dimensional structure includes a first three-dimensional structure for the first ligand and a second three-dimensional structure for the second ligand, and the first three-dimensional structure displays each of the first ligand Atoms and corresponding identifiers, the second three-dimensional structure displays the atoms and corresponding identifiers of the second ligand; wherein the first editing prompt displays multiple editing items, different editing items represent different atomic mapping relationships between the first ligand and the second ligand, each editing item includes a first identifier and a second identifier, the first identifier is the identifier of the first atom of the first ligand, the second identifier is the identifier of the second atom of the second ligand, each editing item represents the atomic mapping relationship between the corresponding first atom and the second atom, wherein the first atom is one of the first ligands, the second atom is one of the second ligands, and the partial overlapping processing is performed on the first atom and the second atom in the atomic mapping relationship.
[0036] In this way, the first sub-result graph for the first molecule pair can be intuitively viewed through the first sub-area, and the editing prompts for the first molecule pair can be conveniently viewed through the second sub-area, thereby helping users to quickly complete the fine-tuning of the atomic mapping relationship, thereby helping users to quickly screen out more preferred drug candidate ligands based on the calculation results of the molecular pairs, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0037] In a possible implementation, the first sub-area also displays a first switching control and a second switching control; the first editing prompt also displays a first deletion control for each of the editing items; the second sub-area also displays a second editing prompt and a third editing prompt, the second editing prompt displays a first identification input box, a second identification input box, and a new addition control, the first identification input box is used to input the identification of one of the atoms of the first ligand, and the second identification input box is used to input the identification of one of the atoms of the second ligand; the third editing prompt displays a reset control and a save control; the device also includes a first execution module, the first execution module is configured to perform at least one of the following operations: when a trigger operation is detected for an atom in the first three-dimensional structure or the second three-dimensional structure, the atom is highlighted, and when there is an atomic mapping relationship related to the atom, the editing item corresponding to the atomic mapping relationship is highlighted in the first editing prompt; when a trigger operation is detected for an atom in the first three-dimensional structure or the second three-dimensional structure, the atom is highlighted. In case of a trigger operation on an edit item in the first edit prompt, the edit item is highlighted, and two atoms in the atomic mapping relationship represented by the edit item are highlighted in the first result diagram; in case of a trigger operation on the first switching control is detected, the first three-dimensional structure is displayed or hidden in the first result diagram; in case of a trigger operation on the second switching control is detected, the second three-dimensional structure is displayed or hidden in the first result diagram; in case of a trigger operation on the first delete control for the edit item is detected, the edit item is canceled from the first edit prompt, and the atoms in the atomic mapping relationship represented by the edit item are highlighted in the first result diagram; in case of a trigger operation on the reset control is detected, all operations on the first result diagram are reset, and the original first result diagram is displayed in the first sub-area; in case of a trigger operation on the save control is detected, the first result diagram for the first molecule pair is saved.
[0038] In this way, by setting multiple editing prompts and multiple functional controls such as reset controls, switch controls, etc., users can quickly complete the fine-tuning of atomic mapping relationships, which helps users quickly screen out more preferred drug candidate ligands based on the calculation results of molecular pairs, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0039] In a possible implementation, the molecule pair list further displays a second delete control; the second area further displays a first molecule pair browsing control and a second molecule pair browsing control; the result interface further displays a third area, and the third area displays multiple ligands of the target project; the device also includes a second execution module, and the second execution module is configured to perform at least one of the following operations: when a third ligand in the molecule pair relationship diagram is determined according to a selection operation, display a line with one end connected to the third ligand; and when a fourth ligand in the molecule pair relationship diagram is determined according to a selection operation, connect the other end of the line to the fourth ligand to display the similarity between the third ligand and the fourth ligand on the line, wherein the line connecting the third ligand and the fourth ligand is not displayed in the original molecule pair relationship diagram; determine the currently selected option from the multiple first options according to the selection operation, and when a trigger operation for the second delete control is detected, cancel the display of the molecule pair represented by the currently selected option in the molecule pair relationship diagram, and cancel the display of the currently selected option in the molecule pair list, and the number of the currently selected options is one or more; when a trigger operation for the In the case of a trigger operation on the first molecule pair browsing control, a molecule pair located before and adjacent to the current molecule pair displayed on the result interface in the molecule pair list is determined, the molecule pair is highlighted in the first area, and a result graph for the molecule pair is displayed in the first sub-area; in the case of a trigger operation on the second molecule pair browsing control is detected, a molecule pair located after and adjacent to the current molecule pair displayed on the result interface in the molecule pair list is determined, the molecule pair is highlighted in the first area, and a result graph for the molecule pair is displayed in the first sub-area; in the case of determining the currently selected ligand from multiple ligands in the target project according to the selection operation, the currently selected ligand is highlighted in the molecule pair relationship graph; in the case of detecting a trigger operation on a ligand in the molecule pair relationship graph, the ligand is enlarged and displayed in the molecule pair relationship graph; in the case of detecting a trigger operation on a line in the molecule pair relationship graph, a third deletion control is displayed; in the case of detecting a trigger operation on the third deletion control, the line is canceled from the molecule pair relationship graph, and the first option corresponding to the line is canceled from the molecule pair list.
[0040] In this way, by displaying a series of controls and detecting trigger conditions, various user needs can be responded to in a timely manner.
[0041] In a possible implementation, the device also includes a third execution module, and the third execution module is configured to perform at least one of the following operations: when a translation operation on the molecule pair relationship diagram is detected, the molecule pair relationship diagram is translated; when a zoom operation on the molecule pair relationship diagram is detected, the display size of the molecule pair relationship diagram is scaled; when a rotation operation on the first result diagram is detected, the first result diagram is rotated; when a zoom operation on the first result diagram is detected, the display size of the first result diagram is enlarged or reduced.
[0042] In this way, by detecting the translation operation, rotation operation and scaling operation, the user's translation, rotation and scaling needs can be responded to in a timely manner.
[0043] According to another aspect of the present disclosure, a device for displaying molecular pair relationships is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to implement the above-mentioned method for displaying molecular pair relationships when executing the instructions stored in the memory.
[0044] According to another aspect of the present disclosure, a non-volatile computer-readable storage medium is provided, on which computer program instructions are stored, wherein the computer program instructions implement the above-mentioned method for displaying the relationship between molecular pairs when executed by a processor.
[0045] Further features and aspects of the present disclosure will become apparent from the following detailed description of exemplary embodiments with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate exemplary embodiments, features, and aspects of the disclosure and, together with the description, serve to explain the principles of the disclosure.
[0047] Figure 1 A flow chart showing a method for displaying a relationship between molecule pairs provided according to an embodiment of the present disclosure.
[0048] Figure 2-Figure 16 A schematic diagram showing an interface in a method for displaying molecular pair relationships provided according to an embodiment of the present disclosure.
[0049] Fig.17 A block diagram showing a device for displaying molecular pair relationships according to an embodiment of the present disclosure.
[0050] Fig.18 A block diagram of an apparatus for executing a method for displaying a molecule pair relationship according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0051] Various exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.
[0052] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
[0053] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.
[0054] In order to solve the above technical problems, the embodiments of the present disclosure provide a method for displaying the relationship of molecular pairs, by performing relationship calculations for multiple molecular pairs in a target project when a trigger operation of a start control for a target project is detected, and obtaining calculation results for each molecular pair, wherein the target project may include multiple ligands, the molecular pair includes two different ligands in the target project, and the calculation results may include the similarity and atomic mapping relationship between the two different ligands, by displaying a result interface based on the calculation results for each molecular pair, the result interface may display a molecular pair relationship graph, the molecular pair relationship graph may characterize the similarity between the two ligands in the molecular pair, and by displaying the first molecular pair when a first molecular pair is determined from multiple molecular pairs according to a selection operation. The first result graph of the molecular pair can characterize the atomic mapping relationship between the first ligand and the second ligand, wherein the first molecular pair includes the first ligand and the second ligand, so that in the process of calculating the relationship of the entire molecular pair, the user needs to perform fewer and simpler operations, and can obtain the results of the relationship calculation conveniently, intuitively and quickly through simple operations, which is convenient for users to view the similarity between the two ligands in the molecular pair according to the result interface, and can quickly view the atomic mapping relationship between the two ligands in the molecular pair of interest by selecting the molecular pair of interest, thereby helping users to quickly screen out more preferred drug candidate ligands according to the calculation results of the molecular pair, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0055] Figure 1 FIG. 1 is a flow chart showing a method for displaying a molecular pair relationship according to an embodiment of the present disclosure. Figure 1 As shown, the method for displaying the relationship between molecular pairs may include the following steps S101 to S103.
[0056] Step S101 : when a trigger operation of a start control for a target project is detected, a relationship calculation is performed for a plurality of molecule pairs in the target project to obtain a calculation result for each molecule pair.
[0057] Step S102: displaying a result interface based on the calculation results for each molecule pair.
[0058] Step S103: when a first molecule pair is determined from a plurality of molecule pairs according to the selection operation, display a first result graph for the first molecule pair.
[0059] The target project can include multiple ligands. A molecule pair includes two different ligands in the target project. The calculation results can include the similarity and atomic mapping relationship between the two different ligands.
[0060] The result interface may display a molecular pair relationship diagram, which may characterize the similarity between two ligands in the molecular pair. The first molecular pair includes a first ligand and a second ligand. The first result diagram may characterize the atomic mapping relationship between the first ligand and the second ligand. Figure 2 Schematic diagram of the interface in the method for displaying the relationship between molecular pairs provided in accordance with an embodiment of the present disclosure. Figure 2 As shown, the result interface I1 displays a molecular pair relationship diagram, in which multiple molecular pairs are displayed. Each molecular pair can be displayed by two ligands connected by a line (for simplicity, one molecular pair is represented by one line in this article). Figure 2 Taking the first molecular pair shown in as an example, the first molecular pair includes a first ligand named ejm_45 and a second ligand named ejm_31, and the first ligand is connected to the second ligand by a line, and the similarity between the first ligand and the second ligand is marked on the line "Sim: 0.87".
[0061] In this way, through step S101, when a trigger operation of a start control for a target project is detected, a relationship calculation can be performed for multiple molecular pairs in the target project to obtain a calculation result for each molecular pair, wherein the target project may include multiple ligands, the molecular pair includes two different ligands in the target project, and the calculation result may include the similarity and atomic mapping relationship between the two different ligands. Through step S102, a result interface can be displayed based on the calculation results for each molecular pair, and the result interface can display a molecular pair relationship diagram, which can characterize the similarity between the two ligands in the molecular pair. Through step S103, when a first molecular pair is determined from multiple molecular pairs according to a selection operation, a molecular pair relationship diagram for the first molecular pair can be displayed. The first result graph of the pair can characterize the atomic mapping relationship between the first ligand and the second ligand, wherein the first molecular pair includes the first ligand and the second ligand, so that in the process of calculating the relationship of the entire molecular pair, the user needs to perform fewer and simpler operations, and can obtain the results of the relationship calculation conveniently, intuitively and quickly through simple operations, which is convenient for users to view the similarity between the two ligands in the molecular pair according to the result interface, and can quickly view the atomic mapping relationship between the two ligands in the molecular pair of interest by selecting the molecular pair of interest, thereby helping users to quickly screen out more preferred drug candidate ligands according to the calculation results of the molecular pair, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0062] Figure 3-Figure 16 A schematic diagram of an interface in a method for displaying a molecular pair relationship according to an embodiment of the present disclosure is shown. Figure 1-Figure 16 The method for displaying the relationship between molecular pairs provided in the embodiments of the present disclosure is schematically illustrated.
[0063] In a possible implementation, during the process of performing relationship calculation, a homepage for relationship calculation can be displayed. A relationship calculation control can be set in the homepage. In the process of displaying the homepage to the user, when a trigger operation for the relationship calculation control is detected, an initial interface for relationship calculation can be displayed. In the initial interface, at least one optional item can be displayed. In the process of displaying the initial interface to the user, a detection of a selection operation for determining a target item can be performed. For example, the selection operation can be a single-click operation, a double-click operation, or other targeted operations for a certain optional item. In this way, when a selection operation for a certain optional item is detected, the target item can be determined from at least one optional item. Among them, the homepage and initial interface for relationship calculation can be flexibly set according to actual needs, and the embodiments of the present disclosure do not limit this.
[0064] When the target project is determined from at least one optional project according to the selection operation, each ligand in the target project can be displayed in the initial interface. For example, in a certain area of the initial interface, relevant information of each ligand in the target project can be displayed, and the relevant information can be the structural formula and name of the ligand. In this way, it is convenient for the user to select at least two ligands for relationship calculation according to the ligands concerned in actual needs, thereby avoiding the excessive use of computing resources by directly calculating the molecular pairs formed by all ligands without obtaining the calculation results of all molecular pairs.
[0065] In the case where a target project is determined from at least one optional project according to a selection operation, a calculation input prompt for the target project can be displayed. The calculation input prompt can be displayed in a certain area in the initial interface, or it can be displayed in the form of a pop-up dialog box. The embodiment of the present disclosure does not limit this. The user can set the position and form of the calculation input prompt according to actual needs and / or preferences. In the calculation input prompt, multiple first input boxes and startup controls can be displayed. Different first input boxes can be used to input different calculation inputs. The calculation input may include at least one of the structural files recording and describing each ligand in the target project and the calculation method of the similarity, wherein the calculation method of the similarity can be set by itself or can be selected from the Tanimoto coefficient, Dice coefficient, Tversky coefficient, Euclidean distance, Manhattan distance, etc. Any one of the methods. The startup control can be used to start the relationship calculation when it is triggered. According to the input operation detected for each calculation input box, the calculation input determined for the target project can be displayed in the calculation input prompt, so that the relationship calculation can be performed based on the calculation input when the startup control is triggered. Generally, a new relational calculation task can be achieved through relational calculation based on calculation input. When a new relational calculation task is created, ligands of actual need can be selected to form molecular pairs, so as to obtain corresponding calculation results and reduce excessive use of computing resources.
[0066] In this way, the target item is determined through the selection operation, and the calculation input for the target item is determined according to the calculation input prompt, so that when the start control is triggered, the relationship calculation can be performed based on the calculation input. In this process, the user can not only select the target item from multiple optional items, but also select at least two required ligands in the target item to form a molecular pair for subsequent relationship calculation. Among them, the calculation input can be customized to determine the data used for the relationship calculation, so as to obtain the calculation results that meet the user's needs, which greatly improves the flexibility of the relationship calculation and meets the user's calculation needs to the greatest extent.
[0067] After a new relationship calculation is performed based on the calculation input, a result interface can be displayed based on the relationship calculation. The displayed result interface can be provided with input editing controls, such as Figure 3 The input editing control (Editing Parameters) Q1 in the result interface I1 is shown. In a possible implementation, when a trigger operation for the input editing control displayed in the result interface is detected, an optional input prompt for the target item may be displayed, for example Figure 3 The optional input prompt T0 in the result interface I1 is shown. Figure 3 As shown, the selectable input prompt T0 may include a prompt area T1 showing a plurality of second input boxes and a start control (Submit) Q2.
[0068] Different second input boxes can be used to input different optional inputs, and the optional inputs may include at least one of the number of connections (connectivity_number), the mapping ratio threshold (map_ratio_threshold), and the center ligand (Centerligand). In the prompt area T1, on the one hand, the relevant optional inputs of the automated generation of the molecular pair relationship diagram (Automated Network Generation) can be displayed, such as the number of connections (or connectivity) used to determine the number of ligands connected in the molecular pair relationship diagram. Since a molecular pair generally includes two ligands, the number of connections can be set to 2, so that two ligands are connected by a line in the molecular pair relationship diagram; for example, the mapping ratio threshold for screening the molecular pairs displayed in the molecular pair relationship diagram can be input with a certain value according to actual needs. For example, when 0.5 (or 50%) is input as the mapping ratio threshold, if the number of mapped heavy atoms in the molecular pair accounts for less than 50% of the total number of heavy atoms, then the molecular pair will not be included in the calculation result, and thus the molecular pair will not be displayed in the molecular pair relationship diagram. In the case where it is detected that the automatic generation of the molecular pair relationship diagram is selected, the relationship calculation can be performed according to the default number of connections and mapping ratio threshold. It should be noted that, although 2 is used as an example to introduce the number of connections, and 0.5 and 50% are used as examples to introduce the mapping ratio threshold, those skilled in the art will understand that the present disclosure should not be limited to this. In fact, users can flexibly set the number of connections and mapping ratio thresholds according to personal preferences and / or actual application scenarios. In the prompt area T1, on the one hand, the relevant optional inputs of the star-shaped molecular pair relationship diagram (Star Map Network) can also be displayed, such as for determining the central ligand in the star-shaped molecular pair relationship diagram. The central ligand is one of the ligands in the target project, and this ligand forms a molecular pair with the remaining ligands. For example, in Figure 4 In the prompt area T1 shown, the ligand named ejm_45 is selected as the central ligand, thereby Figure 4 In all the molecular pairs shown in the molecular pair relationship diagram, one of the ligands in each molecular pair is the central ligand (ie, the ligand named ejm_45).
[0069] The startup control can be used to start the relationship calculation when it is triggered. According to the input operation detected for each second input box, the determined optional input for the target item can be displayed in the optional input prompt, so that the relationship calculation can be performed based on the calculated input and the optional input when the startup control is triggered (or, the relationship calculation can be further performed based on the optional input on the basis of the calculation result obtained based on the calculated input). Generally, further relationship calculation can be achieved by the relationship calculation based on the calculated input and the optional input. After obtaining the calculation result obtained based on the calculated input, further using the optional input to perform the relationship calculation again can meet the user's needs for minor adjustments to the molecular pair relationship diagram without having to recalculate from scratch, which greatly saves computing resources.
[0070] In this way, the optional input prompt is displayed by triggering the input editing control, and the optional input for the target item is determined according to the calculation input prompt, so that when the start control is triggered, further relationship calculation can be performed based on the calculation input and the optional input, thereby meeting the user's needs for minor adjustments to the molecule pair relationship diagram without having to start the entire relationship calculation from scratch, which helps save computing resources while improving the flexibility of relationship calculation.
[0071] When the start control is triggered, the relationship between multiple molecular pairs in the target project can be calculated based on the calculation input (or based on the calculation input and the optional input), and the calculation results for each molecular pair can be obtained, so that the result interface can be displayed based on the calculation results for each molecular pair. Figure 5 Take the interface shown as an example, Figure 5 As shown, the result interface I1 may include a first area A1, which may display a molecule pair relationship diagram and a list browsing control Q3, wherein the molecule pair relationship diagram includes multiple molecule pairs, and the two ligands of each molecule pair are connected by a line, and the similarity between the two ligands of the corresponding molecule pair is displayed on the line.
[0072] like Figure 6 As shown, in the molecular pair relationship diagram, each ligand can be displayed in the form of a card. In the process of displaying the molecular pair relationship diagram to the user, a detection of a selection operation for the ligand can be performed. In the case of detecting a trigger operation for a ligand in the molecular pair relationship diagram, the ligand can be magnified and displayed in the molecular pair relationship diagram. The magnified display method can be to directly magnify the ligand card, or to display an enlarged image of the ligand card near the ligand card to facilitate the user to more clearly obtain the name and / or structural formula of the ligand. Figure 6Take the interface shown as an example, Figure 6 As shown, when a trigger operation for a ligand named ejm_42 is detected, an enlarged view including the name and structural formula of the ligand can be displayed near the card of the ligand. Among them, the trigger operation for the ligand in the molecule pair relationship diagram can be an operation of moving the cursor to the area where the ligand is located or the nearby area, a single-click operation, a double-click operation, etc., which is not limited in the embodiment of the present disclosure. In this way, by setting the detection of the trigger operation for the ligand in the molecule pair relationship diagram, the ligand content that the user wants to view can be magnified and displayed in a limited interface, which is more intuitive.
[0073] In the process of displaying the molecular pair relationship diagram for the user, the movement operation for the ligand can be detected, wherein the movement operation for the ligand can be performed on the ligand card, so that the user can directly drag one of the cards to the ideal position, which is simple to operate. When the movement operation for the ligand is detected, the ligand can be moved, which helps the user to quickly change the position of the ligand in the molecular pair relationship diagram to adjust the layout of the entire molecular pair relationship diagram, which is convenient to operate.
[0074] In the process of displaying the molecule pair relationship diagram to the user, a translation operation on the molecule pair relationship diagram can be detected. When a translation operation on the molecule pair relationship diagram is detected, the molecule pair relationship diagram can be translated to change the position of the molecule pair relationship diagram in the first area, thereby realizing the user's need to drag the molecule pair relationship diagram to an ideal position, and the whole process is simple to operate.
[0075] In the process of displaying the molecule pair relationship diagram to the user, the zoom operation on the molecule pair relationship diagram can be detected. In the case of detecting the zoom operation on the molecule pair relationship diagram, the display size of the molecule pair relationship diagram can be zoomed. The zoom operation can be a scroll operation on the mouse wheel. The response range of the zoom operation may not be limited to the molecule pair relationship diagram, but may also include the first area where the molecule pair relationship diagram is located. In this way, the zoom operation can be performed not only on the molecule pair relationship diagram itself, but also on the entire first area used to display the molecule pair relationship diagram, which helps the user to quickly and easily enlarge or reduce the display size of the molecule pair relationship diagram.
[0076] In the process of displaying the molecular pair relationship diagram for the user, a detection of the selection operation for the third ligand can be performed to determine the ligands that have not formed a molecular pair, namely the third ligand and the fourth ligand. In the case where the third ligand in the molecular pair relationship diagram is determined according to the selection operation, a line with one end connected to the third ligand can be displayed in the molecular pair relationship diagram, and in the case where the fourth ligand in the molecular pair relationship diagram is determined according to the selection operation, the other end of the line can be connected to the fourth ligand and the line can be displayed in the molecular pair relationship diagram to determine a new molecular pair including the third ligand and the fourth ligand, thereby displaying the similarity between the third ligand and the fourth ligand on the line, so that the user can intuitively view the similarity between the third ligand and the fourth ligand. In the original molecular pair relationship diagram, the line connecting the third ligand and the fourth ligand is not displayed. Among them, the reason why the connection between the third ligand and the fourth ligand is not displayed may be that the molecular pair formed by the third ligand and the fourth ligand is not calculated in the initial relationship calculation. In this way, by directly pulling the connection in the molecular pair relationship diagram, the demand for quickly adding new molecular pairs can be quickly realized, and the similarity of the newly added molecular pairs can be quickly and intuitively displayed, which is convenient for users to view. The reason why the connection between the third ligand and the fourth ligand is not displayed may also be the setting of the mapping ratio threshold, which makes the third ligand and the fourth ligand not displayed in the molecular pair relationship diagram. In this way, by directly pulling the connection in the molecular pair relationship diagram, the similarity of the molecular pairs that have been calculated but not displayed can be quickly viewed, which is convenient to operate.
[0077] In the process of displaying the molecular pair relationship diagram for the user, when a trigger operation of a line in the molecular pair relationship diagram is detected, a third deletion control can be displayed at the line. When a trigger operation for the third deletion control is detected, the line can be canceled from the molecular pair relationship diagram (and a new molecular pair relationship diagram is generated and displayed), and the first option corresponding to the line can be canceled from the molecular pair list. In this way, the need for quickly deleting molecular pairs can be quickly achieved by directly deleting the line in the molecular pair relationship diagram.
[0078] In the process of displaying the molecular pair relationship diagram to the user, a trigger operation for the list browsing control may be detected. In the case of detecting a trigger operation for the list browsing control, a molecular pair list (Edgelist) may be displayed. The molecular pair list may include multiple first options. Different first options may represent different molecular pairs. The first option may include the ligand name of the molecular pair. Figure 7 Take the interface shown as an example, Figure 7As shown, the molecule pair list L1 can be displayed in the first area A1 of the result interface I1. The molecule pair list L1 displays multiple first options, each of which displays a molecule pair. Each molecule pair includes two ligands. Each first option can display the corresponding molecule pair through the name of "ligand 1 name ~ ligand 2 name". For example, the two ligands of the molecule pair represented by the first option named "jmc_30 ~ ejm_48" are the ligand named jmc_30 and the ligand named ejm_48 respectively.
[0079] like Figure 8 As shown, the molecule pair list L1 also displays a second deletion control D2. In the process of displaying the molecule pair list, a selection operation for the first option and a detection of a trigger operation for the second deletion control can be performed. According to the selection operation for a first option, the currently selected option can be determined from the multiple first options displayed in the molecule pair list, wherein the number of currently selected options can be one or more. In the case of detecting a trigger operation of the second deletion control for a first option, an operation of deleting the molecule pair corresponding to the first option can be performed. According to the selection operation, the currently selected option is determined from multiple first options, and in the case of detecting a trigger operation for the second deletion control, the molecule pair represented by the currently selected option (such as the connection between the two ligands of the molecule pair) can be canceled in the molecule pair relationship diagram, and the currently selected option can be canceled in the molecule pair list. In this way, the molecule pairs can be selectively deleted individually or in batches through the second deletion control of the molecule pair list, and the operation is simple.
[0080] In the process of displaying the result interface to the user, the first molecule pair can be determined according to the trigger operation on the first option in the molecule pair list and / or the trigger operation on the connection line in the molecule pair relationship diagram, so as to further display the first result diagram of the first molecule pair.
[0081] In the process of displaying the list of molecular pairs to the user, the trigger operation for the first option can be detected. For example, the trigger operation for the first option can be a single-click operation, a double-click operation, a check operation in the selection box of the first option, or other targeted operations. In this way, when a trigger operation for a first option is detected, the molecular pair represented by the first option can be highlighted in the molecular pair relationship diagram, and the molecular pair represented by the first option can be used as the first molecular pair to display the first result diagram for the first molecular pair when the first molecular pair is determined. Among them, the highlighted object can be a connecting line and / or a card of similarity and / or ligand marked on the connecting line, and the highlighting method can be highlighting and / or bolding and / or magnification, which is not limited in the embodiments of the present disclosure. Figure 8 Take the interface shown as an example, Figure 8As shown, when a check operation is detected for the selection box of the first option named "ejm_46~jmc_30", the line between the ligand named ejm_46 and the ligand named jmc_30 can be highlighted in red and displayed in bold in the molecular pair relationship diagram displayed in the first area A1, and the similarity "Sim: 0.94" on the line can be displayed in bold, and the molecular pair represented by the first option named "ejm_46~jmc_30" is used as the first molecular pair, that is, the currently selected first molecular pair includes the ligand named ejm_46 and the ligand named jmc_30, so that the first result diagram of the first molecular pair can be further displayed in the second area A2 (see below for details).
[0082] In the process of displaying the molecular pair relationship diagram to the user, the trigger operation for the connection can be detected. For example, the trigger operation for the connection can be a single-click operation, double-click operation or other targeted operations for a certain connection. In this way, when a trigger operation for a certain connection is detected, the molecular pair corresponding to the connection can be highlighted in the molecular pair relationship diagram, and the molecular pair corresponding to the connection can be used as the first molecular pair, so that the first result diagram for the first molecular pair can be displayed when the first molecular pair is determined. Among them, the highlighted object can be the connection and / or the similarity and / or ligand card marked on the connection, and the highlighting method can be highlighting and / or bolding and / or magnification, which is not limited in the embodiments of the present disclosure. Fig. 9 Take the interface shown as an example, Fig. 9 As shown, in the case where a trigger operation is detected for the connection between the ligand named jmc_23 and the ligand named jmc_27, the connection can be highlighted in red and displayed in bold in the molecular pair relationship diagram displayed in the first area A1, and the similarity "Sim: 0.91" on the connection can be displayed in bold, and the molecular pair corresponding to the connection is used as the first molecular pair, that is, the currently selected first molecular pair includes the ligand named jmc_23 and the ligand named jmc_27, so that the first result diagram of the first molecular pair can be further displayed in the second area A2 (see below for details).
[0083] In this way, by setting a trigger operation for the first option in the molecule pair list and / or a trigger operation for the connection in the molecule pair relationship diagram, the first molecule pair currently selected by the user can be determined, thereby further intuitively displaying the first result diagram of the first molecule pair, so that the user can easily, intuitively and quickly obtain the atomic mapping relationship between the two ligands in the molecule pair of interest through simple operations.
[0084] In addition to including the first area A1, Figure 8 or Fig. 9As shown, the result interface I1 may further include a second area A2. When the first molecule pair is determined, the first result graph of the first molecule pair and an editing prompt for the first molecule pair may be further displayed in the second area of the result interface to edit the first result graph.
[0085] like Fig.10 As shown, the second area A2 may include a first sub-area B1 and a second sub-area B2. When the first molecule pair is determined, a first result graph for the first molecule pair may be displayed in the first sub-area, and / or an editing prompt for the first molecule pair may be displayed in the second sub-area.
[0086] In the first sub-area, a first result graph for the first molecule pair may be displayed. The first result graph displays the atomic mapping relationship between the first ligand and the second ligand through a three-dimensional structure that may be partially overlapped (see below for details), wherein the three-dimensional structure may include a first three-dimensional structure for the first ligand and a second three-dimensional structure for the second ligand. For example, Fig.10 The first molecular pair shown includes a first ligand named jmc_27 and a second ligand named jmc_30. Fig.10 The first result graph shown includes a first three-dimensional structure of the first ligand and a second three-dimensional structure graph of the second ligand. In the first sub-area, a first switching control for displaying or hiding the first three-dimensional structure and a second switching control for displaying or hiding the second three-dimensional structure may also be displayed. In the process of displaying the first result graph, a trigger operation for the first switching control and the second switching control may be detected, wherein the trigger operation may be a single-click operation. When a trigger operation for the first switching control is detected, the first three-dimensional structure may be displayed or hidden in the first result graph. When a trigger operation for the second switching control is detected, the second three-dimensional structure may be displayed or hidden in the first result graph. For example, Fig.10 The first result graph shown shows a first three-dimensional structure and a second three-dimensional structure graph. When a trigger operation for the second switching control is detected, the second three-dimensional structure can be hidden in the first result graph, so that Fig.11 The first result graph shown only shows the first three-dimensional structure; when a trigger operation for the first switching control is detected, the first three-dimensional structure can be hidden in the first result graph, so that Fig.12 In the first result diagram shown, only the second three-dimensional structure is displayed.
[0087] The first three-dimensional structure may display the atoms of the first ligand and the corresponding labels, for example Fig.11The oxygen atom O is shown as 11. Each atom of the first ligand can be numbered and the atom number can be used as an identifier to be displayed in the first three-dimensional structure. Different colors can be set for each atom in the first three-dimensional structure to distinguish whether the atom forms an atomic mapping relationship with an atom in the second ligand, for example Fig.11 The atoms in medium gray indicate that an atomic mapping relationship has been formed. Fig.11 The green atoms in the middle indicate that an atomic mapping relationship has not yet been formed. In this way, when viewing the first three-dimensional structure (or the second three-dimensional structure), the user can easily and intuitively obtain which atoms have formed an atomic mapping relationship and which atoms have not yet formed an atomic mapping relationship. Fig.12 As shown, the second three-dimensional structure may also display the atoms of the second ligand and the corresponding labels. The settings of the labels and atom colors are similar to those of the first three-dimensional structure. For the sake of brevity, they will not be repeated here.
[0088] In the process of displaying the first result graph, a rotation operation and / or a scaling operation on the first result graph may be detected, wherein the first result graph may be any one of a first three-dimensional structure, a second three-dimensional structure, a first three-dimensional structure and a second three-dimensional structure. In the case of detecting a rotation operation on the first result graph, the first result graph may be rotated. In the case of detecting a scaling operation on the first result graph, the display size of the first result graph may be enlarged or reduced. The rotation operation may be an operation of moving the mouse after clicking on the first result graph, and the scaling operation may be an operation of rolling the mouse wheel. Those skilled in the art may set the implementation method of the scaling operation and the rotation operation according to actual needs, and the embodiments of the present disclosure do not limit this. In this way, by detecting a rotation operation and / or a scaling operation on the first result graph, the user's need to rotate and / or scale the first result graph can be responded to in a timely manner.
[0089] In the second sub-area, an editing prompt for editing the first result map for the first molecule pair may be displayed. The editing prompt may include at least one of a first editing prompt (Mapped), a second editing prompt (Add mapping), and a third editing prompt (Save). Fig.10 As shown, in the second sub-area B2, a first editing prompt C1, a second editing prompt C2, and a third editing prompt C3 may be displayed.
[0090] The first edit prompt may display multiple edit items. Different edit items may represent different atomic mapping relationships between the first ligand and the second ligand. Each edit item may include a first identifier and a second identifier, the first identifier being the identifier of the first atom of the first ligand, and the second identifier being the identifier of the second atom of the second ligand. Each edit item may represent the atomic mapping relationship between the corresponding first atom and the second atom. The first atom is one of the first ligands, and the second atom is one of the second ligands. Partial overlap processing is performed on the first atom and the second atom in the atomic mapping relationship. Fig.10 Taking the interface shown as an example, a first editing prompt C1 is displayed in the second sub-area B2. 34 editing items N1 are displayed in the first editing prompt C1. Each editing item represents an atomic mapping relationship. For example, the editing item N1 named "3-12" represents the atomic mapping relationship between the atom identified as 3 in the first ligand named jmc_27 and the atom identified as 12 in the second ligand named jmc_30.
[0091] In the process of displaying the first edit prompt, a trigger operation for the edit item in the first edit prompt may be detected, wherein the trigger operation for the edit item in the first edit prompt may be an operation of moving the cursor to the area where the edit item is located or an area nearby, a single-click operation, a double-click operation, etc., which is not limited in the embodiments of the present disclosure. When a trigger operation for an edit item in the first edit prompt is detected, the edit item may be highlighted, and two atoms in the atomic mapping relationship represented by the edit item may be highlighted in the first result graph, wherein the highlighting method includes but is not limited to highlighting and / or flashing. For example, Fig.13 As shown, when a trigger operation is detected for the edit item N1 named "27~37" in the first edit prompt, the edit item N1 can be highlighted by highlighting the edit item border, and the atom identified as 27 in the first ligand named jmc_27 and the atom identified as 37 in the second ligand named jmc_30 can be highlighted in the first result graph by highlighting and adding shadows. In this way, when a trigger operation is detected for the edit item, it is helpful for the user to quickly and intuitively obtain the specific position of the atoms in the atomic mapping relationship represented by the edit item in the first result graph.
[0092] In the process of displaying the first editing prompt, a trigger operation for an atom in the first result map (that is, in the first three-dimensional structure or the second three-dimensional structure) may also be detected, wherein the trigger operation for the atom may be an operation of moving the cursor to the area where the atom is located or in the vicinity of the atom, a single-click operation, a double-click operation, etc., which is not limited in the embodiments of the present disclosure. In the case of detecting a trigger operation for an atom in the first three-dimensional structure or the second three-dimensional structure, the atom may be highlighted, and in the case of an atom mapping relationship related to the atom, the edit item corresponding to the atom mapping relationship may be highlighted in the first editing prompt. For example, when a trigger operation is detected for an atom identified as 27 in a first ligand named jmc_27, the atom can be highlighted and shaded, and when an atomic mapping relationship has been constructed for the atom, the edit item corresponding to the atomic mapping relationship corresponding to the atom identified as 27 in the first ligand can be highlighted as a whole in the first edit prompt, such as the edit item N1 named "27-37". In this way, when a trigger operation is detected for an atom, it helps the user to quickly and intuitively view the atomic mapping relationship corresponding to the atom in the first edit prompt.
[0093] The first editing prompt may also display a first delete control for each editing item. Fig.10 As shown, each edit item N1 also displays a first delete control D1, for example Fig.10 The "×" shape shown. In the process of displaying the first edit prompt, the trigger operation for the first delete control can be detected, wherein the trigger operation for the first delete control can be a single-click operation, a double-click operation, etc., which is not limited in the present embodiment. In the case of detecting the trigger operation of the first delete control for a certain edit item, the edit item can be canceled in the first edit prompt, and the atoms in the atomic mapping relationship represented by the edit item can be highlighted in the first result diagram, wherein the highlighting method can be to change the colors of the two atoms corresponding to the edit item and then display them to distinguish whether the atomic mapping relationship is formed. For example, the color of the atoms of the first ligand that were originally gray in the first result diagram can be changed to green and displayed, and the color of the atoms of the second ligand that were gray in the first result diagram can be changed to red and displayed. In this way, not only can the atoms that indicate that no atomic mapping relationship has been formed and the atoms that have formed an atomic mapping relationship be distinguished in the first result diagram, but it can also intuitively display which ligand in the molecular pair the atom belongs to.
[0094] The second editing prompt may display a first identifier input box for inputting the identifier of one of the atoms of the first ligand, a second identifier input box for inputting the identifier of one of the atoms of the second ligand, and a newly added control. Fig.10Taking the shown interface as an example, a second editing prompt C2 is displayed in the second sub-area B2, and a first identification input box E1, a second identification input box E2, and a new control F1 are displayed in the second editing prompt C2. In this way, by inputting the identification of the atom of the first ligand for which an atomic mapping relationship has not been established in the first identification input box, and inputting the identification of the atom of the second ligand for which an atomic mapping relationship has not been established in the second identification input box, the new control is triggered, and the atomic mapping relationship can be added, which is simple to operate.
[0095] The third edit prompt may display a reset control and a save control. In the process of displaying the third edit prompt, a trigger operation for the reset control and the save control may be detected. In the case of detecting a trigger operation for the reset control, all operations on the first result graph may be reset, and the original first result graph may be displayed in the first sub-area. In the case of detecting a trigger operation for the save control, the first result graph for the first molecule pair may be saved to the selected path. Fig.10 Taking the shown interface as an example, a third editing prompt C3 is displayed in the second sub-area B2, and a reset control Q4 and a save control Q5 are displayed in the third editing prompt C3. In this way, the first result graph can be reset by triggering the reset control to obtain the original first result graph, and the saving function of the first result graph can be realized by triggering the save control, which provides convenience for user operations.
[0096] In this way, by setting multiple editing prompts, users can quickly complete the fine-tuning of atomic mapping relationships, thereby helping users to quickly screen out more preferred drug candidate ligands based on the calculation results of molecular pairs, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0097] like Fig.14 or Fig.15 As shown, in the second area A2, a first molecule pair browsing control (PreviouseEdge) Q6 and a second molecule pair browsing control (Next edge) Q7 are also displayed. In the process of displaying the result interface, detection of trigger operations for the first molecule pair browsing control and the second molecule pair browsing control can be performed. When a trigger operation for the first molecule pair browsing control is detected, a molecule pair that is located before the current molecule pair displayed on the result interface and adjacent to the current molecule pair in the molecule pair list can be determined, the molecule pair is highlighted in the first area, and a result graph for the molecule pair can be displayed in the first sub-area. When a trigger operation for the second molecule pair browsing control is detected, a molecule pair that is located after the current molecule pair displayed on the result interface and adjacent to the current molecule pair in the molecule pair list can be determined, the molecule pair is highlighted in the first area, and a result graph for the molecule pair can be displayed in the first sub-area. For example, Fig.14In the result interface I1 shown, the molecule pair named "ejm_48-jmc_30" is highlighted in the first area and the result graph for the current molecule pair (i.e., the molecule pair named "ejm_48-jmc_30") is displayed in the first sub-area B1. When the trigger operation for the second molecule pair browsing control Q7 is detected, the molecule pair (i.e., the molecule pair named "ejm_49-jmc_30") that is adjacent to and after the current molecule pair (i.e., the molecule pair named "ejm_48-jmc_30") in the molecule pair list L1 can be determined, so that Fig.15 In the result interface I1 shown, the molecular pair named "ejm_49-jmc_30" is highlighted in the first area and the result graph for the molecular pair (i.e., the molecular pair named "ejm_49-jmc_30") is displayed in the first sub-area B1. In this way, by setting two browsing controls, the result graphs of the molecular pair can be browsed in two directions in sequence, which is more convenient.
[0098] like Fig.16 As shown, the result interface I1 may also include a third area A3, in which multiple ligands of the target project may be displayed. In the process of displaying the result interface, a selection operation for the currently selected ligand may be detected. According to the selection operation, the currently selected ligand may be determined from multiple ligands in the target project. In the case where the currently selected ligand is determined from multiple ligands in the target project according to the selection operation, the currently selected ligand may be highlighted in the molecular pair relationship diagram, wherein the method of highlighting the ligand may be at least one of highlighting the ligand, flashing the ligand, and bolding the ligand. Fig.16 As shown, when a selection operation for a ligand named ejm_45 is detected in the third detection area A3, it can be determined that the currently selected ligand is the ligand named ejm_45, so that the card of the ligand named ejm_45 can be highlighted and displayed in bold in the molecular pair relationship diagram displayed in the first area A1.
[0099] The disclosed embodiment also provides a device for displaying the relationship between molecular pairs. Fig.17 A block diagram of a device for displaying molecular pair relationships according to an embodiment of the present disclosure is shown. Fig.17 As shown, the molecular pair relationship display device 100 may include:
[0100] A calculation module 101, wherein the calculation module 101 is configured to, when a trigger operation of a start control for a target project is detected, perform a relationship calculation for a plurality of molecular pairs in the target project to obtain a calculation result for each molecular pair, wherein the target project includes a plurality of ligands, the molecular pair includes two different ligands in the target project, and the calculation result includes a similarity and an atomic mapping relationship between the two different ligands;
[0101] A first display module 102, the first display module 102 is configured to display a result interface based on the calculation results for each molecule pair, the result interface displays a molecule pair relationship diagram, and the molecule pair relationship diagram represents the similarity between two ligands in the molecule pair;
[0102] The second display module 103 is configured to display a first result graph for the first molecular pair when a first molecular pair is determined from multiple molecular pairs according to a selection operation, wherein the first result graph represents the atomic mapping relationship between the first ligand and the second ligand, wherein the first molecular pair includes the first ligand and the second ligand.
[0103] In this way, when a trigger operation of a start control for a target project is detected by the calculation module, a relationship calculation is performed for multiple molecular pairs in the target project to obtain a calculation result for each molecular pair, wherein the target project may include multiple ligands, the molecular pair includes two different ligands in the target project, and the calculation result may include the similarity and atomic mapping relationship between the two different ligands. The result interface is displayed based on the calculation results for each molecular pair by the first display module, and the result interface may display a molecular pair relationship diagram, which may characterize the similarity between the two ligands in the molecular pair. The first molecular pair relationship diagram for the first molecular pair is displayed by the second display module when the first molecular pair is determined from the multiple molecular pairs according to the selection operation. The result diagram, the first result diagram can characterize the atomic mapping relationship between the first ligand and the second ligand, wherein the first molecular pair includes the first ligand and the second ligand, so that in the process of calculating the relationship of the entire molecular pair, the user needs to perform fewer and simpler operations, and can obtain the results of the relationship calculation conveniently, intuitively and quickly through simple operations, which is convenient for users to view the similarity between the two ligands in the molecular pair according to the result interface, and can quickly view the atomic mapping relationship between the two ligands in the molecular pair of interest by selecting the molecular pair of interest, thereby helping users to quickly screen out more preferred drug candidate ligands according to the calculation results of the molecular pair, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0104] In one possible implementation, the device also includes a first calculation module, which is configured to: when a trigger operation is detected for a relationship calculation control, display an initial interface for relationship calculation, wherein at least one optional item is displayed in the initial interface; when the target item is determined from the at least one optional item according to a selection operation, display a calculation input prompt for the target item, wherein the calculation input prompt displays multiple first input boxes and the start control, and different first input boxes are used to input different calculation inputs, wherein the calculation input includes at least one of a structure file that records and describes each ligand in the target item and a calculation method for the degree of similarity; based on the detected input operation for each of the calculation input boxes, display the determined calculation input for the target item in the calculation input prompt, so as to perform the relationship calculation based on the calculation input when the start control is triggered.
[0105] In this way, the target item is determined through the selection operation, and the calculation input for the target item is determined according to the calculation input prompt, so that when the start control is triggered, the relationship calculation can be performed based on the calculation input. In this process, the user can not only select the target item from multiple optional items, but also select at least two required ligands in the target item to form a molecular pair for subsequent relationship calculation. Among them, the calculation input can be customized to determine the data used for the relationship calculation, so as to obtain the calculation results that meet the user's needs, which greatly improves the flexibility of the relationship calculation and meets the user's calculation needs to the greatest extent.
[0106] In a possible implementation, the device also includes a second calculation module, which is configured to: when a trigger operation is detected for the input editing control displayed in the result interface, display an optional input prompt for the target item, the optional input prompt displays multiple second input boxes and the start control, different second input boxes are used to enter different optional inputs, and the optional inputs include at least one of the number of connections, the mapping ratio threshold, and the central ligand, wherein the number of connections is used to determine the number of ligands connected in the molecular pair relationship diagram, and the mapping ratio threshold is used to screen out the molecular pairs displayed in the molecular pair relationship diagram, and the central ligand is one of the ligands in the target item, and the ligand forms a molecular pair with the remaining ligands; according to the detected input operation for each second input box, the determined optional input for the target item is displayed in the optional input prompt, so that the relationship calculation is performed based on the calculation input and the optional input when the start control is triggered.
[0107] In this way, the optional input prompt is displayed by triggering the input editing control, and the optional input for the target item is determined according to the calculation input prompt, so that when the start control is triggered, further relationship calculation can be performed based on the calculation input and the optional input, thereby meeting the user's needs for minor adjustments to the molecule pair relationship diagram without having to start the entire relationship calculation from scratch, which helps save computing resources while improving the flexibility of relationship calculation.
[0108] In a possible implementation, the result interface includes a first area, the first area displays the molecule pair relationship diagram and a list browsing control, wherein the molecule pair relationship diagram includes multiple molecule pairs, two ligands of each molecule pair are connected by a line, and the similarity between the two ligands of the corresponding molecule pair is displayed on the line; the device also includes a determination module, the determination module is configured to: when a trigger operation for the list browsing control is detected, display a molecule pair list, the molecule pair list includes multiple first options, different first options represent different molecule pairs, and the first option includes the ligand name of the molecule pair; when a trigger operation for the first option is detected, the molecule pair represented by the first option is highlighted in the molecule pair relationship diagram, and the molecule pair represented by the first option is used as the first molecule pair, so as to display a first result diagram for the first molecule pair when the first molecule pair is determined; and / or, when a trigger operation for the line is detected, the molecule pair corresponding to the line is highlighted in the molecule pair relationship diagram, and the molecule pair corresponding to the line is used as the first molecule pair, so as to display a first result diagram for the first molecule pair when the first molecule pair is determined.
[0109] In this way, by setting a trigger operation for the first option in the molecule pair list and / or a trigger operation for the connection in the molecule pair relationship diagram, the first molecule pair currently selected by the user can be determined, thereby further intuitively displaying the first result diagram of the first molecule pair, so that the user can easily, intuitively and quickly obtain the atomic mapping relationship between the two ligands in the molecule pair of interest through simple operations.
[0110] In a possible implementation, the result interface further includes a second area, the second area includes a first sub-area and a second sub-area; the device further includes a third display module, the third display module is configured to: when the first molecule pair is determined, display a first result graph for the first molecule pair in the first sub-area, and display a first editing prompt for the first molecule pair in the second sub-area; wherein the first result graph displays the atomic mapping relationship between the first ligand and the second ligand through a three-dimensional structure after partial overlap processing, wherein the three-dimensional structure includes a first three-dimensional structure for the first ligand and a second three-dimensional structure for the second ligand, and the first three-dimensional structure displays each of the first ligand Atoms and corresponding identifiers, the second three-dimensional structure displays the atoms and corresponding identifiers of the second ligand; wherein the first editing prompt displays multiple editing items, different editing items represent different atomic mapping relationships between the first ligand and the second ligand, each editing item includes a first identifier and a second identifier, the first identifier is the identifier of the first atom of the first ligand, the second identifier is the identifier of the second atom of the second ligand, each editing item represents the atomic mapping relationship between the corresponding first atom and the second atom, wherein the first atom is one of the first ligands, the second atom is one of the second ligands, and the partial overlapping processing is performed on the first atom and the second atom in the atomic mapping relationship.
[0111] In this way, the first sub-result graph for the first molecule pair can be intuitively viewed through the first sub-area, and the editing prompts for the first molecule pair can be conveniently viewed through the second sub-area, thereby helping users to quickly complete the fine-tuning of the atomic mapping relationship, thereby helping users to quickly screen out more preferred drug candidate ligands based on the calculation results of the molecular pairs, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0112] In a possible implementation, the first sub-area also displays a first switching control and a second switching control; the first editing prompt also displays a first deletion control for each of the editing items; the second sub-area also displays a second editing prompt and a third editing prompt, the second editing prompt displays a first identification input box, a second identification input box, and a new addition control, the first identification input box is used to input the identification of one of the atoms of the first ligand, and the second identification input box is used to input the identification of one of the atoms of the second ligand; the third editing prompt displays a reset control and a save control; the device also includes a first execution module, the first execution module is configured to perform at least one of the following operations: when a trigger operation is detected for an atom in the first three-dimensional structure or the second three-dimensional structure, the atom is highlighted, and when there is an atomic mapping relationship related to the atom, the editing item corresponding to the atomic mapping relationship is highlighted in the first editing prompt; when a trigger operation is detected for an atom in the first three-dimensional structure or the second three-dimensional structure, the atom is highlighted. In case of a trigger operation on an edit item in the first edit prompt, the edit item is highlighted, and two atoms in the atomic mapping relationship represented by the edit item are highlighted in the first result diagram; in case of a trigger operation on the first switching control is detected, the first three-dimensional structure is displayed or hidden in the first result diagram; in case of a trigger operation on the second switching control is detected, the second three-dimensional structure is displayed or hidden in the first result diagram; in case of a trigger operation on the first delete control for the edit item is detected, the edit item is canceled from the first edit prompt, and the atoms in the atomic mapping relationship represented by the edit item are highlighted in the first result diagram; in case of a trigger operation on the reset control is detected, all operations on the first result diagram are reset, and the original first result diagram is displayed in the first sub-area; in case of a trigger operation on the save control is detected, the first result diagram for the first molecule pair is saved.
[0113] In this way, by setting multiple editing prompts and multiple functional controls such as reset controls, switch controls, etc., users can quickly complete the fine-tuning of atomic mapping relationships, which helps users quickly screen out more preferred drug candidate ligands based on the calculation results of molecular pairs, greatly shortening the new drug development process and reducing the risk of new drug failure.
[0114] In a possible implementation, the molecule pair list further displays a second delete control; the second area further displays a first molecule pair browsing control and a second molecule pair browsing control; the result interface further displays a third area, and the third area displays multiple ligands of the target project; the device also includes a second execution module, and the second execution module is configured to perform at least one of the following operations: when a third ligand in the molecule pair relationship diagram is determined according to a selection operation, display a line with one end connected to the third ligand; and when a fourth ligand in the molecule pair relationship diagram is determined according to a selection operation, connect the other end of the line to the fourth ligand to display the similarity between the third ligand and the fourth ligand on the line, wherein the line connecting the third ligand and the fourth ligand is not displayed in the original molecule pair relationship diagram; determine the currently selected option from the multiple first options according to the selection operation, and when a trigger operation for the second delete control is detected, cancel the display of the molecule pair represented by the currently selected option in the molecule pair relationship diagram, and cancel the display of the currently selected option in the molecule pair list, and the number of the currently selected options is one or more; when a trigger operation for the In the case of a trigger operation on the first molecule pair browsing control, a molecule pair located before and adjacent to the current molecule pair displayed on the result interface in the molecule pair list is determined, the molecule pair is highlighted in the first area, and a result graph for the molecule pair is displayed in the first sub-area; in the case of a trigger operation on the second molecule pair browsing control is detected, a molecule pair located after and adjacent to the current molecule pair displayed on the result interface in the molecule pair list is determined, the molecule pair is highlighted in the first area, and a result graph for the molecule pair is displayed in the first sub-area; in the case of determining the currently selected ligand from multiple ligands in the target project according to the selection operation, the currently selected ligand is highlighted in the molecule pair relationship graph; in the case of detecting a trigger operation on a ligand in the molecule pair relationship graph, the ligand is enlarged and displayed in the molecule pair relationship graph; in the case of detecting a trigger operation on a line in the molecule pair relationship graph, a third deletion control is displayed; in the case of detecting a trigger operation on the third deletion control, the line is canceled from the molecule pair relationship graph, and the first option corresponding to the line is canceled from the molecule pair list.
[0115] In this way, by displaying a series of controls and detecting trigger conditions, various user needs can be responded to in a timely manner.
[0116] In a possible implementation, the device also includes a third execution module, and the third execution module is configured to perform at least one of the following operations: when a translation operation on the molecule pair relationship diagram is detected, the molecule pair relationship diagram is translated; when a zoom operation on the molecule pair relationship diagram is detected, the display size of the molecule pair relationship diagram is scaled; when a rotation operation on the first result diagram is detected, the first result diagram is rotated; when a zoom operation on the first result diagram is detected, the display size of the first result diagram is enlarged or reduced.
[0117] In this way, by detecting the translation operation, rotation operation and scaling operation, the user's translation, rotation and scaling needs can be responded to in a timely manner.
[0118] In some embodiments, the functions or modules included in the molecular pair relationship display device provided in the embodiments of the present disclosure can be used to execute the method described in the above method embodiment. Its specific implementation can refer to the description of the above molecular pair relationship display method embodiment, and for the sake of brevity, it will not be repeated here.
[0119] The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above-mentioned method for displaying the relationship between molecular pairs is implemented. The computer-readable storage medium can be a volatile or non-volatile computer-readable storage medium.
[0120] In some embodiments, the functions or modules contained in the computer-readable storage medium provided in the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation thereof can refer to the description of the above molecular pair relationship display method embodiment, and for the sake of brevity, it will not be repeated here.
[0121] The disclosed embodiment also proposes a device for displaying molecular pair relationships, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to implement the above-mentioned method for displaying molecular pair relationships when executing the instructions stored in the memory.
[0122] In some embodiments, the functions or modules included in the molecular pair relationship display device provided in the embodiments of the present disclosure can be used to execute the method described in the above method embodiment. Its specific implementation can refer to the description of the above molecular pair relationship display method embodiment, and for the sake of brevity, it will not be repeated here.
[0123] The embodiments of the present disclosure also provide a computer program product, including a computer-readable code, or a non-volatile computer-readable storage medium carrying the computer-readable code. When the computer-readable code runs in a processor of an electronic device, the processor in the electronic device executes the above-mentioned method for displaying the relationship between molecular pairs.
[0124] In some embodiments, the functions or modules included in the computer program product provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiment. Its specific implementation can refer to the description of the above molecular pair relationship display method embodiment, and for the sake of brevity, it will not be repeated here.
[0125] Fig.18 1900 is a block diagram of an apparatus for executing a method for displaying a molecular pair relationship according to an embodiment of the present disclosure. For example, the apparatus 1900 may be provided as a server or a terminal device. Fig.18 , the apparatus 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0126] The device 1900 may also include a power supply component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input / output interface 1958 (I / O interface). The device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server 2000. TM , MacOS X TM , Unix TM ,Linux TM , FreeBSD TM or similar.
[0127] In an exemplary embodiment, a non-volatile computer-readable storage medium is also provided, such as a memory 1932 including computer program instructions, which can be executed by the processing component 1922 of the device 1900 to perform the above method.
[0128] The present disclosure may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present disclosure.
[0129] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.
[0130] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.
[0131] The computer program instructions for performing the operation of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed completely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be customized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present disclosure.
[0132] Various aspects of the present disclosure are described herein with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer-readable program instructions.
[0133] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0134] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.
[0135] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.
[0136] The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.
Claims
1. A method for displaying a molecular pair relationship, characterized in that: include: When a trigger operation of a start control for a target project is detected, a relationship calculation is performed for a plurality of molecular pairs in the target project to obtain a calculation result for each of the molecular pairs, wherein the target project includes a plurality of ligands, the molecular pairs include two different ligands in the target project, and the calculation result includes a similarity degree and an atomic mapping relationship between the two different ligands; Based on the calculation results for each of the molecular pairs, a result interface is displayed, wherein the result interface displays a molecular pair relationship diagram, and the molecular pair relationship diagram represents the similarity between the two ligands in the molecular pair; In the case where a first molecule pair is determined from the plurality of molecule pairs according to the selection operation, a first result graph for the first molecule pair is displayed, the first result graph characterizing an atomic mapping relationship between a first ligand and a second ligand, wherein the first molecule pair includes the first ligand and the second ligand; The result interface includes a first area, the first area displays the molecular pair relationship diagram and a list browsing control, wherein the molecular pair relationship diagram includes a plurality of molecular pairs, and the two ligands of each molecular pair are connected by a line, and the similarity between the two ligands of the corresponding molecular pair is displayed on the line; the method also includes: In the case where a trigger operation for the list browsing control is detected, a molecular pair list is displayed, the molecular pair list includes a plurality of first options, different first options represent different molecular pairs, and the first option includes the ligand name of the molecular pair; in the case where a trigger operation for the first option is detected, the molecular pair represented by the first option is highlighted in the molecular pair relationship diagram, and the molecular pair represented by the first option is used as the first molecular pair, so as to display a first result diagram for the first molecular pair when the first molecular pair is determined; and / or, In the case where a trigger operation for the connection is detected, the molecule pair corresponding to the connection is highlighted in the molecule pair relationship diagram, and the molecule pair corresponding to the connection is used as the first molecule pair, so that a first result diagram for the first molecule pair is displayed when the first molecule pair is determined; The result interface further includes a second area, and the second area includes a first sub-area and a second sub-area; the method further includes: In the case where the first molecule pair is determined, displaying a first result graph for the first molecule pair in the first sub-region, and displaying a first editing prompt for the first molecule pair in the second sub-region; The first result graph displays the atomic mapping relationship between the first ligand and the second ligand through a three-dimensional structure after partial overlap processing, wherein the three-dimensional structure includes a first three-dimensional structure for the first ligand and a second three-dimensional structure for the second ligand, the first three-dimensional structure displays each atom of the first ligand and a corresponding identifier, and the second three-dimensional structure displays each atom of the second ligand and a corresponding identifier; Among them, the first editing prompt displays multiple editing items, different editing items represent different atomic mapping relationships between the first ligand and the second ligand, each editing item includes a first identifier and a second identifier, the first identifier is the identifier of the first atom of the first ligand, the second identifier is the identifier of the second atom of the second ligand, each editing item represents the atomic mapping relationship between the corresponding first atom and second atom, wherein the first atom is one of the first ligands, the second atom is one of the second ligands, and the partial overlapping processing is performed on the first atom and the second atom in the atomic mapping relationship.
2. The method according to claim 1, characterized in that The method further comprises: In the case of detecting a trigger operation on the relationship calculation control, displaying an initial interface for relationship calculation, wherein at least one optional item is displayed in the initial interface; In the case where the target project is determined from the at least one optional project according to the selection operation, a calculation input prompt for the target project is displayed, wherein the calculation input prompt displays a plurality of first input boxes and the start control, and different first input boxes are used to input different calculation inputs, wherein the calculation input includes at least one of a structure file recording and describing each ligand in the target project and a calculation method of similarity; According to the detected input operation for each of the calculation input boxes, the determined calculation input for the target item is displayed in the calculation input prompt, so as to perform the relationship calculation based on the calculation input when the start control is triggered.
3. The method according to claim 2, characterized in that The method further comprises: In the case of detecting a trigger operation for an input editing control displayed in the result interface, displaying an optional input prompt for the target item, wherein the optional input prompt displays a plurality of second input boxes and the start control, and different second input boxes are used to input different optional inputs, wherein the optional inputs include at least one of a number of connections, a mapping ratio threshold, and a central ligand, wherein the number of connections is used to determine the number of ligands connected in the molecular pair relationship graph, and the mapping ratio threshold is used to screen out the molecular pairs displayed in the molecular pair relationship graph, and the central ligand is one of the ligands in the target item, and the ligand forms a molecular pair with the remaining ligands; According to the detected input operation for each second input box, the determined optional input for the target item is displayed in the optional input prompt, so as to perform the relationship calculation based on the calculation input and the optional input when the start control is triggered.
4. The method according to claim 1, characterized in that: The first sub-area further displays a first switching control and a second switching control; the first editing prompt further displays a first deletion control for each of the editing items; the second sub-area further displays a second editing prompt and a third editing prompt, the second editing prompt displays a first identification input box, a second identification input box, and a new addition control, the first identification input box is used to input the identification of one of the atoms of the first ligand, and the second identification input box is used to input the identification of one of the atoms of the second ligand; the third editing prompt displays a reset control and a save control; the method further includes at least one of the following operations: When a trigger operation on an atom in the first three-dimensional structure or the second three-dimensional structure is detected, the atom is highlighted, and when there is an atom mapping relationship related to the atom, an edit item corresponding to the atom mapping relationship is highlighted in the first edit prompt; In the case where a trigger operation for an edit item in the first edit prompt is detected, the edit item is highlighted and displayed, and two atoms in the atom mapping relationship represented by the edit item are highlighted in the first result graph; When a trigger operation on the first switching control is detected, displaying or hiding the first three-dimensional structure in the first result graph; When a trigger operation on the second switching control is detected, displaying or hiding the second three-dimensional structure in the first result graph; In case of detecting a triggering operation of a first delete control for the edit item, canceling the display of the edit item in the first edit prompt, and highlighting the atoms in the atom mapping relationship represented by the edit item in the first result graph; In case a trigger operation for the reset control is detected, resetting all operations on the first result graph, and displaying the original first result graph in the first sub-area; In case a trigger operation on the save control is detected, a first result graph for the first molecule pair is saved.
5. The method according to claim 1, characterized in that The molecule pair list further displays a second delete control; the second area further displays a first molecule pair browse control and a second molecule pair browse control; the result interface further displays a third area, and the third area displays multiple ligands of the target project; the method further includes at least one of the following operations: In the case where a third ligand in the molecule pair relationship graph is determined according to the selection operation, a line having one end connected to the third ligand is displayed; and in the case where a fourth ligand in the molecule pair relationship graph is determined according to the selection operation, the other end of the line is connected to the fourth ligand to display the similarity between the third ligand and the fourth ligand on the line, wherein the line connecting the third ligand and the fourth ligand is not displayed in the original molecule pair relationship graph; Determine a currently selected option from the multiple first options according to a selection operation, and when a trigger operation for the second deletion control is detected, cancel the display of the molecule pair represented by the currently selected option in the molecule pair relationship diagram, and cancel the display of the currently selected option in the molecule pair list, wherein the number of the currently selected options is one or more; In the case where a trigger operation for the first molecule pair browsing control is detected, determining a molecule pair in the molecule pair list that is located before and adjacent to the current molecule pair displayed on the result interface, highlighting the molecule pair in the first area, and displaying a result graph for the molecule pair in the first sub-area; When a trigger operation for the second molecule pair browsing control is detected, a molecule pair that is located after the current molecule pair displayed on the result interface and is adjacent to the current molecule pair in the molecule pair list is determined, the molecule pair is highlighted in the first area, and a result graph for the molecule pair is displayed in the first sub-area; In the case where a currently selected ligand is determined from a plurality of ligands in the target item according to a selection operation, highlighting the currently selected ligand in the molecule pair relationship diagram; When a trigger operation for a ligand in the molecule pair relationship graph is detected, the ligand is displayed in an enlarged manner in the molecule pair relationship graph; When a trigger operation of a connection in the molecule pair relationship diagram is detected, a third deletion control is displayed; when a trigger operation for the third deletion control is detected, the connection is canceled from the molecule pair relationship diagram, and the first option corresponding to the connection is canceled from the molecule pair list.
6. The method according to claim 1, characterized in that The method further comprises at least one of the following operations: In case a translation operation on the molecule pair relationship graph is detected, translating the molecule pair relationship graph; In case a zoom operation on the molecule pair relationship graph is detected, scaling the display size of the molecule pair relationship graph; In case a rotation operation on the first result image is detected, rotating the first result image; When a zoom operation on the first result graph is detected, the display size of the first result graph is enlarged or reduced.
7. A device for displaying molecular pair relationships, characterized in that: include: A calculation module, wherein the calculation module is configured to, when a trigger operation of a start control for a target project is detected, perform a relationship calculation for a plurality of molecular pairs in the target project to obtain a calculation result for each of the molecular pairs, wherein the target project includes a plurality of ligands, the molecular pairs include two different ligands in the target project, and the calculation result includes a similarity and an atomic mapping relationship between the two different ligands; A first display module, wherein the first display module is configured to display a result interface based on the calculation results for each of the molecular pairs, wherein the result interface displays a molecular pair relationship diagram, wherein the molecular pair relationship diagram represents the similarity between two ligands in the molecular pair; a second display module, wherein the second display module is configured to display a first result graph for a first molecule pair when a first molecule pair is determined from the plurality of molecule pairs according to the selection operation, wherein the first result graph represents an atomic mapping relationship between a first ligand and a second ligand, wherein the first molecule pair includes the first ligand and the second ligand; Wherein, the result interface includes a first area, the first area displays the molecular pair relationship diagram and a list browsing control, wherein the molecular pair relationship diagram includes a plurality of molecular pairs, the two ligands of each molecular pair are connected by a line, and the similarity between the two ligands of the corresponding molecular pair is displayed on the line; the device also includes a determination module, the determination module is configured to: in the case of detecting a trigger operation for the list browsing control, display a molecular pair list, the molecular pair list includes a plurality of first options, different first options represent different molecular pairs, and the first option includes the ligand name of the molecular pair; in the case of detecting a trigger operation for the first option, highlighting the molecular pair represented by the first option in the molecular pair relationship diagram, and using the molecular pair represented by the first option as the first molecular pair, so as to display a first result diagram for the first molecular pair when the first molecular pair is determined; and / or, in the case of detecting a trigger operation for the line, highlighting the molecular pair corresponding to the line in the molecular pair relationship diagram, and using the molecular pair corresponding to the line as the first molecular pair, so as to display a first result diagram for the first molecular pair when the first molecular pair is determined; The result interface further includes a second area, and the second area includes a first sub-area and a second sub-area; the device further includes a third display module, and the third display module is configured to: when the first molecule pair is determined, display a first result graph for the first molecule pair in the first sub-area, and display a first editing prompt for the first molecule pair in the second sub-area; wherein the first result graph displays the atomic mapping relationship between the first ligand and the second ligand through a three-dimensional structure after partial overlap processing, wherein the three-dimensional structure includes a first three-dimensional structure for the first ligand and a second three-dimensional structure for the second ligand, and the first three-dimensional structure displays each atom of the first ligand and the corresponding The second three-dimensional structure displays the atoms of the second ligand and the corresponding labels; wherein the first editing prompt displays multiple editing items, and different editing items represent different atomic mapping relationships between the first ligand and the second ligand, and each editing item includes a first identifier and a second identifier, the first identifier is the identifier of the first atom of the first ligand, and the second identifier is the identifier of the second atom of the second ligand, and each editing item represents the atomic mapping relationship between the corresponding first atom and the second atom, wherein the first atom is one of the first ligands, and the second atom is one of the second ligands, and the partial overlapping processing is performed on the first atom and the second atom in the atomic mapping relationship.
8. A device for displaying molecular pair relationships, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to implement the method described in any one of claims 1 to 6 when executing the instructions stored in the memory.
9. A non-volatile computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 6 is implemented.
