Architecture
System Overview
flowchart TB
subgraph Python["🐍 Python Layer"]
CLI[CLI<br/>cli.py] --> Pipeline[Orchestration<br/>pipeline.py]
Pipeline --> Reader[Input Adapters<br/>VcfReader, MafReader]
Pipeline --> Writer[Output Writers<br/>VcfWriter, MafWriter]
end
subgraph Rust["🦀 Rust Layer (gbcms._rs)"]
Counter[count_bam<br/>counting.rs] --> CIGAR[CIGAR Parser]
Counter --> Stats[Strand Bias<br/>stats.rs]
end
Pipeline -->|"PyO3"| Counter
Counter -->|"BaseCounts"| Pipeline
style Python fill:#3776ab,color:#fff
style Rust fill:#dea584,color:#000Data Flow
Coordinate System
Format
System
Example
Formulas
Variant Allele Frequency (VAF)
Strand Bias (Fisher's Exact Test)
Module Structure
Configuration
Last updated