Polypeptide related substance limit rule checking method and system
By generating standardized structural equivalence classes and observable equivalence classes, the problems of repetitive modeling and inaccurate quantification of impurity structures during peptide synthesis are solved, achieving accuracy and automation in peptide quality control. This method is applicable to the quality control of peptide APIs, formulations, intermediates, and crude synthetic products.
Patent Information
- Application Number
- CN202611253139.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-18
- Publication Date
- 2026-11-27
AI Technical Summary
In the existing technology, the same impurity structure is repeatedly modeled and quantified during peptide synthesis, resulting in inaccurate quantitative results. Furthermore, the correspondence between limit verification particle size and mass spectrometry distinguishability is not fully considered, which affects the quality control of peptide-related substances.
By acquiring peptide sequences, linkage topologies, synthesis cycle data, mass spectrometry parameters, and limit rules, formation events and event identifiers are generated, standardized structural equivalence classes are established, and observable equivalence classes are divided according to mass spectrometry parameters to achieve unique quantification of impurity structures. Single-structure limits, combined limits, or rules that cannot be determined independently are selected.
It improves the accuracy and traceability of peptide-related substance limit verification, and is applicable to the quality control of peptide raw materials, preparations, intermediates and crude synthetic products, while enhancing the automation of mass spectrometry data processing.
Smart Images

