# DotMatch Documentation ![Cinematic DotMatch workflow: sequencing reads flow through a precise known-target matching gate into count matrices, demultiplexed barcode lanes, QC panels, and visible ambiguity diagnostics.](_static/dotmatch-header-cinematic.png) DotMatch is a deterministic command-line and Python toolkit for known-target short-DNA assignment. It is designed for computational biologists and bioinformaticians who already have a table of expected sequences and need to count, demultiplex, audit, or diagnose reads without hiding ambiguous cases. Use DotMatch when the biological question is: > Which known guide, barcode, primer, feature tag, adapter, or panel target did > this read contain? DotMatch is intentionally narrower than a genome aligner, basecaller, UMI pipeline, or screen-level statistics package. It works on extracted short windows and known target lists. That narrow scope is what makes its assignment contract easy to inspect: each read is reported as `unique`, `ambiguous`, `none`, or `invalid`. Evidence boundary: performance statements are scoped to the benchmark reports and readiness gates in [DotMatch Evidence Notes](scientific-claims.md). The strongest current evidence is native fixed-window indexed assignment, public CRISPR guide-counting comparisons, and checked public inline-barcode lanes; broader alignment, demultiplexing, screen-analysis, or BCL replacement claims need their own gates before they are public claims. ## Start Here - New evaluators should begin with [Getting Started](getting-started.md). - Use [Command Reference](command-reference.md) when choosing the right namespace or compatibility entrypoint. - CRISPR teams can follow the [first-run CRISPR guide-counting tutorial](tutorials/crispr-count-first-run.md). - Labs evaluating scientific claims should read [Trust, Scope, and Evidence](trust-and-scope.md). - Workflow and pipeline authors should use the [public output schemas](schemas.md). - Bioinformatics teams evaluating package maturity, workflow fit, and current public limitations should read the [Bioinformatics Evaluation Packet](bioinformatics-evaluation.md). - External reviewers should use the [External Review Packet](external-review-packet.md), the [Integration Target Tracker](integration-targets.json), and the [DotMatch Evaluation Protocol](pilot-program.md) for a structured technical review. - Maintainers can verify these reviewer materials with `make reviewer-readiness-ready`, which checks the [Reviewer Readiness Record](reviewer-readiness.json). - Industry evaluators and maintainers should use the [Workflow Integration Kit](workflow-integration-kit.md) to route citations, evaluations, and workflow submissions. - Maintainers pushing the next adoption layer should use the [Workflow Integration Roadmap](workflow-integration-roadmap.md) and the checked `workflow-integration-plan.json` tracker. - Teams evaluating the open-core boundary should read [Commercial Boundary](commercial-boundary.md) and [Evidence Packet v1](evidence-packet-v1.md). ## Core Ideas DotMatch compares a fixed read window with a known target table under explicit edit-distance rules. By default, a read is counted only when exactly one target falls inside the configured radius. If several targets are compatible, the read is reported as ambiguous rather than assigned by accident. This behavior matters in real assays. Unsafe one-mismatch correction, shifted barcode positions, duplicate targets, low-quality rescued bases, and ambiguous near-neighbors can all create plausible but wrong counts. DotMatch makes those states visible in TSV, JSON, and HTML reports so results can be reviewed by people and consumed by workflow systems. ```{toctree} :maxdepth: 2 :caption: User Guide getting-started command-reference tutorials/crispr-count-first-run tutorials/scverse-perturb-seq streaming-api assayspec crispr-qc barcode-panel-design workbench proposals-and-roadmap ``` ```{toctree} :maxdepth: 2 :caption: Reference schemas methods-and-citation citation-flywheel bioinformatics-evaluation external-review-packet pilot-program workflow-integration-kit workflow-integration-roadmap packaging release-process workflow-submissions resubmission-evidence commercial-boundary evidence-packet-v1 ``` ```{toctree} :maxdepth: 2 :caption: Evidence and Boundaries trust-and-scope scientific-claims barcode-science-readiness usability-comparison native-comparator-scope benchmarks/README evidence-gallery/README ``` ```{toctree} :maxdepth: 1 :caption: Detailed Reports :hidden: benchmarks/amplicon_panel/README benchmarks/barcode_demux/README benchmarks/barcode_panel_design/README benchmarks/bcl_demux/README benchmarks/crispr_comparison/README benchmarks/feature_barcode/README benchmarks/gpu/README benchmarks/gpu/production_crispr_cpu_metal benchmarks/performance-improvements-2026-07-05 benchmarks/native/README benchmarks/oligo_adapter/README benchmarks/perturb_seq/README benchmarks/public_crispr/README benchmarks/real/README evidence-gallery/report-zoo/README evidence-gallery/scenarios/amplicon_artic_primer_start evidence-gallery/scenarios/barcode_autopsy_review evidence-gallery/scenarios/barcode_srp009896_comparator evidence-gallery/scenarios/barcode_unsafe_correction evidence-gallery/scenarios/barcode_wrong_offset_fixture evidence-gallery/scenarios/bcl_tiny_classic evidence-gallery/scenarios/feature_barcode_10x evidence-gallery/scenarios/oligo_adapter_truseq_prefix evidence-gallery/scenarios/perturb_seq_10x_guide_capture evidence-gallery/scenarios/public_crispr_yusa evidence-gallery/snapshots/barcode_autopsy/report adopters/README adopters/record-template ```