# cebolalab/rna-seq architecture

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

- Interactive diagram: https://gitdiagram.com/cebolalab/rna-seq
- Repository: https://github.com/cebolalab/rna-seq

## Overview

This repository documents an Illumina RNA-seq analysis workflow, from read quality checks through alignment, quantification, and differential expression, with QC tracking and visualization as supporting branches. The README excerpt documents pre-alignment QC and alignment in detail and names later stages in its table of contents; those later-stage links are included only at that documented level. No source excerpts were provided, so implementation-level relationships cannot be verified.

Main entry points: [`README.md`](https://github.com/cebolalab/rna-seq/blob/master/README.md) (Pre-alignment QC), [`tx2gene_gencodev36-unique.txt`](https://github.com/cebolalab/rna-seq/blob/master/tx2gene_gencodev36-unique.txt) (Transcript-to-gene map), [`QC-RNA-seq-LSECs.xlsx`](https://github.com/cebolalab/rna-seq/blob/master/QC-RNA-seq-LSECs.xlsx) (QC metrics workbook)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_qc["Read quality control"]
  node_preqc["Pre-alignment QC<br/>[README.md]"]
  node_fastqc["FastQC reports<br/>[README.md]"]
  node_fastp["Read trimming<br/>[README.md]"]
  node_multiqc["MultiQC summary<br/>[README.md]"]
  node_qcbook["QC metrics workbook"]
end

subgraph group_alignment["Reference alignment"]
  node_reference["Reference genome and annotation"]
  node_indexing["Genome indexing<br/>[README.md]"]
  node_star["STAR alignment<br/>[README.md]"]
  node_alignments["Genome and transcriptome alignments<br/>[README.md]"]
  node_postqc["Post-alignment QC<br/>[README.md]"]
end

subgraph group_quant["Quantification"]
  node_salmon["Transcript quantification<br/>[README.md]"]
  node_tx2gene["Transcript-to-gene map"]
end

subgraph group_analysis["Analysis and visualization"]
  node_tracks["Genome track visualization<br/>[README.md]"]
  node_dge["Differential expression<br/>[README.md]"]
  node_plots["Result visualization<br/>[README.md]"]
end

node_analyst(("Analyst"))
node_reads["Illumina reads"]

node_analyst -->|"runs workflow"| node_preqc
node_reads -->|"checks quality"| node_preqc
node_preqc -->|"generates reports"| node_fastqc
node_preqc -->|"trims reads"| node_fastp
node_preqc -->|"summarizes reports"| node_multiqc
node_preqc -->|"records metrics"| node_qcbook
node_fastp -->|"checks trimmed reads"| node_fastqc
node_analyst -->|"indexes reference"| node_indexing
node_reference -->|"provides inputs"| node_indexing
node_analyst -->|"runs alignment"| node_star
node_indexing -->|"provides genome index"| node_star
node_fastp -->|"provides trimmed reads"| node_star
node_star -->|"outputs alignments"| node_alignments
node_alignments -.->|"supports QC"| node_postqc
node_alignments -->|"supports quantification"| node_salmon
node_alignments -.->|"visualizes tracks"| node_tracks
node_salmon -.->|"provides quantification"| node_dge
node_tx2gene -.->|"maps transcripts"| node_dge
node_dge -.->|"visualizes results"| node_plots

click node_preqc "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_fastqc "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_fastp "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_multiqc "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_qcbook "https://github.com/cebolalab/rna-seq/blob/master/QC-RNA-seq-LSECs.xlsx"
click node_indexing "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_star "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_alignments "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_postqc "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_tracks "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_salmon "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_tx2gene "https://github.com/cebolalab/rna-seq/blob/master/tx2gene_gencodev36-unique.txt"
click node_dge "https://github.com/cebolalab/rna-seq/blob/master/README.md"
click node_plots "https://github.com/cebolalab/rna-seq/blob/master/README.md"

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_preqc,node_fastqc,node_fastp,node_multiqc,node_qcbook toneBlue
class node_reference,node_indexing,node_star,node_alignments,node_postqc toneAmber
class node_salmon,node_tx2gene toneMint
class node_tracks,node_dge,node_plots toneRose
class node_analyst,node_reads toneIndigo
```

## Components

### Read quality control

- [Pre-alignment QC](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [FastQC reports](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [Read trimming](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [MultiQC summary](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [QC metrics workbook](https://github.com/cebolalab/rna-seq/blob/master/QC-RNA-seq-LSECs.xlsx): `QC-RNA-seq-LSECs.xlsx`

### Reference alignment

- **Reference genome and annotation**
- [Genome indexing](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [STAR alignment](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [Genome and transcriptome alignments](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [Post-alignment QC](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`

### Quantification

- [Transcript quantification](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [Transcript-to-gene map](https://github.com/cebolalab/rna-seq/blob/master/tx2gene_gencodev36-unique.txt): `tx2gene_gencodev36-unique.txt`

### Analysis and visualization

- [Genome track visualization](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [Differential expression](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`
- [Result visualization](https://github.com/cebolalab/rna-seq/blob/master/README.md): `README.md`

### Other components

- **Analyst**
- **Illumina reads**

## Connections

- Analyst → Pre-alignment QC: runs workflow (evidence: `README.md`)
- Illumina reads → Pre-alignment QC: checks quality (evidence: `README.md`)
- Pre-alignment QC → FastQC reports: generates reports (evidence: `README.md`)
- Pre-alignment QC → Read trimming: trims reads (evidence: `README.md`)
- Pre-alignment QC → MultiQC summary: summarizes reports (evidence: `README.md`)
- Pre-alignment QC → QC metrics workbook: records metrics (evidence: `README.md`)
- Read trimming → FastQC reports: checks trimmed reads (evidence: `README.md`)
- Analyst → Genome indexing: indexes reference (evidence: `README.md`)
- Reference genome and annotation → Genome indexing: provides inputs (evidence: `README.md`)
- Analyst → STAR alignment: runs alignment (evidence: `README.md`)
- Genome indexing → STAR alignment: provides genome index (evidence: `README.md`)
- Read trimming → STAR alignment: provides trimmed reads (evidence: `README.md`)
- STAR alignment → Genome and transcriptome alignments: outputs alignments (evidence: `README.md`)
- Genome and transcriptome alignments → Post-alignment QC: supports QC
- Genome and transcriptome alignments → Transcript quantification: supports quantification (evidence: `README.md`)
- Genome and transcriptome alignments → Genome track visualization: visualizes tracks
- Transcript quantification → Differential expression: provides quantification
- Transcript-to-gene map → Differential expression: maps transcripts
- Differential expression → Result visualization: visualizes results
