How roche-axelios/xoos works
XOOS is a bioinformatics secondary-analysis suite for SBX sequencing data. The documented user workflow runs demultiplexing and adapter trimming, read collapsing and alignment metrics, then variant and copy-number analysis; supported profiles also include repeat expansions and cfDNA reporting. The graph preserves those domain stages and the demultiplexing and alignment-metrics internals visible in excerpts. Most caller internals and the full pipeline wiring were not sampled, so broad workflow links rely on the README rather than implying inspected implementation details.
Main entry points: src Small variant calling · demux-and-trim-pipeline.cpp Demux and trim · alignment-metrics.cpp Metrics CLI · metrics-worker.cpp Alignment worker
Components 21
Pipeline orchestration
- Pipeline launcher
pipeline_launcher/src/pipeline_launcher/cli.py
Read processing
- Demux CLI
demux/apps/demux.cpp - Demux and trim
demux/src/core/demux-and-trim-pipeline.cpp - Flow manager
demux/src/task/flow-manager.cpp - Strand index build
demux/src/demux-strand-index/demux-strand-build-pipeline.cpp - Read collapsing
read_collapser/src/clustering/clustering.cpp
Alignment metrics
- Metrics CLI
alignment_metrics/apps/alignment-metrics.cpp - Metrics runner
alignment_metrics/src/run-alignment-metrics.cpp - Alignment worker
alignment_metrics/src/metrics-worker.cpp - Alignment pileups
alignment_metrics/src/core/pileup.cpp - Coverage metrics
alignment_metrics/src/metrics/coverage-metrics/coverage-histograms.cpp - Accuracy metrics
alignment_metrics/src/metrics/accuracy-metrics/accuracy-metrics.cpp
Variant analysis
- Small variant calling
small_variant_caller/src - Read-based phasing
small_variant_caller/src/phaser/phase-engine.cpp - Pangenome consensus
pangenome_consensus_caller/src/pangenome-consensus-caller-core.cpp - Repeat expansions
small_variant_caller/src
Copy number analysis
- Copy-number calling
copy_number_caller/src - Coverage calculation
copy_number_caller/src/coverage/calculate-coverage.cpp - Purity-ploidy search
copy_number_caller/src/purity-ploidy-search/purity-ploidy-search.cpp
Other components
- Research user
- Analysis results
Connections 25
- Research user → Pipeline launcher: launches
- Research user → Demux CLI: runs tool
- Pipeline launcher → Demux and trim: orchestrates
- Demux CLI → Demux and trim: starts
- Demux and trim → Flow manager: initializes
demux/src/core/demux-and-trim-pipeline.cpp - Flow manager → Analysis results: writes reads and metrics
- Strand index build → Demux and trim: supports indexing
- Demux and trim → Read collapsing: produces reads for
- Read collapsing → Metrics CLI: feeds analysis
- Metrics CLI → Metrics runner: starts
- Metrics runner → Alignment worker: dispatches regions
- Alignment worker → Alignment pileups: updates
alignment_metrics/src/metrics-worker.cpp - Alignment worker → Coverage metrics: aggregates coverage
- Alignment worker → Accuracy metrics: computes accuracy
- Metrics CLI → Small variant calling: precedes calling
- Small variant calling → Read-based phasing: phases reads
small_variant_caller/src/phaser/phase-engine.cpp - Small variant calling → Pangenome consensus: supports consensus
- Small variant calling → Repeat expansions: supports profile
- Metrics CLI → Copy-number calling: precedes calling
- Copy-number calling → Coverage calculation: calculates coverage
copy_number_caller/src/coverage/calculate-coverage.cpp - Copy-number calling → Purity-ploidy search: searches purity and ploidy
copy_number_caller/src/purity-ploidy-search/purity-ploidy-search.cpp - Small variant calling → Analysis results: reports variants
- Copy-number calling → Analysis results: reports copy number
- Pangenome consensus → Analysis results: reports consensus
- Repeat expansions → Analysis results: reports expansions