CRISPR guide counting and barcode assignment you can audit

DotMatch matches a fixed window from every FASTQ read against your known target library locally on Linux and macOS. Export MAGeCK-ready count tables or split FASTQs while keeping ambiguous, unmatched, and invalid reads visible.

Apache-2.0Linux and macOSRuns locally (no uploads)

Read matcherHamming k=1 (radius)
Observed read windowCGCATGCATGCATGCATGCA
1 compatible target
uniqueguide_C

Matches one target within one substitution, adding one count to that target.

Synthetic fixture verified against the native matcher. Inspect inputs and tests

Install DotMatch

Published CLI 0.8.0 · Conda, containers, and source builds

python3 -m pip install dotmatch==0.8.0

Faster one-mismatch counting, identical counts

In paired benchmarks on the source checkout, dotmatch guide-counter count matched unmodified guide-counter 0.1.3 across full guide-by-sample count matrices on controlled 100k-read and 1M-read FASTQs against the 87,437-guide Yusa library (one or four samples).

Faster complete commands
1.6–5.5×
Lower peak memory
11.3–14.4×
Guide/sample count differences
0

Five paired repeats on one CPU thread. guide-counter is faster in the tested exact-mode 1M-read cases; full experimental-screen performance and biological accuracy require separate validation.

Why mapped-read totals hide count shifts

In this nine-read synthetic fixture, exact matching and radius-one matching both produce three unique assignments, yet they disagree on individual guide counts.

Synthetic fixture (9 reads, 5 target IDs)
Matching ruleUniqueAmbiguousUnmatched
Exact314
One target within k=1341
Nearest target, k=1521

One additional read has an invalid window under every policy, and 5 reads change outcome across policies. Calculated with the native matcher to demonstrate assignment behavior rather than biological accuracy.

How a counting run works

  1. Confirm library and read window

    Provide your guide or barcode table alongside FASTQ files, and review the inferred window and orientation before counting.

    Follow the first-run tutorial
  2. Assign reads under explicit rules

    Run exact, Hamming, or Levenshtein matching while keeping ambiguous and unmatched reads out of target counts.

    Compare matching policies
  3. Export counts and a portable QC bundle

    Pass MAGeCK-ready counts to downstream statistics, and archive config, QC, and SHA-256 provenance without copying raw FASTQs.

    Inspect the handoff workflow

Where DotMatch fits

Pooled CRISPR screens

Count known guides, review assignment QC, and export a MAGeCK-compatible guide-by-sample matrix.

CRISPR counting

Inline barcodes and sequencing cores

Split pooled FASTQs by inline barcode and run barcode autopsy to diagnose shifted offsets or unsafe correction.

Barcode diagnostics

Feature and guide capture

Assign known feature tags and build sparse cell-by-feature matrices from extracted observations with cell IDs.

Feature-matrix workflow

Benchmarks and reproducible examples

Reproduce public comparisons, inspect count differences, and check DotMatch alongside your existing pipeline.

Yusa and Brunello CRISPR data

Paired comparisons against MAGeCK, guide-counter, and reference matchers reporting runtime, memory, parameters, and count differences together.

Read the results

GSE146194 direct-guide capture

Public benchmark separating discovery and evaluation reads to check per-read guide assignment (separate from full single-cell analysis).

Reproduce the case study

Nine-read sensitivity fixture

Checked fixture exercising close targets, duplicate IDs, a literal N, an unmatched read, and a short read against the native matcher.

Inspect the fixture
Pipelines, MCP server, and local AI agents

Connect DotMatch as a local MCP server with dotmatch mcp, or inspect the structured CLI tools and output schemas before wiring a pipeline.

dotmatch agent tools --json
dotmatch agent export-skill --target ./dotmatch-agent

Agent guide · Workflow examples · Command reference

DotMatch handles fixed-window known-target sequence assignment and powers CRISPRWorks Count. Genome alignment, cell/UMI processing, and downstream screen statistics remain separate steps. Methods and scope · Cite DotMatchPublished package 0.8.0; website source version 0.8.0.