How labgem/ppanggolin works
PPanGGOLiN creates and analyzes prokaryotic pangenomes, principally through a workflow that turns genome sequences or annotations into gene families, a neighborhood graph, and statistical partitions, then predicts RGPs, insertion spots, and conserved modules. The resulting pangenome can be persisted and reused for exports, visualization, and further analyses. Workflow capabilities and several module relationships are documented in the README or SOURCE INDEX; unsampled implementation details are not used to infer additional call paths.
Main entry points: main.py Command interface · all.py Complete workflow · pangenome.py Pangenome model · projection.py Pangenome projection
Components 23
Pangenome analysis
- Command interface
ppanggolin/main.py - Complete workflow
ppanggolin/workflow/all.py - Genome annotation
ppanggolin/annotate/annotate.py - Gene clustering
ppanggolin/cluster/cluster.py - Neighborhood graph
ppanggolin/graph/makeGraph.py - Statistical partitioning
ppanggolin/nem/partition.py
Pangenome model
- Pangenome model
ppanggolin/pangenome.py - Genome features
ppanggolin/genome.py - Gene families
ppanggolin/geneFamily.py
Additional analyses
- RGP prediction
ppanggolin/RGP/genomicIsland.py - Insertion spots
ppanggolin/RGP/spot.py - Conserved modules
ppanggolin/mod/module.py - Pangenome projection
ppanggolin/projection/projection.py - Sequence alignment
ppanggolin/align/alignOnPang.py - Gene context search
ppanggolin/context/searchGeneContext.py - Pangenome metrics
ppanggolin/metrics/metrics.py
Persistence and outputs
- HDF5 pangenome
ppanggolin/formats/writeBinaries.py - Pangenome loading
ppanggolin/formats/readBinaries.py - Flat-file export
ppanggolin/formats/writeFlatPangenome.py - Genome export
ppanggolin/formats/writeFlatGenomes.py - Sequence export
ppanggolin/formats/writeSequences.py - Pangenome figures
ppanggolin/figures/drawing.py
Other components
- Researcher
Connections 31
- Researcher → Command interface: runs commands
README.md - Command interface → Complete workflow: dispatches workflow
ppanggolin/main.py - Complete workflow → Genome annotation: invokes annotation
ppanggolin/workflow/all.py - Complete workflow → Gene clustering: invokes clustering
ppanggolin/workflow/all.py - Complete workflow → Neighborhood graph: builds graph
ppanggolin/workflow/all.py - Complete workflow → Statistical partitioning: partitions families
ppanggolin/workflow/all.py - Complete workflow → RGP prediction: predicts RGPs
ppanggolin/workflow/all.py - Complete workflow → Insertion spots: predicts spots
ppanggolin/workflow/all.py - Complete workflow → Conserved modules: predicts modules
README.md - Genome annotation → Genome features: creates features
ppanggolin/annotate/annotate.py - Gene clustering → Gene families: forms families
ppanggolin/cluster/cluster.py - Neighborhood graph → Pangenome model: adds graph edges
ppanggolin/graph/makeGraph.py - Statistical partitioning → Gene families: assigns partitions
ppanggolin/nem/partition.py - RGP prediction → Pangenome model: reads pangenome
ppanggolin/RGP/genomicIsland.py - Insertion spots → Pangenome model: reads pangenome
ppanggolin/RGP/spot.py - Conserved modules → Pangenome model: reads pangenome
ppanggolin/mod/module.py - Complete workflow → HDF5 pangenome: writes results
ppanggolin/workflow/all.py - HDF5 pangenome → Pangenome loading: loads saved data
ppanggolin/formats/readBinaries.py - Pangenome loading → Pangenome model: populates model
ppanggolin/formats/readBinaries.py - Command interface → Pangenome projection: dispatches projection
ppanggolin/main.py - Pangenome projection → Genome annotation: reuses annotation
ppanggolin/projection/projection.py - Pangenome projection → Sequence alignment: reuses alignment
ppanggolin/projection/projection.py - Command interface → Gene context search: dispatches search
ppanggolin/main.py - Gene context search → Sequence alignment: uses alignment
ppanggolin/context/searchGeneContext.py - Command interface → Pangenome metrics: dispatches metrics
ppanggolin/main.py - Pangenome metrics → Pangenome model: analyzes pangenome
ppanggolin/metrics/metrics.py - Command interface → Flat-file export: dispatches export
ppanggolin/main.py - Flat-file export → Pangenome loading: loads source data
ppanggolin/formats/writeFlatPangenome.py - Command interface → Genome export: dispatches export
ppanggolin/main.py - Command interface → Sequence export: dispatches export
ppanggolin/main.py - Command interface → Pangenome figures: dispatches drawing
ppanggolin/main.py