# mchaudhary22/3utr-pipeline architecture

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

- Interactive diagram: https://gitdiagram.com/mchaudhary22/3utr-pipeline
- Repository: https://github.com/mchaudhary22/3utr-pipeline

## Overview

3utr-pipeline is a command-line workflow for improving single-cell RNA-seq 3′ UTR quantification. Users provide SRR reads, a genome, and an annotation; the pipeline runs initial quantification, builds a CDS-only reference, assembles transcripts, and performs final quantification with the improved reference. The README documents the stages and outputs, but the shell scripts were not excerpted, so their internal calls and data handling cannot be verified.

Main entry points: [`docker/run_pipeline.sh`](https://github.com/mchaudhary22/3utr-pipeline/blob/main/docker/run_pipeline.sh) (Pipeline runner), [`docker`](https://github.com/mchaudhary22/3utr-pipeline/tree/main/docker) (CDS-only reference)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_workflow["Analysis workflow"]
  node_runner["Pipeline runner<br/>[run_pipeline.sh]"]
  node_initial["Initial count"]
  node_cds["CDS-only reference"]
  node_assembly["Transcript assembly"]
  node_final["Final quantification"]
end

subgraph group_tools["Analysis tools"]
  node_cellranger["Cell Ranger"]
  node_stringtie["StringTie"]
end

subgraph group_results["Inputs and outputs"]
  node_inputs["Reads and reference"]
  node_outputs["Sample results"]
end

node_user(("Researcher"))

node_user -->|"runs"| node_runner
node_user -->|"provides"| node_inputs
node_runner -->|"starts"| node_initial
node_runner -->|"runs"| node_cds
node_runner -->|"runs"| node_assembly
node_runner -->|"runs"| node_final
node_initial -->|"quantifies with"| node_cellranger
node_cds -->|"creates reference with"| node_cellranger
node_assembly -->|"assembles with"| node_stringtie
node_final -->|"quantifies with"| node_cellranger
node_initial -->|"precedes"| node_cds
node_cds -->|"precedes"| node_assembly
node_assembly -->|"precedes"| node_final
node_final -->|"produces"| node_outputs

click node_runner "https://github.com/mchaudhary22/3utr-pipeline/blob/main/docker/run_pipeline.sh"
click node_initial "https://github.com/mchaudhary22/3utr-pipeline/tree/main/docker"
click node_cds "https://github.com/mchaudhary22/3utr-pipeline/tree/main/docker"
click node_assembly "https://github.com/mchaudhary22/3utr-pipeline/tree/main/docker"
click node_final "https://github.com/mchaudhary22/3utr-pipeline/tree/main/docker"

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_initial,node_cds,node_assembly,node_final toneBlue
class node_cellranger,node_stringtie toneAmber
class node_inputs,node_outputs toneMint
class node_user toneIndigo
```

## Components

### Analysis workflow

- [Pipeline runner](https://github.com/mchaudhary22/3utr-pipeline/blob/main/docker/run_pipeline.sh): `docker/run_pipeline.sh`
- [Initial count](https://github.com/mchaudhary22/3utr-pipeline/tree/main/docker): `docker`
- [CDS-only reference](https://github.com/mchaudhary22/3utr-pipeline/tree/main/docker): `docker`
- [Transcript assembly](https://github.com/mchaudhary22/3utr-pipeline/tree/main/docker): `docker`
- [Final quantification](https://github.com/mchaudhary22/3utr-pipeline/tree/main/docker): `docker`

### Analysis tools

- **Cell Ranger**
- **StringTie**

### Inputs and outputs

- **Reads and reference**
- **Sample results**

### Other components

- **Researcher**

## Connections

- Researcher → Pipeline runner: runs (evidence: `README.md`)
- Researcher → Reads and reference: provides (evidence: `README.md`)
- Pipeline runner → Initial count: starts (evidence: `README.md`)
- Pipeline runner → CDS-only reference: runs (evidence: `README.md`)
- Pipeline runner → Transcript assembly: runs (evidence: `README.md`)
- Pipeline runner → Final quantification: runs (evidence: `README.md`)
- Initial count → Cell Ranger: quantifies with (evidence: `README.md`)
- CDS-only reference → Cell Ranger: creates reference with (evidence: `README.md`)
- Transcript assembly → StringTie: assembles with (evidence: `README.md`)
- Final quantification → Cell Ranger: quantifies with (evidence: `README.md`)
- Initial count → CDS-only reference: precedes (evidence: `README.md`)
- CDS-only reference → Transcript assembly: precedes (evidence: `README.md`)
- Transcript assembly → Final quantification: precedes (evidence: `README.md`)
- Final quantification → Sample results: produces (evidence: `README.md`)
