# crakshay1/gliometal architecture

> Architecture diagram of the GitHub repository crakshay1/gliometal, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/crakshay1/gliometal
- Repository: https://github.com/crakshay1/gliometal

## Overview

This repository is a bioinformatics preprocessing and quality-control workflow for gene and transcript expression data. A user selects a data directory; the Python entry point runs metadata, matrix-integrity, and quantification checks, then invokes R filtering, normalization, and descriptive analysis, copying selected inputs into the normalization stage. The graph follows those documented calls and data handoffs. R scripts are present in the tree but were not sampled, so their internal behavior is not expanded.

Main entry points: [`Preprocess/preprocess.py`](https://github.com/crakshay1/gliometal/blob/main/Preprocess/preprocess.py) (Workflow runner), [`Preprocess/Normalization.r`](https://github.com/crakshay1/gliometal/blob/main/Preprocess/Normalization.r) (Expression normalization), [`Preprocess/Metadata.py`](https://github.com/crakshay1/gliometal/blob/main/Preprocess/Metadata.py) (Metadata QC), [`Preprocess/Integrity.py`](https://github.com/crakshay1/gliometal/blob/main/Preprocess/Integrity.py) (Matrix integrity)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_orchestration["Workflow orchestration"]
  node_runner["Workflow runner<br/>[preprocess.py]"]
end

subgraph group_qc["Quality control"]
  node_metadata["Metadata QC<br/>[Metadata.py]"]
  node_integrity["Matrix integrity<br/>[Integrity.py]"]
  node_quantqc["Quantification QC<br/>[Quantification.py]"]
end

subgraph group_analysis["Expression processing"]
  node_filter["Expression filtering<br/>[Filter.r]"]
  node_normalization["Expression normalization<br/>[Normalization.r]"]
  node_descriptive["Descriptive analysis<br/>[Desc.r]"]
end

node_user(("Data folder user"))

node_user -->|"selects folder"| node_runner
node_runner -->|"runs metadata QC"| node_metadata
node_runner -->|"runs integrity checks"| node_integrity
node_runner -->|"runs quantification QC"| node_quantqc
node_runner -->|"invokes R filter"| node_filter
node_runner -->|"invokes on filtered data"| node_normalization
node_runner -->|"invokes on normalized data"| node_descriptive
node_runner -->|"copies TPM and metadata"| node_normalization

click node_runner "https://github.com/crakshay1/gliometal/blob/main/Preprocess/preprocess.py"
click node_metadata "https://github.com/crakshay1/gliometal/blob/main/Preprocess/Metadata.py"
click node_integrity "https://github.com/crakshay1/gliometal/blob/main/Preprocess/Integrity.py"
click node_quantqc "https://github.com/crakshay1/gliometal/blob/main/Preprocess/Quantification.py"
click node_filter "https://github.com/crakshay1/gliometal/blob/main/Preprocess/Filter.r"
click node_normalization "https://github.com/crakshay1/gliometal/blob/main/Preprocess/Normalization.r"
click node_descriptive "https://github.com/crakshay1/gliometal/blob/main/Preprocess/Desc.r"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_runner,node_user toneBlue
class node_metadata,node_integrity,node_quantqc toneAmber
class node_filter,node_normalization,node_descriptive toneMint
```

## Components

### Workflow orchestration

- [Workflow runner](https://github.com/crakshay1/gliometal/blob/main/Preprocess/preprocess.py): `Preprocess/preprocess.py`

### Quality control

- [Metadata QC](https://github.com/crakshay1/gliometal/blob/main/Preprocess/Metadata.py): `Preprocess/Metadata.py`
- [Matrix integrity](https://github.com/crakshay1/gliometal/blob/main/Preprocess/Integrity.py): `Preprocess/Integrity.py`
- [Quantification QC](https://github.com/crakshay1/gliometal/blob/main/Preprocess/Quantification.py): `Preprocess/Quantification.py`

### Expression processing

- [Expression filtering](https://github.com/crakshay1/gliometal/blob/main/Preprocess/Filter.r): `Preprocess/Filter.r`
- [Expression normalization](https://github.com/crakshay1/gliometal/blob/main/Preprocess/Normalization.r): `Preprocess/Normalization.r`
- [Descriptive analysis](https://github.com/crakshay1/gliometal/blob/main/Preprocess/Desc.r): `Preprocess/Desc.r`

### Other components

- **Data folder user**

## Connections

- Data folder user → Workflow runner: selects folder (evidence: `Preprocess/preprocess.py`)
- Workflow runner → Metadata QC: runs metadata QC (evidence: `Preprocess/preprocess.py`)
- Workflow runner → Matrix integrity: runs integrity checks (evidence: `Preprocess/preprocess.py`)
- Workflow runner → Quantification QC: runs quantification QC (evidence: `Preprocess/preprocess.py`)
- Workflow runner → Expression filtering: invokes R filter (evidence: `Preprocess/preprocess.py`)
- Workflow runner → Expression normalization: invokes on filtered data (evidence: `Preprocess/preprocess.py`)
- Workflow runner → Descriptive analysis: invokes on normalized data (evidence: `Preprocess/preprocess.py`)
- Workflow runner → Expression normalization: copies TPM and metadata (evidence: `Preprocess/preprocess.py`)
