graph LR
XGBoost_Model_Core["XGBoost Model Core"]
TSV_to_VCF_Converter["TSV to VCF Converter"]
Nucleotide_Change_Feature_Generator["Nucleotide Change Feature Generator"]
SomaticSeq_Pipeline_Orchestrator["SomaticSeq Pipeline Orchestrator"]
Genomic_File_Utilities["Genomic File Utilities"]
SomaticSeq_Pipeline_Orchestrator -- "orchestrates" --> XGBoost_Model_Core
SomaticSeq_Pipeline_Orchestrator -- "orchestrates" --> TSV_to_VCF_Converter
XGBoost_Model_Core -- "uses" --> Nucleotide_Change_Feature_Generator
TSV_to_VCF_Converter -- "uses" --> Genomic_File_Utilities
This subsystem embodies the core machine learning functionality of somaticseq, focusing on the classification of somatic variants using an XGBoost model and the subsequent conversion of results into the standard VCF format. It integrates several key components to achieve this, from feature engineering to final output generation.
This component encapsulates the machine learning logic, specifically the training and prediction using the XGBoost algorithm. It takes feature-rich TSV data as input and outputs classification results, including prediction scores and feature importance. It is fundamental because it performs the actual machine learning classification, which is the primary purpose of this subsystem.
Related Classes/Methods:
Responsible for transforming the classified TSV output from the XGBoost Model Core into the standardized VCF format. It handles the parsing of TSV data, processing variant information, and formatting it into VCF-compliant fields, including quality scores and filtering details. This component is crucial as it translates the internal processing results into a widely accepted and usable genomic data format. It leverages general genomic file utilities for its operations.
Related Classes/Methods:
This component identifies and categorizes different types of nucleotide changes (e.g., single nucleotide variants (SNVs), insertions, deletions). This categorization is a crucial step in feature engineering, providing essential input features for the XGBoost Model Core to accurately classify somatic variants. It is fundamental because it prepares the data in a machine-learning-ready format, directly impacting the model's performance.
Related Classes/Methods:
This component serves as the high-level coordinator for the entire somaticseq pipeline. Within the context of the Machine Learning & Output subsystem, it orchestrates the sequential execution of the XGBoost Model Core for classification and the subsequent TSV to VCF Converter for output formatting. It is fundamental as it defines the overall workflow and ensures the correct execution order of the core machine learning and output generation steps.
Related Classes/Methods:
General utility functions for parsing and handling genomic file formats.
Related Classes/Methods: None