duckseq rebuilds genomics tools from standard formats, DuckDB SQL over DuckHTS readers and, where SQL is not enough, a small native kernel. Each demo checks its output against the original and reports where the original still wins.
Site and reports: https://rgenomicsetl.github.io/duckseq/
For each demo, standard files go through readers and SQL to outputs. peakwhere reads GFF3, GTF and BED with DuckHTS; AIE reads BAM and GTF; LDZip reads PLINK 2 text with read_csv.Each result holds for the workload and machine in its report.
| Demo | Original | Established | Not established |
|---|---|---|---|
| peakwhere (report) | peakwhere, PeakPeek; ChIPseeker for timing | 7,220 mouse peaks: output matches a base-R oracle exactly. 0.37 s against ChIPseeker’s 2.78 s, and 335 against 1,198 MiB. | Not an equal-output speedup: ChIPseeker has different category rules and also finds the nearest transcript. On the larger workload DuckDB is faster but uses more memory, and the oracle timed out. No mutation checks or 1×/2×/4× ladder. |
| AIE | Gravlax AIE 0.2.3 | Region and junction counts with overlap families, checked by an independent oracle and five mutants. 4M real PBMC records at four threads: prepared in 4.30 s against 5.23 s. | Not an equal-output speedup: the counts mean different things. Gravlax wins at one thread (8.53 s against 10.03 s), on memory (half) and on size (6.9 against 144 MiB). No whole-cohort or multimapper run. |
| LDZip | LDZip, LDZipMatrix | Exact 8-bit and 16-bit matrices on nested chr20 regions, six mutation checks, and keys that accept the CHROM:POS IDs LDZip rejects. |
Not an equal-output speedup: LDZip wins dense extraction (107 ms against 189 ms) and builds with 20 to 35 times less memory. Pair timings need a corrected rerun. No compressed LDZip reader on DuckDB, no full-chromosome run. |
A demo is complete when it has exact parity on the original’s own data, mutation checks, 1×/2×/4× measurements with budgets declared first, and a table of where the original still wins. Not every demo has all four yet: see the column above.
peakwhere analysis time on W1 and W2, DuckDB against ChIPseeker AIE preparation time on real 1M, 2M and 4M PBMC inputs at four threads, SQL against Gravlax LDZip dense 16-bit matrix construction on one thread: built-in SQL, DuckTinyCC and LDZippeakwhere runs in the browser, and files stay on your computer:
cd demos/peakwhere
npm ci
npm run stage && npm run stage:peek && npm run vendor
npm run serve
npm testAIE needs Rust, R, samtools, jq, curl and unzip:
cd demos/aie
./setup.sh
./test.sh
./mutation_test.sh
./check_evidence.sh
./prepare_evidence.sh /path/to/input.bam work/input.duckdb sample UR 4LDZip needs R, a C++ toolchain, make, curl and unzip:
cd demos/ldzip
./setup.sh --no-data
./test.shGPL-2.0-or-later. demos/peakwhere keeps its MIT licence. Gravlax is
BSD-3-Clause and is built from its pinned source, not vendored.