How comprna/suppa works
SUPPA is a command-line toolkit for alternative-splicing analysis. Its main workflow generates transcript or local-splicing event definitions from GTF annotations, computes PSI from transcript abundances, tests differential splicing or transcript usage across conditions, and can cluster significant events by PSI patterns. The repository also provides transcript-level PSI and expression-file merging. The graph follows the documented modular commands and sampled call/import evidence; some internal wiring and unsampled implementations are represented only where the README or SOURCE INDEX supports them.
Main entry points: suppa.py SUPPA CLI · eventGenerator.py Event generator · psiCalculator.py Event PSI calculator · psiPerGene.py Transcript PSI calculator
Components 16
Command entry
- SUPPA CLI
suppa.py - Expression merger
fileMerger.py
Event generation
- Event generator
eventGenerator.py - GTF genome store
lib/gtf_store.py - Splicing event models
lib/event.py - Variable-boundary events
lib/var_event.py
PSI quantification
- Input parsers
lib/tools.py - Event PSI calculator
psiCalculator.py - Transcript PSI calculator
psiPerGene.py
Differential analysis
- Significance calculator
significanceCalculator.py - Differential statistics
lib/diff_tools.py
Clustering and utilities
- Event clusterer
eventClusterer.py - Cluster analysis
lib/cluster_tools.py - OPTICS implementation
lib/optics.py - Field selection
multipleFieldSelection.py
Other components
- Analyst
Connections 19
- Analyst → SUPPA CLI: runs commands
README.md - SUPPA CLI → Event generator: dispatches generation
suppa.py - SUPPA CLI → Event PSI calculator: dispatches event PSI
suppa.py - SUPPA CLI → Transcript PSI calculator: dispatches transcript PSI
suppa.py - SUPPA CLI → Significance calculator: dispatches testing
suppa.py - SUPPA CLI → Event clusterer: dispatches clustering
suppa.py - SUPPA CLI → Expression merger: dispatches merging
suppa.py - Event generator → GTF genome store: loads annotation
eventGenerator.py - Event generator → Splicing event models: constructs events
eventGenerator.py - Event generator → Variable-boundary events: uses variable models
- Event generator → Input parsers: uses utilities
eventGenerator.py - Event PSI calculator → Input parsers: reads input formats
psiCalculator.py - Transcript PSI calculator → GTF genome store: loads annotation
psiPerGene.py - Transcript PSI calculator → Input parsers: reads expression
psiPerGene.py - Event PSI calculator → Significance calculator: provides PSI inputs
README.md - Significance calculator → Differential statistics: calculates statistics
significanceCalculator.py - Event clusterer → Cluster analysis: runs clustering
eventClusterer.py - Cluster analysis → OPTICS implementation: uses OPTICS
lib/cluster_tools.py - Field selection → Expression merger: selects fields