graph LR
MMP_Analysis_Prediction["MMP Analysis & Prediction"]
Database_Management["Database Management"]
CLI_Interface["CLI Interface"]
Reporting["Reporting"]
Configuration["Configuration"]
Fragmentation_Indexing["Fragmentation & Indexing"]
CLI_Interface -- "sends input to" --> MMP_Analysis_Prediction
MMP_Analysis_Prediction -- "queries" --> Database_Management
Database_Management -- "provides data to" --> MMP_Analysis_Prediction
MMP_Analysis_Prediction -- "passes results to" --> Reporting
Reporting -- "displays output from" --> MMP_Analysis_Prediction
MMP_Analysis_Prediction -- "uses" --> Configuration
Configuration -- "provides settings to" --> MMP_Analysis_Prediction
Fragmentation_Indexing -- "populates" --> Database_Management
Database_Management -- "stores data from" --> Fragmentation_Indexing
click MMP_Analysis_Prediction href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/mmpdb/MMP_Analysis_Prediction.md" "Details"
This document outlines the component overview for MMP Analysis & Prediction, including its structure, flow, and purpose, along with other fundamental components of the system.
MMP Analysis & Prediction [Expand]
This component serves as the central computational engine for applying Matched Molecular Pair (MMP) rules. Its primary purpose is to perform various analyses based on the indexed MMP data, including predicting properties for new compounds and transforming molecules by applying specific rule sets. It orchestrates the retrieval of relevant MMP data from the database and executes the algorithms necessary for these predictive and transformative tasks.
Related Classes/Methods:
mmpdblib.analysis_algorithms.PredictTool(416:473)mmpdblib.analysis_algorithms.TransformTool(847:968)mmpdblib.analysis_algorithms.Tool(390:409)mmpdblib.analysis_algorithms.predictmmpdblib.analysis_algorithms.transform
Manages the storage and retrieval of MMP rules, compound information, and associated properties. It provides the interface for the application to interact with the underlying database, ensuring data integrity and efficient access.
Related Classes/Methods:
Provides a command-line interface for user interaction, allowing users to initiate various tasks such as fragmentation, indexing, transformation, and prediction. It parses user commands and arguments, translating them into calls to the core business logic.
Related Classes/Methods:
mmpdblib.cli.MultiCommandmmpdblib.cli.click_utils.Command(69:70)mmpdblib.cli.click_utils.OrderedGroup(59:66)
Handles the formatting and output of computed results from various analyses and predictions. It ensures that the information is presented clearly and concisely to the user, potentially supporting different output formats.
Related Classes/Methods:
mmpdblib.reporters.BaseReporter(50:71)mmpdblib.reporters.Quiet(74:75)mmpdblib.reporters.Verbose(95:152)
Manages application-wide configuration settings, including database connection details, analysis parameters (e.g., prediction models, similarity thresholds), and output preferences. It provides a centralized mechanism for accessing and managing these settings.
Related Classes/Methods:
mmpdblib.cli.CmdConfig
Responsible for the initial processing of molecular data. This includes fragmenting molecules into their constituent parts and then identifying and indexing matched molecular pairs to build the core MMP database. This component is a prerequisite for any MMP analysis.
Related Classes/Methods: