Skip to content

Latest commit

 

History

History
90 lines (54 loc) · 4.86 KB

File metadata and controls

90 lines (54 loc) · 4.86 KB
graph LR
    CLI_Application_Orchestration["CLI & Application Orchestration"]
    Data_Schema_and_Validation["Data Schema and Validation"]
    File_and_Data_Integrity_Checkers["File and Data Integrity Checkers"]
    GTF_Entry_Generation["GTF Entry Generation"]
    Error_Handling_and_Logging["Error Handling and Logging"]
    Configuration_Management["Configuration Management"]
    CLI_Application_Orchestration -- "orchestrates" --> Data_Schema_and_Validation
    CLI_Application_Orchestration -- "orchestrates" --> File_and_Data_Integrity_Checkers
    CLI_Application_Orchestration -- "orchestrates" --> GTF_Entry_Generation
    CLI_Application_Orchestration -- "reports to" --> Error_Handling_and_Logging
    CLI_Application_Orchestration -- "orchestrates" --> Configuration_Management
    click CLI_Application_Orchestration href "https://github.com/CodeBoarding/GeneratedOnBoardings/blob/main/genome-manager/CLI_Application_Orchestration.md" "Details"
Loading

CodeBoardingDemoContact

Details

The CLI & Application Orchestration component serves as the primary interface and control center for the genomic data management system. It is responsible for interpreting user commands, validating initial inputs, and directing the flow of execution to either core Python data management functions or Nextflow workflows. This component is fundamental because it provides the user-facing entry point, ensuring that all operations are initiated correctly and routed to the appropriate backend logic, thereby maintaining system integrity and user experience.

CLI & Application Orchestration [Expand]

This component is the system's command-line interface, built around argparse for robust argument parsing. It acts as the central dispatcher, validating user inputs against defined schemas and orchestrating the execution of various data management tasks. These tasks include registering new genomes, listing existing genomic data, generating GTF entries from YAML specifications, and initiating complex Nextflow workflows for data processing. It integrates error handling and logging to provide a resilient and informative user experience.

Related Classes/Methods:

Data Schema and Validation

Handles data validation using Pydantic schemas.

Related Classes/Methods:

  • Pydantic.GenomeFile
  • Pydantic.GenomeMetadata
  • Pydantic.YamlGeneModel
  • Pydantic.YamlGeneCollection

File and Data Integrity Checkers

Ensures the validity and integrity of files and data.

Related Classes/Methods:

  • GenomeFile.checksum_validation
  • globber

GTF Entry Generation

Converts YAML gene models into GTF format.

Related Classes/Methods:

Error Handling and Logging

Manages error reporting and system logging.

Related Classes/Methods:

  • logging
  • logging.logger.info
  • logging.logger.exception

Configuration Management

Handles loading and interpreting system configuration.

Related Classes/Methods: