How kojix2/meru works
meru is a small Crystal CLI for exploratory k-mer profiling. The documented workflow accepts FASTQ or FASTA input, counts k-mers, and produces a depth histogram, pair/smudge analysis, signals, and summary files. The graph preserves those documented stages and the corresponding source modules, plus configuration and sequence/DNA support. The README documents capabilities and outputs but no source excerpts were provided, so internal call ownership and the precise module-to-module flow cannot be verified; those relationships are shown only as unverified dashed edges.
Main entry points: cli.cr CLI · counter.cr K-mer Counter · sequence.cr Sequence Input · histogram.cr Depth Histogram
Components 15
CLI and Configuration
- CLI
src/meru/cli.cr - Configuration
src/meru/config.cr - Meru Runtime
src/meru.cr
Input and Counting
- Sequence Input
src/meru/sequence.cr - DNA Handling
src/meru/dna.cr - K-mer Counter
src/meru/counter.cr
K-mer Analysis
- K-mer Operations
src/meru/kmer.cr - Depth Histogram
src/meru/histogram.cr - Pair Extraction
src/meru/pairs.cr - Smudge Analysis
src/meru/smudge.cr - Signals
src/meru/signals.cr
Reports and Plots
- Terminal Plot
src/meru/plot.cr - Summary Output
src/meru/summary.cr - Profile Files
Other components
- User
Connections 17
- User → CLI: runs
README.md - CLI → Sequence Input: accepts reads
- Sequence Input → K-mer Counter: feeds sequences
- K-mer Counter → Depth Histogram: profiles counts
- K-mer Counter → Pair Extraction: extracts pairs
- Pair Extraction → Smudge Analysis: supports analysis
- CLI → Signals: produces signals
- Depth Histogram → Terminal Plot: renders histogram
- CLI → Summary Output: writes summary
- Depth Histogram → Profile Files: writes histogram
- Smudge Analysis → Profile Files: writes smudge data
- Signals → Profile Files: writes signals
- Summary Output → Profile Files: writes summary
- CLI → Configuration: uses options
- Meru Runtime → CLI: exposes CLI
- Sequence Input → DNA Handling: uses DNA handling
- K-mer Counter → K-mer Operations: uses k-mer operations