Figure CN123182778A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of peptide quality control and mass spectrometry data processing technology, and particularly relates to a method and system for verifying limit rules of peptide related substances. Background Technology
[0002] During the synthesis, purification, and storage of peptides, related substances may be generated due to residue deletion, residue insertion, residue conformational changes, chemical modifications, or changes in linkage relationships. Existing techniques typically generate candidate impurity structures based on peptide sequences, synthesis cycle data, and candidate anomaly types. These candidate impurities are then matched and quantified using liquid chromatography-mass spectrometry (LC-MS) or LC-tandem mass spectrometry (LC-MS-MS) data, and their compliance with quality control requirements is determined according to preset limit rules.
[0003] However, formation events in different synthesis cycles may yield the same final impurity structure. If theoretical mass spectrometry features are still generated separately for each formation event, the same impurity structure may be repeatedly modeled. Furthermore, different impurity structures may have indistinguishable mass spectrometry features under specific mass resolution, mass tolerance, charge state range, and fragmentation conditions. If existing methods treat them as independent objects for signal matching and quantification, the same ion cluster may be repeatedly matched, or the same measured measurement signal may be repeatedly assigned to multiple impurity structures, affecting the accuracy of the quantitative results.
[0004] Furthermore, existing technologies typically do not adequately consider the correspondence between limit verification granularity and the actual distinguishability of mass spectrometry. When multiple impurity structures cannot be independently distinguished, directly using their respective single-structure limits for verification lacks a reliable quantitative basis. Therefore, how to distinguish the formation event, impurity structure identity, and mass spectrometry observability; how to group identical impurity structures; how to perform class-level matching and quantification of impurity structures that are indistinguishable under mass spectrometry parameters; and how to select single-structure limits, combined limits, or generate results that cannot be independently determined based on these criteria have become urgent technical problems to be solved in the automated limit verification of peptide-related substances. Summary of the Invention
[0005] The purpose of this invention is to provide a method and system for verifying limit rules for peptide-related substances, aiming to solve the problems mentioned in the background art.
[0006] This invention is implemented as follows: a method for verifying limit rules for polypeptide related substances, the method comprising:
[0007] S100: Obtain polypeptide sequence, linkage topology, synthesis cycle data, mass spectrometry parameters, mass spectrometry data, and limit rules, wherein the limit rules include at least one of single structure limit and combinatorial limit;
[0008] S200: Generate formation events and event identifiers based on synthesis cycle data, and convert the impurity structures of each formation event into residue topology maps containing event identifiers and structure tags;
[0009] S300: Remove event identifiers from each residue topology graph, generate canonical structure identifiers based on structure labels, merge residue topology graphs with the same canonical structure identifiers into canonical structure equivalence classes, establish a mapping between event identifiers and canonical structure equivalence classes, and associate the corresponding limit rules with the canonical structure equivalence classes;
[0010] S400: Generate a set of theoretical mass spectrometry features for each canonical structure equivalence class based on mass spectrometry parameters, and merge the canonical structure equivalence classes that are indistinguishable under the mass spectrometry parameters into observable equivalence classes;
[0011] S500: Extract ion clusters from mass spectrometry data, match each ion cluster to at most one observable equivalence class, deduplicatively aggregate ion clusters matched to the same observable equivalence class, and obtain class-level quantitative values;
[0012] S600: When an observable equivalence class contains one canonical structure equivalence class, the class-level quantitative value is verified using the corresponding single structure limit; when it contains multiple canonical structure equivalence classes, the class-level quantitative value is verified using the combined limit if a corresponding combined limit exists; otherwise, an independent judgment result is generated; the verification result and the event identifier associated with the mapping are output.
[0013] As a further limitation of the technical solution of this embodiment of the invention, step S200 specifically includes:
[0014] The synthesis cycle data includes the cycle identifier, the residues to be linked, and the candidate anomaly type for each synthesis cycle;
[0015] For each candidate anomaly type, based on the intended linking residues of the corresponding synthesis cycle, at least one of the following structural edits is performed on the peptide chain corresponding to the synthesis cycle: residue deletion, residue insertion, residue configuration change, chemical modification change, and linking relationship change, to obtain the impurity structure of the corresponding formation event, and the event identifier is generated based on the cycle identifier and the candidate anomaly type;
[0016] The residue topology is constructed using amino acid residues in the impurity structure as residue nodes and the connection relationships between the amino acid residues as connection edges. The event identifier is attached to the residue topology, and corresponding structural tags are added to the residue nodes and connection edges. The structural tags include at least residue type tags and connection type tags, and when corresponding structural attributes exist, they include at least one of residue configuration tags, chemical modification tags, and end-group tags.
[0017] As a further limitation of the technical solution of this embodiment of the invention, step S300 specifically includes:
[0018] Record the correspondence between each residue topology map and its event identifier, remove the event identifiers from each residue topology map, and retain the structure labels;
[0019] Based on the structural labels, the residue topology graph after removing event identifiers is subjected to normalized encoding that is independent of the residue node number and node traversal order to obtain normalized topology encoding, and normalized structural identifiers are generated based on the normalized topology encoding.
[0020] Residue topology graphs with the same canonical structure identifiers are grouped into the same canonical structure equivalence class, and each event identifier is mapped to the corresponding canonical structure equivalence class according to the correspondence.
[0021] The limit objects in the limit rules are converted into limit object residue topology graphs, and normalized encoding is performed on the limit object residue topology graphs to obtain the limit object normalized structure identifiers;
[0022] Based on the specification structure identifier of the limit object, a single structure limit is associated with a corresponding specification structure equivalence class, and a composite limit is associated with a structure set consisting of multiple corresponding specification structure equivalence classes.
[0023] As a further limitation of the technical solution of this embodiment of the invention, step S400 specifically includes:
[0024] One residue topology map from each canonical structural equivalence class is selected as a representative topology map. Based on the structural labels of the representative topology map, the molecular composition and theoretical fragmentation path are determined. Combined with mass spectrometry parameters, only one set of theoretical mass spectrometry features is generated for each canonical structural equivalence class. The theoretical mass spectrometry features include at least two of the following: theoretical precursor ion mass-to-charge ratio, theoretical isotopic envelope, theoretical charged state set, and theoretical fragment ion mass-to-charge ratio set.
[0025] Based on mass spectrometry parameters, observable theoretical features are determined from each group of theoretical mass spectrometry features. Based on mass resolution, precursor ion mass tolerance, and fragment ion mass tolerance, interval coding is performed on the theoretical precursor ion mass-to-charge ratio and theoretical fragment ion mass-to-charge ratio sets in the observable theoretical features. The obtained interval coding is combined with at least one of the feature coding of theoretical isotope envelope and the feature coding of theoretical charged state set to obtain the method observable identifier of each gauge structure equivalence class.
[0026] Canonical structure equivalence classes with the same method observable identifier are identified as indistinguishable under mass spectrometry parameters and merged into the same observable equivalence class.
[0027] As a further limitation of the technical solution of the present invention, when the mass spectrometry parameters change, the observable theoretical features of each canonical structural equivalence class are re-determined based on the changed mass spectrometry parameters and the method observable identifier is regenerated. The observable equivalence classes are split or merged according to the regenerated method observable identifier, the extracted ion clusters are re-matched to the split or merged observable equivalence classes, and the corresponding class-level quantitative values are updated.
[0028] As a further limitation of the technical solution of this embodiment of the invention, step S500 specifically includes:
[0029] Mass spectrometry signals are extracted from mass spectrometry data. Mass spectrometry signals with overlapping retention time ranges, matching isotope mass intervals, and matching charge relationships are grouped into the same ion cluster. The measured precursor ion mass-to-charge ratio, measured charge state, and quantitative signal value of each ion cluster, as well as at least one of the measured isotope envelope and measured fragment ion mass-to-charge ratio sets, are determined as the measured characteristics of the corresponding ion cluster.
[0030] Among the theoretical mass spectrometry features of the canonical structure equivalence classes contained in the same observable equivalence class, the theoretical mass spectrometry features that are indistinguishable under the mass spectrometry parameters are determined as the class-level theoretical mass spectrometry features of that observable equivalence class.
[0031] The matching value is determined based on at least two of the following: precursor ion mass deviation, isotopic envelope similarity, charged state matching degree, and fragment ion matching degree between the measured characteristics of each ion cluster and the class-level theoretical mass spectrometry characteristics of each observable equivalence class.
[0032] The observable equivalence class with the highest matching value that meets the matching threshold is determined as the observable equivalence class matched by the corresponding ion cluster; if none of the matching values meet the matching threshold, no observable equivalence class is matched for the corresponding ion cluster.
[0033] For ion clusters that match the same observable equivalence class, ion clusters with overlapping retention time ranges and matching neutral masses calculated based on the measured precursor ion mass-to-charge ratio and measured charge state are identified as homologous ion clusters. Isotope signals and signals of different charge states in each group of homologous ion clusters are deduplicated, and the deduplicated quantitative signal values are aggregated to obtain the class-level quantitative value of the corresponding observable equivalence class.
[0034] As a further limitation of the technical solution of the present invention, only one class-level quantitative value associated with each observable equivalence class is generated and stored, and the class-level quantitative value is not written to each canonical structure equivalence class contained in the observable equivalence class or to each event identifier associated through the mapping.
[0035] As a further limitation of the technical solution of this embodiment of the invention, step S600 specifically includes:
[0036] Determine the canonical structural equivalence classes contained in each observable equivalence class, and the limit rules associated with each canonical structural equivalence class;
[0037] When an observable equivalence class contains a canonical structure equivalence class, read the single structure limit associated with that canonical structure equivalence class, compare the class-level quantitative value with the single structure limit, generate a single structure qualified result if the class-level quantitative value is not greater than the single structure limit, otherwise generate a single structure exceeded result.
[0038] When an observable equivalence class contains multiple canonical structural equivalence classes, determine whether there exists a combinatorial limit corresponding to the set of structures composed of multiple canonical structural equivalence classes. If it exists, compare the class-level quantitative value with the combinatorial limit. If the class-level quantitative value is not greater than the combinatorial limit, generate a qualified combinatorial result; otherwise, generate a combinatorial over-limit result. If it does not exist, maintain the association between the class-level quantitative value and the observable equivalence class, do not assign the class-level quantitative value to multiple canonical structural equivalence classes separately, and generate a result that cannot be independently determined.
[0039] Based on the mapping, the event identifier associated with each normative structural equivalence class contained in the observable equivalence class is determined, and the class-level quantitative value, the corresponding single structure qualified result, single structure out-of-limit result, combined qualified result, combined out-of-limit result or result that cannot be determined independently, and the event identifier are output.
[0040] As a further limitation of the technical solution of this invention, after generating results that cannot be independently determined, multiple candidate mass spectrometry parameter combinations are generated for the corresponding observable equivalence classes; for each candidate mass spectrometry parameter combination, based on the differences in theoretical mass spectrometry characteristics of each canonical structure equivalence class under the candidate mass spectrometry parameter combination, it is determined whether each canonical structure equivalence class is distinguishable; the candidate mass spectrometry parameter combination that can increase the number of distinguishable canonical structure equivalence classes is determined as the target mass spectrometry parameter combination, and the target mass spectrometry parameter combination is output.
[0041] As a further limitation of the technical solution of the embodiments of the present invention, a limit rule verification system for polypeptide related substances is provided, the system comprising:
[0042] The data acquisition module is used to acquire peptide sequences, linkage topologies, synthesis cycle data, mass spectrometry parameters and mass spectrometry data, and limit rules.
[0043] The event modeling module is used to generate formation events and event identifiers based on the synthesis cycle data, and to convert the impurity structures of each formation event into residue topology maps containing event identifiers and structure tags;
[0044] The structure specification module is used to remove event identifiers from each residue topology graph, generate canonical structure identifiers based on structure labels, merge residue topology graphs with the same canonical structure identifiers into canonical structure equivalence classes, establish a mapping between event identifiers and canonical structure equivalence classes, and associate the corresponding limit rules with the canonical structure equivalence classes.
[0045] The observable modeling module is used to generate a set of theoretical mass spectrometry features for each canonical structure equivalence class based on the mass spectrometry parameters, and to merge the canonical structure equivalence classes that are indistinguishable under the mass spectrometry parameters into observable equivalence classes.
[0046] The ion cluster quantification module is used to extract ion clusters from mass spectrometry data, match each ion cluster to at most one observable equivalence class, and deduplicate and aggregate ion clusters matched to the same observable equivalence class to obtain class-level quantitative values.
[0047] The limit verification module is used to verify the class-level quantitative value with the corresponding single-structure limit when the observable equivalence class contains one canonical structure equivalence class; when it contains multiple canonical structure equivalence classes, it verifies the class-level quantitative value with the combined limit when there is a corresponding combined limit; otherwise, it generates a result that cannot be independently determined; and outputs the verification result and the event identifier associated with the mapping.
[0048] Compared with existing technologies, this invention solves the problems of repetitive generation of theoretical mass spectrometry features, repetitive matching of ion clusters, and repetitive allocation of quantitative values when different formation events correspond to the same impurity structure, or when different impurity structures are indistinguishable under specific mass spectrometry parameters, by decoupling the formation events, canonical structure equivalence classes, and observable equivalence classes in a hierarchical manner. It achieves impurity structure uniqueness through canonical structure identification and divides observable equivalence classes by combining mass spectrometry parameters, ensuring that the class-level quantitative values are consistent with the actual distinguishable granularity. Furthermore, based on the composition of the observable equivalence classes, it automatically selects single-structure limits, combined limits, or rules that cannot be independently determined, and provides target mass spectrometry parameter combinations for supplementary acquisitions. This improves the accuracy, traceability, and automation of peptide related substance limit verification, making it suitable for the quality control of peptide APIs, formulations, intermediates, and crude synthetic products, and can be integrated into mass spectrometry data processing software and intelligent quality management platforms. Attached Figure Description
[0049] Figure 1 A flowchart of the method provided in the embodiments of the present invention;
[0050] Figure 2 The application architecture diagram of the system provided in the embodiments of the present invention. Detailed Implementation
[0051] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0052] Figure 1 A flowchart of the method provided by an embodiment of the present invention is shown.
[0053] Specifically, the method for verifying the limit rules of peptide-related substances includes the following steps:
[0054] Step S100: Obtain the polypeptide sequence, linkage topology, synthesis cycle data, mass spectrometry parameters, mass spectrometry data, and limit rules, wherein the limit rules include at least one of single structure limit and combination limit.
[0055] In this embodiment of the invention, step S100 is used to obtain the basic data required for performing peptide-related substance identification, quantification, and limit verification. The method can be applied to the quality control of chemically synthesized peptides, recombinant peptides, or chemically modified peptides, and is particularly suitable for using liquid chromatography-mass spectrometry (LC-MS) or LC-tandem mass spectrometry (LC-MS / MS) detection data to identify, assign, quantify, and verify limit rules for related substances in peptide raw materials, peptide preparations, intermediates, or crude synthetic products. The related substances may include impurities formed by condensation anomalies, deprotection anomalies, racemization, residue omissions, residue insertions, residue modification anomalies, or linkage anomalies during peptide synthesis, and may also include degradation products or transformation products formed during peptide storage, purification, or detection.
[0056] Current methods for analyzing peptide-related substances typically generate candidate impurities based on the peptide sequence or known impurity types, and then match and quantify each candidate impurity separately with mass spectrometry data. This approach usually assumes that each formation event corresponds to an independent impurity structure, and further assumes that each impurity structure can generate an independently identifiable and quantifiable mass spectrometry signal under the current mass spectrometry parameters. However, during the cyclic synthesis of peptides, different synthesis cycles or different candidate anomaly types may form the same final impurity structure; simultaneously, multiple impurities with different structures may also produce indistinguishable theoretical mass spectrometry features under specific mass resolution, mass tolerance, charge state, or fragmentation conditions. If theoretical mass spectrometry features are still generated one by one according to formation events or candidate impurities and assigned to mass spectrometry signals separately, it is easy to cause the same impurity structure to be repeatedly modeled, the same ion cluster to be repeatedly matched, and the same measured quantification signal to be assigned multiple impurity structures or multiple event identifiers.
[0057] The core research point of this invention lies in determining the quantitative target of the relevant substance not directly based on the number of formation events or the number of candidate impurity names, but by comprehensively considering peptide sequences, linkage topology, synthetic cycle data, mass spectrometry parameters, and mass spectrometry data. This allows for the differentiation of the formation source characterized by the formation event, the molecular identity characterized by the impurity structure, and the independently observable signal identity under the mass spectrometry parameters. Consequently, identical impurity structures formed by different formation events can be grouped into canonical structure equivalence classes, and further, canonical structure equivalence classes that are indistinguishable under the current mass spectrometry parameters can be grouped into observable equivalence classes. This ensures that the quantitative granularity of the relevant substance matches the actual mass spectrometry detection capability, avoiding the repeated generation of theoretical mass spectrometry features for the same impurity structure, or the erroneous splitting of an indistinguishable measured signal into multiple independent quantitative values.
[0058] The polypeptide sequence is used to characterize the composition and sequence of amino acid residues in the polypeptide, and can be represented by single-letter codes, three-letter codes, residue names, or custom residue codes. For non-natural amino acids or modified residues, they can be represented by preset residue identifiers and corresponding structural properties.
[0059] The linkage topology is used to characterize the linkage relationships between amino acid residues and between amino acid residues and terminal groups, side chain groups, or modifying groups, including at least one of linear peptide bond linkages, head-tail cyclization linkages, side chain cyclization linkages, disulfide bond linkages, branching linkages, and cross-linking linkages. By simultaneously obtaining the polypeptide sequence and linkage topology, the structure of linear polypeptides, cyclic peptides, branched peptides, or polypeptides containing interchain linkages can be fully represented.
[0060] The synthesis cycle data is used to characterize the execution sequence of each synthesis cycle during peptide synthesis and the residue linking operation to be performed. It may include at least one of the following: cycle identifier, residue to be linked, current peptide chain state, and candidate anomaly type. The synthesis cycle data may be derived from peptide synthesis equipment operation records, electronic batch records, process prescriptions, or synthesis flow documents, and is used to subsequently generate formation events, event identifiers, and corresponding impurity structures.
[0061] The mass spectrometry parameters are used to characterize the detection conditions used during mass spectrometry data acquisition or processing, including at least one of the following: mass resolution, precursor ion mass tolerance, fragment ion mass tolerance, allowable charged state range, collision mode, collision energy, retention time tolerance, and peak extraction parameters. These mass spectrometry parameters are used to generate theoretical mass spectrometry features and to determine whether different canonical structure equivalence classes are indistinguishable under the current detection conditions.
[0062] The mass spectrometry data can be raw data acquired by a mass spectrometry device, or processed data after denoising, peak extraction, isotope peak identification, charged state identification, or fragment ion identification. The mass spectrometry data includes at least the mass-to-charge ratio and signal intensity, and may further include at least one of the following: retention time, charged state, isotope envelope, and fragment ion mass-to-charge ratio.
[0063] The limit rules are used to specify the content limits of relevant substances and may include the limit object, limit type, and limit value. The single-structure limit corresponds to a single impurity structure and is used to verify observable equivalence classes containing a single canonical structure equivalence class; the combined limit corresponds to a set of structures consisting of multiple impurity structures and is used to verify observable equivalence classes containing multiple canonical structure equivalence classes. The limit rules may include only single-structure limits, only combined limits, or both single-structure limits and combined limits.
[0064] In one implementation, step S100 can read the aforementioned data from the peptide sequence database, synthesis process database, mass spectrometry data processing platform, and limit rule database via a data interface, and establish data associations based on the same sample identifier or the same detection task identifier. In another implementation, the user can upload a structure file containing peptide sequences and linkage topologies, a process file containing synthesis cycle data, a detection method file containing mass spectrometry parameters, a raw data file containing mass spectrometry data, and a rule file containing limit rules. After format parsing and field validation of the acquired data, it is converted into a unified data format that can be used in subsequent steps.
[0065] In this embodiment of the invention, step S201 is used to simulate possible structural anomalies in each synthetic cycle based on the synthetic cycle data, and to establish a traceable formation event for each structural anomaly. The synthetic cycle data includes a cycle identifier, a proposed linking residue, and a candidate anomaly type for each synthetic cycle. The cycle identifier distinguishes different synthetic cycles, the proposed linking residue characterizes the amino acid residue that the corresponding synthetic cycle plans to link to the current peptide chain, and the candidate anomaly type characterizes the possible structural anomalies of that synthetic cycle.
[0066] For each candidate anomaly type, structural editing is performed on the peptide chain corresponding to the respective synthetic cycle based on the intended linking residues. Residue deletion refers to deleting the intended linking residue or a specified residue in the peptide chain; residue insertion refers to adding one or more residues at a specified linking position; residue configuration change refers to changing the configuration of a specified residue from one configuration to another; chemical modification change refers to adding, deleting, or replacing specified residues, terminal groups, or side chain groups; and linking relationship change refers to adding, deleting, or replacing linking edges between residues, including changes to peptide bond links, cyclization links, disulfide bond links, or branching links. A single formation event can correspond to one type of structural editing or a combination of two or more structural editing methods.
[0067] After structural editing is completed, the impurity structure corresponding to the formation event is obtained. The impurity structure represents the residue composition, residue properties, and connection relationships between residues after structural editing. The event identifier is generated based on the cycle identifier and candidate anomaly type, and may further include the editing location, editing object, or editing parameters to distinguish different formation events within the same synthesis cycle. For example, the event identifier can be represented as:
[0068]
[0069] in, Indicates the event identifier, Indicates a cycle identifier. Indicates the candidate exception type. Indicates optional structure editing positions or editing parameters; functions This can be achieved through field concatenation, encoding mapping, or hashing.
[0070] Step S202 is used to convert the impurity structure into a computer-processable residue topology diagram. Specifically, each amino acid residue in the impurity structure is used as a residue node, and the connection relationships between amino acid residues are used as connection edges. For terminal groups, modifying groups, or structural properties that are not suitable as independent residue nodes, structural tags can be attached to the corresponding residue nodes or connection edges.
[0071] The structural tag includes at least residue type tags and linkage type tags. Residue type tags characterize the type of amino acid residue corresponding to a residue node, while linkage type tags characterize peptide bond connections, disulfide bond connections, cyclization connections, branching connections, or other linkage relationships corresponding to linkage edges. When corresponding structural attributes exist, the structural tag also includes at least one of residue configuration tags, chemical modification tags, and terminal group tags. Residue configuration tags characterize the stereoconfiguration of residues, chemical modification tags characterize chemical modifications carried by residues, terminal groups, or side chain groups, and terminal group tags characterize the amino terminus, carboxyl terminus, and their blocked or derivatized state of the polypeptide.
[0072] The event identifier is attached to the corresponding residue topology map to preserve the formation origin corresponding to that residue topology map. The event identifier and the structural tag represent different information: the event identifier indicates which synthetic cycle anomaly led to the formation of the impurity structure, while the structural tag represents the molecular composition and connectivity of the impurity structure itself. Therefore, even if different formation events produce the same impurity structure, their structural similarity can be identified by the structural tag after the event identifier is subsequently removed, while simultaneously preserving their respective formation origins through the event identifier.
[0073] For example, if the target peptide chain is intended to be linked to the alanine residue Ala in a synthesis cycle labeled C05, and the candidate anomaly type is residue deletion, the system deletes the intended linked residue, resulting in an impurity structure lacking Ala, and generates the event identifier "C05 - Residue Deletion". Subsequently, a residue topology map is constructed using the remaining amino acid residues as residue nodes and the peptide bonds between residues as connection edges. Residue type tags are added to each residue node, connection type tags are added to each connection edge, and "C05 - Residue Deletion" is appended to the residue topology map. This forms a data object that simultaneously contains formation origin information and molecular structure information, which is then processed for normalization in step S300.
[0074] Furthermore, the method also includes the following steps:
[0075] Step S300: Remove event identifiers from each residue topology graph, generate canonical structure identifiers based on structure labels, merge residue topology graphs with the same canonical structure identifiers into canonical structure equivalence classes, establish a mapping between event identifiers and canonical structure equivalence classes, and associate the corresponding limit rules with the canonical structure equivalence classes.
[0076] In this embodiment of the invention, step S300 is used to separate the formation source information from the impurity structure information, and use the standardized structure identifier as a unified basis for impurity structure merging and limit rule association, thereby avoiding the repeated generation of subsequent analysis objects due to the same impurity structure generated by different formation events.
[0077] In step S301, the correspondence between each residue topology map and its corresponding event identifier is first recorded. This correspondence can be stored using a mapping table, index table, or associated records. Subsequently, event identifiers are removed from the residue topology map, but residue type tags, connection type tags, and residue configuration tags, chemical modification tags, and end-group tags are retained. Thus, information characterizing the source of impurity formation is removed, while information characterizing the impurity structure itself is retained, ensuring that subsequent structure determination is not affected by cycle identifiers or candidate anomaly types.
[0078] In step S302, the residue topology graph is normalized and encoded based on the retained structural tags. This normalization eliminates the influence of residue node numbers, data entry order, and node traversal order on the encoding results. Specifically, each residue node is iteratively sorted based on residue type tags, residue configuration tags, chemical modification tags, end-group tags, adjacent node tags, and connection type tags. Node codes and connection edge codes are then output according to the sorting results to form a normalized topology code. Residue topology graphs with the same structure but different node numbers have the same normalized topology code.
[0079] The canonical structure identifier can be obtained directly using the canonical topological code, or by hashing the canonical topological code. For example:
[0080]
[0081] in, Canonical topological coding representing a residue topology graph. This represents a hash function or encoding function. This represents the canonical structure identifier. Hash processing is only used to shorten or standardize the identifier format and does not change the structural information represented by the canonical topological coding.
[0082] In step S303, residue topology maps with the same canonical structural identifiers are grouped into the same canonical structural equivalence class. Each canonical structural equivalence class corresponds to an impurity structure determined by structural tags and connectivity relationships. Based on the correspondence recorded in step S301, the event identifiers originally attached to each residue topology map are mapped to the corresponding canonical structural equivalence class. A canonical structural equivalence class can be associated with one event identifier or multiple event identifiers, thus preserving the possible formation sources of each impurity structure after structure merging.
[0083] For example, if two adjacent synthesis cycles in a target polypeptide are intended to link the same residues, when residue deletion occurs in either synthesis cycle, although the generated cycle identifiers and event identifiers are different, the final residue composition, structural tags, and linkage relationships are the same. After normalization encoding, the two residue topologies obtain the same canonical structural identifier and are merged into the same canonical structural equivalence class; both event identifiers are mapped to this canonical structural equivalence class.
[0084] In step S304, the limit objects in the limit rules are converted into a limit object residue topology map using the same graphical representation as the impurity structure. The limit object can be described by at least one of polypeptide sequence, linkage topology, residue configuration, chemical modification, and terminal state. The limit object residue topology map is then subjected to the same normalization encoding as in step S302 to obtain a normalized structural identifier for the limit object, thus avoiding association errors caused by differences in limit object name, residue number, or entry order.
[0085] In step S305, the specification structure identifier of the limit object is matched with the specification structure identifier of each specification structure equivalence class. If the limit rule is a single-structure limit, the single-structure limit is associated with a specification structure equivalence class that has the same specification structure identifier; if the limit rule is a combined limit, the specification structure identifiers of multiple limit objects included in the combined limit are determined, and the combined limit is associated with a structure set composed of the corresponding multiple specification structure equivalence classes. Thus, a single-structure limit acts on a specific impurity structure, and a combined limit acts on a predefined structure set composed of multiple impurity structures, providing a basis for subsequent limit verification based on the composition of observable equivalence classes.
[0086] Furthermore, the method also includes the following steps:
[0087] Step S400: Generate a set of theoretical mass spectrometry features for each canonical structure equivalence class based on the mass spectrometry parameters, and merge the canonical structure equivalence classes that are indistinguishable under the mass spectrometry parameters into observable equivalence classes.
[0088] In this embodiment of the invention, step S400 is used to determine the smallest object that can be independently distinguished by mass spectrometry detection based on the canonical structural equivalence class and the current mass spectrometry parameters. Since the residue topology maps in the same canonical structural equivalence class have the same canonical structural identifiers, their molecular composition and fragmentation basis are the same, so only one set of theoretical mass spectrometry features needs to be generated, avoiding the repeated calculation of theoretical mass spectrometry features due to multiple event identifiers mapping to the same canonical structural equivalence class.
[0089] In step S401, a residue topology map is selected as a representative topology map from each canonical structural equivalence class. The representative topology map can be the first residue topology map generated in that canonical structural equivalence class, or it can be the residue topology map with the smallest topological difference from the target peptide linker. Since residue topology maps within the same canonical structural equivalence class have the same canonical structural identifier, the selection of the representative topology map does not change the generated theoretical mass spectrometry characteristics.
[0090] Based on residue type tags, residue configuration tags, chemical modification tags, terminal group tags, and linkage type tags in the topology diagram, the elemental composition, linkage relationships, and allowed theoretical fragmentation paths of the corresponding impurity structures are determined. For linkage topologies containing non-peptide bond connections, theoretical fragmentation paths are independently determined according to the fracture chemistry rules corresponding to the respective linkage type. These theoretical fragmentation paths may include b-ions and y-ions formed by peptide bond breakage, as well as a-ions formed by further neutralization loss of b-ions. They may also include other characteristic fragment ions formed by the breakage of specific linkage relationships, including at least one of disulfide bonds and ester bonds.
[0091] The theoretical precursor ion mass-to-charge ratio can be expressed as:
[0092]
[0093] in, This represents the neutral molecular mass determined based on the molecular composition. Indicates the charged state, This represents the mass of the proton. Based on the molecular composition, the theoretical isotopic envelope can be calculated, the theoretical set of charged states can be determined according to the allowed range of charged states, and the theoretical set of fragment ion mass-to-charge ratios can be determined according to the theoretical fragmentation paths. Combining mass spectrometry parameters, only one set of theoretical mass spectrometry features, including at least two of the above characteristics, is generated and stored for each gauge structure equivalence class.
[0094] In step S402, it is determined whether theoretical mass spectrometry features can be obtained under the current detection conditions based on the mass spectrometry parameters, and the theoretical mass spectrometry features that can be obtained are identified as observable theoretical features. For example, theoretical precursor ion mass-to-charge ratios that exceed the scan mass range, theoretical charged states that exceed the allowable charged state range, or theoretical fragment ions that do not form under the current collision mode can be excluded from being considered as observable theoretical features.
[0095] When performing interval encoding on the theoretical precursor ion mass-to-charge ratio and the theoretical fragment ion mass-to-charge ratio sets, the corresponding mass tolerance and encoding interval can be determined based on the mass resolution, precursor ion mass tolerance, and fragment ion mass tolerance. For example, for the theoretical mass-to-charge ratio... To correspond to quality tolerance Constructing a tolerance window:
[0096]
[0097] And generate interval codes based on one or more discrete intervals covered by the tolerance window. When two theoretical mass-to-charge ratios and satisfy:
[0098]
[0099] In such cases, both can be encoded into a tolerance interval with a common interval identifier to indicate that they cannot be independently distinguished by the mass-to-charge ratio characteristic under the current mass tolerance. In practical applications, overlapping interval encoding or multiple sets of interval encoding with different interval starting points can also be used to reduce the possibility of being incorrectly assigned to different observable ranges when the mass-to-charge ratio is located at the boundary of adjacent intervals.
[0100] The feature codes for the theoretical isotopic envelope can be generated based on the isotopic peak spacing, peak number, and relative intensity distribution. The feature codes for the theoretical charged state set can be generated based on combinations of observable charged states. Combining the mass-to-charge ratio interval code with at least one of the feature codes for the theoretical isotopic envelope and the theoretical charged state set yields the method observable identifier for the corresponding gauge structure equivalence class. This method observable identifier characterizes the observable mass spectrometry feature combinations that the corresponding gauge structure equivalence class can form under the current mass spectrometry parameters.
[0101] In step S403, the method observability identifiers of each specification structure equivalence class are compared. If the method observability identifiers are the same, it means that the observable theoretical characteristics of the corresponding specification structure equivalence class cannot be independently distinguished under the current mass resolution, mass tolerance, charged state range, and fragmentation conditions; therefore, they are merged into the same observable equivalence class. Specification structure equivalence classes with different method observability identifiers are retained in different observable equivalence classes.
[0102] For example, two canonical structure equivalence classes may correspond to different impurity structures, but the difference in their theoretical precursor ion mass-to-charge ratios is less than the precursor ion mass tolerance, and under the current collision conditions, no set of theoretical fragment ion mass-to-charge ratios that can distinguish between the two is generated. In this case, they will both obtain the same method observable identifier and be merged into the same observable equivalence class. If, after increasing the mass resolution or adjusting the collision energy, a distinguishable set of theoretical precursor ion mass-to-charge ratios or theoretical fragment ion mass-to-charge ratios is obtained, then their method observable identifiers will be different, and they will be split into different observable equivalence classes.
[0103] When mass spectrometry parameters change, the observable theoretical characteristics of each canonical structural equivalence class are redefined, and method observable identifiers are regenerated according to the changed mass resolution, mass tolerance, charged state range, or fragmentation conditions. Based on the regenerated method observable identifiers, observable equivalence classes are split or merged, and extracted ion clusters are re-matched to their corresponding observable equivalence classes according to the changed theoretical mass spectrometry characteristics. Then, deduplication and polymerization are re-executed, and the corresponding class-level quantitative values are updated. Thus, the observable equivalence classes and class-level quantitative values are dynamically adjusted according to changes in mass spectrometry detection capabilities, avoiding the erroneous quantification of impurity structures that are indistinguishable under the current mass spectrometry parameters.
[0104] Step S500: Extract ion clusters from mass spectrometry data, match each ion cluster to at most one observable equivalence class, deduplicatively aggregate ion clusters matched to the same observable equivalence class, and obtain class-level quantitative values.
[0105] In this embodiment of the invention, step S500 is used to form ion clusters from mass spectrometry data that can characterize the same molecular origin, and to uniquely assign the ion clusters to the observable equivalence class. On this basis, the duplicate measurements caused by isotope signals and signals of different charge states are eliminated to obtain class-level quantitative values that are consistent with the actual distinguishable particle size under the current mass spectrometry parameters. Figure 2 A flowchart of ion cluster matching and class-level quantification is shown.
[0106] In step S501, baseline correction, noise filtering, and mass spectrometry signal extraction can be performed on the mass spectrometry data. The mass spectrometry signal includes at least the mass-to-charge ratio, signal intensity, and retention time. Mass spectrometry signals with overlapping retention time ranges, mass intervals between adjacent isotope signals corresponding to their charge states, and matching charge relationships are grouped into the same ion cluster. For mass spectrometry signals with a charge state of... The theoretical mass-to-charge ratio interval between adjacent isotope peaks of the ions is approximately This can be used to determine whether the isotopic mass intervals match.
[0107] For each ion cluster, the measured precursor ion mass-to-charge ratio, measured charged state, and quantitative signal value are determined, and at least one of the measured isotope envelope and measured fragment ion mass-to-charge ratio sets is further determined. The quantitative signal value can be the peak area of a single isotope, the peak area of an ion cluster, the peak area of an extracted ion chromatographic peak, or a signal value after response correction.
[0108] In step S502, for multiple canonical structure equivalence classes contained in the same observable equivalence class, the theoretical precursor ion mass-to-charge ratio range, theoretical isotopic envelope features, theoretical charged state, and theoretical fragment ion mass-to-charge ratio range that cannot be identified separately under the current mass spectrometry parameters are extracted to form the class-level theoretical mass spectrometry features of the observable equivalence class. These class-level theoretical mass spectrometry features are used to characterize the observable signal that the observable equivalence class as a whole can generate, rather than treating indistinguishable theoretical mass spectrometry features as independent matching objects.
[0109] In step S503, the measured characteristics of each ion cluster are compared with the class-level theoretical mass spectrometry characteristics of each observable equivalence class. The matching value can be determined by weighting at least two of the following: precursor ion mass deviation, isotopic envelope similarity, charged state matching degree, and fragment ion matching degree, for example:
[0110]
[0111] in, Indicates the matching value. , , and These represent the precursor ion mass matching score, isotopic envelope similarity score, charged state matching score, and fragment ion matching score, respectively. to These are the corresponding weights. The weights for features not included in the calculation can be set to zero.
[0112] In step S504, for each ion cluster, its matching value with each observable equivalence class is compared. The observable equivalence class with the highest matching value that meets the matching threshold is determined as the observable equivalence class matched by that ion cluster. Thus, each ion cluster is matched to at most one observable equivalence class. If none of the matching values meet the matching threshold, the ion cluster is marked as an unmatched ion cluster and is not included in the calculation of the class-level quantitative value of the corresponding observable equivalence class.
[0113] In step S505, for ion clusters matched to the same observable equivalence class, the neutral mass is calculated based on the measured precursor ion mass-to-charge ratio and the measured state of charge. For example, the neutral mass can be expressed as:
[0114]
[0115] in, Indicates neutral mass. This indicates the measured mass-to-charge ratio of the precursor ions. Indicates the measured state of charge. This indicates the mass of the proton.
[0116] Ion clusters with overlapping retention time ranges and neutral mass differences within a preset mass tolerance are identified as homologous ion clusters. Homologous ion clusters can be different isotopic signals or signals of different charged states formed from the same related substance. For each group of homologous ion clusters, the quantitative signal value corresponding to the preset quantitative ion is retained, or the responses of different charged states are corrected and then combined to avoid repeatedly counting multiple isotopic peaks or multiple charged states from the same molecule.
[0117] For example, if the same related substance forms divalent and trivalent ions within the same retention time range, and their converted neutral masses match, then they are identified as homologous ion clusters. After removing isotope peaks and duplicate contributions from different charge states, only one effective quantitative signal is formed. If two ion clusters matched to the same observable equivalence class have non-overlapping retention time ranges, they can be considered as different chromatographic components, and their quantitative signal values are aggregated after removing duplicates separately.
[0118] The quantitative signal values of homologous ion clusters matched to the same observable equivalence class are summed or aggregated after correction to obtain the class-level quantitative value of that observable equivalence class. Only one class-level quantitative value is generated and stored for each observable equivalence class. The class-level quantitative value is not written to each canonical structure equivalence class contained therein or to each event identifier associated through the mapping, thereby avoiding duplicate measurement of the same measured mass spectrometry signal due to corresponding to multiple impurity structures or multiple formation events.
[0119] Furthermore, the method also includes the following steps:
[0120] Step S600: When the observable equivalence class contains one canonical structure equivalence class, the class-level quantitative value is verified using the corresponding single structure limit; when it contains multiple canonical structure equivalence classes, the class-level quantitative value is verified using the combined limit if there is a corresponding combined limit; otherwise, an independent judgment result is generated; the verification result and the event identifier associated with the mapping are output.
[0121] In this embodiment of the invention, step S600 is used to select a verification method that matches the current mass spectrometry's discriminative capability based on the number of canonical structural equivalence classes contained in the observable equivalence classes and their associated limit rules, and output the verification result and the corresponding formation source. Specifically, Figure 2 The flowchart for limit rule verification and detection parameter optimization is shown.
[0122] In step S601, based on the merging relationship between observable equivalence classes and canonical structure equivalence classes, the canonical structure equivalence classes contained in each observable equivalence class are determined, and the single structure limit associated with each canonical structure equivalence class in step S300, as well as the combinatorial limit associated with the structure set composed of multiple canonical structure equivalence classes, are read.
[0123] In step S602, when an observable equivalence class contains only one canonical structure equivalence class, it indicates that the canonical structure equivalence class can be independently observed under the current mass spectrometry parameters. Therefore, the single-structure limit associated with the canonical structure equivalence class is read, and the class-level quantitative value is compared with the single-structure limit. If the class-level quantitative value is not greater than the single-structure limit, a single-structure qualified result is generated; if the class-level quantitative value is greater than the single-structure limit, a single-structure exceeded result is generated.
[0124] In step S603, when an observable equivalence class contains multiple canonical structure equivalence classes, it indicates that the multiple canonical structure equivalence classes are indistinguishable under the current mass spectrometry parameters. At this point, it is determined whether there exists a combination limit corresponding to the structure set composed of the multiple canonical structure equivalence classes. If so, the class-level quantitative value is used as the common quantitative result of the structure set, compared with the combination limit, and a combination acceptable result or a combination exceeding the limit result is generated.
[0125] If no corresponding combination limit exists, the class-level quantitative values are not allocated to multiple canonical structure equivalence classes through equal distribution, proportional allocation, or repeated writing. Instead, the association between the class-level quantitative values and the observable equivalence classes is maintained, and a result that cannot be independently determined is generated. This result indicates that the existing mass spectrometry data can determine the total quantitative level of the multiple canonical structure equivalence classes, but cannot determine the quantitative value corresponding to each individual canonical structure equivalence class, thus making independent verification based on their respective single-structure limits impossible.
[0126] For example, when multiple canonical structural equivalence classes correspond to isomers, positional isomers, or other impurity structures that are indistinguishable under the current mass spectrometry parameters, such as impurity structures containing differences between leucine and isoleucine residues, or impurity structures with different chemical modification sites, and mass spectrometry features that can distinguish each impurity structure cannot be obtained under the current mass resolution or fragmentation conditions, then the class-level quantitative value is retained as the total quantitative result of the observable equivalence classes, and an event identifier associated with each canonical structural equivalence class is output, instead of using the class-level quantitative value as the quantitative value of any single canonical structural equivalence class for single-structure limit verification.
[0127] If quality control requires obtaining independent quantitative values for each of the multiple canonical structural equivalence classes, then after generating results that cannot be independently determined, candidate mass spectrometry parameter combinations are further generated. The target mass spectrometry parameter combination is determined by at least one of the following methods: improving mass resolution, adjusting collision energy, changing fragmentation conditions, or selecting characteristic fragment ions that can distinguish each canonical structural equivalence class, for subsequent supplementary acquisition.
[0128] For example, an observable equivalence class contains a first canonical structure equivalence class and a second canonical structure equivalence class, with a class-level quantitative value of 0.18%. If the combinatorial limit corresponding to the structure set formed by the two is 0.20%, a qualified combinatorial result is generated; if there is no corresponding combinatorial limit, and the first and second canonical structure equivalence classes only have single structure limits respectively, then 0.18% is not assigned to the two respectively, and an independent decision result is generated.
[0129] In step S604, based on the mapping between event identifiers and canonical structure equivalence classes, the event identifiers associated with each canonical structure equivalence class contained in the currently observable equivalence class are determined, and the class-level quantitative value, single-structure pass result, single-structure exceedance result, combined pass result, combined exceedance result, or result that cannot be independently determined, along with the corresponding event identifier, are output. The event identifier is used to indicate the synthesis cycle and candidate anomaly type that the corresponding impurity structure may correspond to, but it is not used as an independent quantitative object.
[0130] After generating results that cannot be independently determined, multiple candidate mass spectrometry parameter combinations can be generated for the corresponding observable equivalence class. These candidate mass spectrometry parameter combinations can be obtained by adjusting at least one of the following: mass resolution, precursor ion mass tolerance, fragment ion mass tolerance, allowable charged state range, collision mode, or collision energy.
[0131] For each candidate mass spectrometry parameter combination, the observable theoretical features and method observable identifiers of each gauge structure equivalence class are redefined, and the distinguishability of each gauge structure equivalence class is determined based on the differences between the method observable identifiers. The number of distinguishable candidate mass spectrometry parameter combinations can be expressed as:
[0132]
[0133] in, This represents the candidate mass spectrometry parameter combinations. and They represent the first The and the first The method observable identifier of a canonical structure equivalence class under candidate mass spectrometry parameter combinations. This is the indicative function. Candidate mass spectrometry parameter combinations with a distinguishable number higher than the distinguishable number corresponding to the current mass spectrometry parameter are determined as the target mass spectrometry parameter combination. When multiple candidate mass spectrometry parameter combinations exist, the candidate mass spectrometry parameter combination with a higher distinguishable number and whose expected signal strength, acquisition time, or device feasibility meet preset conditions can be selected first.
[0134] After outputting the target mass spectrometry parameter combination, the mass spectrometry detection conditions can be adjusted and supplementary data acquisition can be performed to further distinguish multiple canonical structure equivalence classes in the original observable equivalence classes. Based on the supplementary mass spectrometry data, ion cluster matching, class-level quantification and limit rule verification can be re-executed.
[0135] For example, the target polypeptide sequence is an N-terminal acetylated Gly-Ala-Ala-Lys, where both cycle CO2 and cycle CO3 are intended to link Ala. Residue deletion events E1 and E2 occur for CO2 and CO3, respectively, resulting in N-terminal acetylated Gly-Ala-Lys impurity structures. After removing the event identifiers and performing normalization encoding, the residue topologies corresponding to E1 and E2 yield the same canonical structure identifier H1, and are merged into the first canonical structure equivalence class. Another formation event, E3, changes the N-terminal acetylation to lysine side-chain acetylation, resulting in the second canonical structure equivalence class, whose canonical structure identifier is H2.
[0136] At a mass resolution of 30,000, a precursor ion mass tolerance of 10 ppm, and a collision energy of 15 eV, H1 and H2 have the same theoretical precursor ion mass-to-charge ratio and no theoretical fragment ions capable of distinguishing acetylation positions were obtained. Therefore, they generated the same method-observable identifier and were grouped into the same observable equivalence class. Divalent and trivalent ion clusters with retention times ranging from 5.20 to 5.24 min were extracted from the mass spectrometry data, with matching values of 0.94 and 0.91, respectively, both higher than the matching threshold of 0.80. Therefore, they were both matched into the observable equivalence class. The neutral masses calculated from the two ion clusters matched, and the quantitative signal values before deduplication were 12,000 and 8,000, respectively. After identifying them as homologous ion clusters, the pre-defined quantitative signal value of 12,000 for the divalent ion was retained, and after normalization, a class-level quantitative value of 0.18% was obtained.
[0137] If the combination limit corresponding to the structure set formed by the first and second canonical structure equivalence classes is 0.20%, then the class-level quantitative value is not greater than the combination limit, generating a qualified combination result and outputting event identifiers E1, E2, and E3. If no corresponding combination limit exists, then 0.18% is not allocated to H1 and H2 respectively, and an independent judgment result is generated. At this time, multiple candidate mass spectrometry parameter combinations are generated. Among them, the candidate mass spectrometry parameter combination using a collision energy of 30 eV and a fragment ion mass tolerance of 0.02 Da can obtain fragment ions that characterize N-terminal acetylation and lysine side chain acetylation respectively, increasing the number of distinguishable canonical structure equivalence classes from one to two. Therefore, this candidate mass spectrometry parameter combination is determined as the target mass spectrometry parameter combination.
[0138] Furthermore, Figure 2 An application architecture diagram of the system provided in an embodiment of the present invention is shown.
[0139] In another preferred embodiment of the present invention, the peptide-related substance limit rule verification system includes:
[0140] The data acquisition module 100 is used to acquire peptide sequences, linkage topologies, synthesis cycle data, mass spectrometry parameters and mass spectrometry data, and limit rules.
[0141] Furthermore, the peptide-related substance limit rule verification system also includes:
[0142] The event modeling module 200 is used to generate formation events and event identifiers based on the synthesis cycle data, and to convert the impurity structure of each formation event into a residue topology map containing event identifiers and structure tags.
[0143] Furthermore, the peptide-related substance limit rule verification system also includes:
[0144] The structure specification module 300 is used to remove event identifiers from each residue topology graph, generate a specification structure identifier based on the structure label, merge residue topology graphs with the same specification structure identifier into a specification structure equivalence class, establish a mapping between event identifiers and specification structure equivalence classes, and associate the corresponding limit rules with the specification structure equivalence classes.
[0145] Furthermore, the peptide-related substance limit rule verification system also includes:
[0146] The observable modeling module 400 is used to generate a set of theoretical mass spectrometry features for each canonical structure equivalence class based on the mass spectrometry parameters, and to merge the canonical structure equivalence classes that are indistinguishable under the mass spectrometry parameters into observable equivalence classes.
[0147] Furthermore, the peptide-related substance limit rule verification system also includes:
[0148] The ion cluster quantification module 500 is used to extract ion clusters from mass spectrometry data, match each ion cluster to at most one observable equivalence class, and deduplicate and aggregate ion clusters matched to the same observable equivalence class to obtain class-level quantitative values.
[0149] Furthermore, the peptide-related substance limit rule verification system also includes:
[0150] The limit verification module 600 is used to verify the class-level quantitative value with the corresponding single-structure limit when the observable equivalence class contains one canonical structure equivalence class; when it contains multiple canonical structure equivalence classes, it verifies the class-level quantitative value with the combined limit when there is a corresponding combined limit, otherwise it generates a result that cannot be independently determined; and outputs the verification result and the event identifier associated with the mapping.
[0151] It should be understood that although the steps in the flowcharts of the various embodiments of the present invention are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the various embodiments may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least a portion of the sub-steps or stages of other steps.
[0152] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0153] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0154] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
[0155] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for verifying limit rules for polypeptide related substances, characterized in that, The method includes: S100: Obtain polypeptide sequence, linkage topology, synthesis cycle data, mass spectrometry parameters, mass spectrometry data, and limit rules, wherein the limit rules include at least one of single structure limit and combinatorial limit; S200: Generate formation events and event identifiers based on synthesis cycle data, and convert the impurity structures of each formation event into residue topology maps containing event identifiers and structure tags; S300: Remove event identifiers, generate canonical structure identifiers based on structure tags, merge residue topology graphs with the same canonical structure identifiers into canonical structure equivalence classes, establish a mapping between event identifiers and canonical structure equivalence classes, and associate the corresponding limit rules with the canonical structure equivalence classes; S400: Generate a set of theoretical mass spectrometry features for each canonical structure equivalence class based on mass spectrometry parameters, and merge the canonical structure equivalence classes that are indistinguishable under the mass spectrometry parameters into observable equivalence classes; S500: Extract ion clusters from mass spectrometry data, match each ion cluster to at most one observable equivalence class, deduplicatively aggregate ion clusters matched to the same observable equivalence class, and obtain class-level quantitative values; S600: When an observable equivalence class contains one canonical structure equivalence class, the class-level quantitative value is verified using the corresponding single structure limit; when it contains multiple canonical structure equivalence classes, the class-level quantitative value is verified using the combined limit if a corresponding combined limit exists; otherwise, an independent judgment result is generated; the verification result and the event identifier associated with the mapping are output.
2. The method for verifying the limit rules of polypeptide related substances according to claim 1, characterized in that, Step S200 specifically includes: The synthesis cycle data includes the cycle identifier, the residues to be linked, and the candidate anomaly type for each synthesis cycle; For each candidate anomaly type, based on the intended linking residues of the corresponding synthesis cycle, at least one of the following structural edits is performed on the peptide chain corresponding to the synthesis cycle: residue deletion, residue insertion, residue configuration change, chemical modification change, and linking relationship change, to obtain the impurity structure of the corresponding formation event, and the event identifier is generated based on the cycle identifier and the candidate anomaly type; The residue topology is constructed using amino acid residues in the impurity structure as residue nodes and the connection relationships between the amino acid residues as connection edges. The event identifier is attached to the residue topology, and corresponding structural tags are added to the residue nodes and connection edges. The structural tags include at least residue type tags and connection type tags, and when corresponding structural attributes exist, they include at least one of residue configuration tags, chemical modification tags, and end-group tags.
3. The method for verifying the limit rules of polypeptide related substances according to claim 1, characterized in that, Step S300 specifically includes: Record the correspondence between each residue topology map and its event identifier, remove the event identifiers from each residue topology map, and retain the structure labels; Based on the structural labels, the residue topology graph after removing event identifiers is subjected to normalized encoding that is independent of the residue node number and node traversal order to obtain normalized topology encoding, and normalized structural identifiers are generated based on the normalized topology encoding. Residue topology graphs with the same canonical structure identifiers are grouped into the same canonical structure equivalence class, and each event identifier is mapped to the corresponding canonical structure equivalence class according to the correspondence. The limit objects in the limit rules are converted into limit object residue topology graphs, and normalized encoding is performed on the limit object residue topology graphs to obtain the limit object normalized structure identifiers; Based on the specification structure identifier of the limit object, a single structure limit is associated with a corresponding specification structure equivalence class, and a composite limit is associated with a structure set consisting of multiple corresponding specification structure equivalence classes.
4. The method for verifying the limit rules of polypeptide related substances according to claim 1, characterized in that, Step S400 specifically includes: One residue topology map from each canonical structural equivalence class is selected as a representative topology map. Based on the structural labels of the representative topology map, the molecular composition and theoretical fragmentation path are determined. Combined with mass spectrometry parameters, only one set of theoretical mass spectrometry features is generated for each canonical structural equivalence class. The theoretical mass spectrometry features include at least two of the following: theoretical precursor ion mass-to-charge ratio, theoretical isotopic envelope, theoretical charged state set, and theoretical fragment ion mass-to-charge ratio set. Based on mass spectrometry parameters, observable theoretical features are determined from each group of theoretical mass spectrometry features. Based on mass resolution, precursor ion mass tolerance, and fragment ion mass tolerance, interval coding is performed on the theoretical precursor ion mass-to-charge ratio and theoretical fragment ion mass-to-charge ratio sets in the observable theoretical features. The obtained interval coding is combined with at least one of the feature coding of theoretical isotope envelope and the feature coding of theoretical charged state set to obtain the method observable identifier of each gauge structure equivalence class. Canonical structure equivalence classes with the same method observable identifier are identified as indistinguishable under mass spectrometry parameters and merged into the same observable equivalence class.
5. The method for verifying the limit rules of polypeptide related substances according to claim 4, characterized in that, When mass spectrometry parameters change, the observable theoretical features of each canonical structure equivalence class are re-determined based on the changed mass spectrometry parameters, and the method observable identifiers are regenerated. Based on the regenerated method observable identifiers, observable equivalence classes are split or merged, the extracted ion clusters are re-matched to the split or merged observable equivalence classes, and the corresponding class-level quantitative values are updated.
6. The method for verifying the limit rules of polypeptide related substances according to claim 1, characterized in that, Step S500 specifically includes: Mass spectrometry signals are extracted from mass spectrometry data. Mass spectrometry signals with overlapping retention time ranges, matching isotope mass intervals, and matching charge relationships are grouped into the same ion cluster. The measured precursor ion mass-to-charge ratio, measured charge state, and quantitative signal value of each ion cluster, as well as at least one of the measured isotope envelope and measured fragment ion mass-to-charge ratio sets, are determined as the measured characteristics of the corresponding ion cluster. Among the theoretical mass spectrometry features of the canonical structure equivalence classes contained in the same observable equivalence class, the theoretical mass spectrometry features that are indistinguishable under the mass spectrometry parameters are determined as the class-level theoretical mass spectrometry features of that observable equivalence class. The matching value is determined based on at least two of the following: precursor ion mass deviation, isotopic envelope similarity, charged state matching degree, and fragment ion matching degree between the measured characteristics of each ion cluster and the class-level theoretical mass spectrometry characteristics of each observable equivalence class. The observable equivalence class with the highest matching value that meets the matching threshold is determined as the observable equivalence class matched by the corresponding ion cluster; if none of the matching values meet the matching threshold, no observable equivalence class is matched for the corresponding ion cluster. For ion clusters that match the same observable equivalence class, ion clusters with overlapping retention time ranges and matching neutral masses calculated based on the measured precursor ion mass-to-charge ratio and measured charge state are identified as homologous ion clusters. Isotope signals and signals of different charge states in each group of homologous ion clusters are deduplicated, and the deduplicated quantitative signal values are aggregated to obtain the class-level quantitative value of the corresponding observable equivalence class.
7. The method for verifying the limit rules of polypeptide related substances according to claim 1, characterized in that, For each observable equivalence class, only one class-level quantitative value associated with that observable equivalence class is generated and stored. The class-level quantitative value is not written to each canonical structure equivalence class contained in the observable equivalence class or to each event identifier associated through the mapping.
8. The method for verifying the limit rules of polypeptide related substances according to claim 1, characterized in that, Step S600 specifically includes: Determine the canonical structural equivalence classes contained in each observable equivalence class, and the limit rules associated with each canonical structural equivalence class; When an observable equivalence class contains a canonical structure equivalence class, read the single structure limit associated with that canonical structure equivalence class, compare the class-level quantitative value with the single structure limit, generate a single structure qualified result if the class-level quantitative value is not greater than the single structure limit, otherwise generate a single structure exceeded result. When an observable equivalence class contains multiple canonical structural equivalence classes, determine whether there exists a combinatorial limit corresponding to the set of structures composed of multiple canonical structural equivalence classes. If it exists, compare the class-level quantitative value with the combinatorial limit. If the class-level quantitative value is not greater than the combinatorial limit, generate a qualified combinatorial result; otherwise, generate a combinatorial over-limit result. If it does not exist, maintain the association between the class-level quantitative value and the observable equivalence class, do not assign the class-level quantitative value to multiple canonical structural equivalence classes separately, and generate a result that cannot be independently determined. Based on the mapping, the event identifier associated with each normative structural equivalence class contained in the observable equivalence class is determined, and the class-level quantitative value, the corresponding single structure qualified result, single structure out-of-limit result, combined qualified result, combined out-of-limit result or result that cannot be determined independently, and the event identifier are output.
9. The method for verifying the limit rules of polypeptide related substances according to claim 8, characterized in that, After generating results that cannot be independently determined, multiple candidate mass spectrometry parameter combinations are generated for the corresponding observable equivalence classes. For each candidate mass spectrometry parameter combination, based on the differences in theoretical mass spectrometry characteristics of each canonical structure equivalence class under the candidate mass spectrometry parameter combination, it is determined whether each canonical structure equivalence class is distinguishable. The candidate mass spectrometry parameter combination that can increase the number of distinguishable canonical structure equivalence classes is determined as the target mass spectrometry parameter combination, and the target mass spectrometry parameter combination is output.
10. A limit rule verification system for polypeptide-related substances, characterized in that, The system includes: The data acquisition module is used to acquire peptide sequences, linkage topologies, synthesis cycle data, mass spectrometry parameters and mass spectrometry data, and limit rules. The event modeling module is used to generate formation events and event identifiers based on the synthesis cycle data, and to convert the impurity structures of each formation event into residue topology maps containing event identifiers and structure tags; The structure specification module is used to remove event identifiers, generate canonical structure identifiers based on structure tags, merge residue topology graphs with the same canonical structure identifiers into canonical structure equivalence classes, establish a mapping between event identifiers and canonical structure equivalence classes, and associate the corresponding limit rules with the canonical structure equivalence classes. The observable modeling module is used to generate a set of theoretical mass spectrometry features for each canonical structure equivalence class based on the mass spectrometry parameters, and to merge the canonical structure equivalence classes that are indistinguishable under the mass spectrometry parameters into observable equivalence classes. The ion cluster quantification module is used to extract ion clusters from mass spectrometry data, match each ion cluster to at most one observable equivalence class, and deduplicate and aggregate ion clusters matched to the same observable equivalence class to obtain class-level quantitative values. The limit verification module is used to verify the class-level quantitative value with the corresponding single-structure limit when the observable equivalence class contains one canonical structure equivalence class; when it contains multiple canonical structure equivalence classes, it verifies the class-level quantitative value with the combined limit when there is a corresponding combined limit; otherwise, it generates a result that cannot be independently determined; and outputs the verification result and the event identifier associated with the mapping.
