Direct comparison
PCR vs Optical Duplicates: Key Differences
PCR duplicates come from over-amplification in library prep; optical duplicates are a flow-cell imaging artifact. How MarkDuplicates tells them apart.
Written and maintained by CASRAI Editorial Board
Last updated
Ask CASRAI · included with Regulatory Radar
Ask about PCR vs Optical Duplicates: Key Differences
Ask CASRAI answers research-administration questions and cites the passages behind every claim — and says so when the corpus does not cover something, instead of guessing. It comes with a Regulatory Radar subscription at $29 a month, alongside the daily digest of regulatory changes and the dashboard of what changed.
150 questions a day, on this site, over the API, or inside your own tools through the CASRAI MCP server.
Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays free to read, with no account and no card.
How do PCR duplicates, Optical duplicates compare side by side?
The table below compares PCR duplicates, Optical duplicates across 11 procurement-relevant dimensions, from root cause through recommended setting by flow-cell type.
Side-by-side comparison
| Dimension | PCR duplicates | Optical duplicates |
|---|---|---|
| Root cause | Library-prep artifact: the same original DNA/cDNA fragment is copied multiple times during PCR amplification before sequencing. | Sequencer imaging artifact: one physical cluster on the flow cell is mis-called by the base-calling software as two (or more) separate, adjacent clusters. |
| When it originates | During library preparation, before the flow cell is loaded — amplification bias compounds with cycle number and low input DNA/RNA. | During cluster generation and imaging on the flow cell itself, downstream of library prep entirely. |
| Coordinate signature | Reads share the exact same 5' mapping start/end coordinates (post-alignment) and, in paired-end data, the same insert size — sequence is typically identical or near-identical. | Reads map to the same or very similar genomic coordinates, but the detector also records near-identical physical tile x/y coordinates on the flow cell itself, within a small pixel radius. |
| How MarkDuplicates tells them apart | Any duplicate group that does NOT meet the physical-proximity test is classified as a library/PCR-type duplicate (Picard's internal "LB" category). | Picard parses each read name for its tile and x/y pixel position (via READ_NAME_REGEX) and checks whether members of a duplicate set fall within OPTICAL_DUPLICATE_PIXEL_DISTANCE of each other on the same tile — default 100 pixels. Duplicates that pass this proximity test are classified as sequencing/optical-type ("SQ"). |
| Typical frequency | Scales with PCR cycle number, amplicon GC content, and input DNA/RNA quantity — low-input or over-amplified libraries can show high PCR-duplicate rates. | Scales with cluster density and flow-cell/optics generation — older, sparser flow cells show few; newer high-density patterned flow cells can show a higher proportion if the pixel-distance threshold isn't tuned for them. |
| Can it be reduced upstream? | Yes — PCR-free library prep, unique molecular identifiers (UMIs), or reducing amplification cycles all lower PCR-duplicate rates directly at the wet-lab stage. | Not really a wet-lab fix — it's an instrument/optics limitation. The only lever is the pixel-distance threshold used when marking, which should match the flow-cell/sequencer generation in use. |
| What Picard MarkDuplicates does with them | Flagged with SAM flag 0x400 (decimal 1024) in the FLAG field; the first read in a duplicate set is kept "non-duplicate," the rest are flagged. | Also flagged with SAM flag 0x400; separately tallied in the DuplicationMetrics output (e.g. READ_PAIR_OPTICAL_DUPLICATES) so the two sources can be distinguished in QC reporting even though the SAM flag itself doesn't distinguish them. |
| Mark vs. remove | Marked by default (SAM flag set, record kept in the BAM); removal is optional via Picard's REMOVE_DUPLICATES flag. | Same — marked by default; a separate REMOVE_SEQUENCING_DUPLICATES option can remove only the optical/sequencing category if desired. |
| Downstream impact if left unmarked | Inflates apparent read depth at the duplicated locus, which can push a heterozygous variant's allele-supporting reads past a caller's confidence threshold, producing false-positive or artificially high-confidence variant calls; in RNA-seq, inflates expression counts (TPM/FPKM/raw counts) for the transcript, biasing quantification. | Same downstream distortions — inflated depth, skewed allele-balance estimates for variant callers, and inflated expression counts for quantification — even though the mechanism producing the duplicate reads is different. |
| Other tools that detect it | Detected by essentially every duplicate-marking tool — Picard MarkDuplicates, samtools markdup, sambamba markdup, biobambam2 bammarkduplicates2 — since it only requires comparing mapped start/end coordinates. | Requires the tool to also parse tile and pixel coordinates from the read name, so support is more variable; samtools markdup supports it via -d/--optical-distance (disabled with a default of 0 unless explicitly set), and Picard supports it via OPTICAL_DUPLICATE_PIXEL_DISTANCE (enabled by default at 100 pixels). |
| Recommended setting by flow-cell type | Not applicable — PCR-duplicate detection is coordinate-based only and does not depend on flow-cell hardware. | samtools markdup documentation suggests roughly 100 pixels for older, non-patterned HiSeq-style flow cells and roughly 2500 pixels for newer, higher-density NovaSeq-style patterned flow cells, since clusters are packed far more tightly on the latter and a distance tuned for older hardware will under-detect optical duplicates there. |
Common questions
Common questions about PCR duplicates vs Optical duplicates
Why does Picard mark duplicates instead of removing them?
+
Marking preserves the full record: the duplicate reads stay in the BAM file with the 0x400 SAM flag set, so any downstream tool can choose to include or exclude them, and the original alignment is never destroyed. Most variant callers (including GATK) simply skip flagged duplicate reads by default, which gets the same practical effect as removal without permanently discarding data that might be useful for troubleshooting, re-analysis with different parameters, or auditing how many reads were actually duplicated. Removing duplicates outright (Picard's REMOVE_DUPLICATES option) is possible but less common, because it makes it impossible to later reconsider the duplicate call without re-running from the original BAM.
Does the SAM duplicate flag (0x400) distinguish PCR duplicates from optical duplicates?
+
No — both categories get the same 0x400 flag in the FLAG field. Picard MarkDuplicates does track the distinction internally for QC reporting purposes (visible in the DuplicationMetrics output, e.g. the READ_PAIR_OPTICAL_DUPLICATES field, and via the optional DT tag under certain tagging-policy settings), but a tool reading only the SAM flag treats all duplicates identically regardless of origin.
What is the pixel-distance threshold and why does it matter?
+
It's the maximum physical distance, in pixels on the flow-cell image, that two reads on the same tile can be apart and still be classified as an optical duplicate rather than an independent PCR duplicate. Picard's OPTICAL_DUPLICATE_PIXEL_DISTANCE parameter defaults to 100 pixels. Because different sequencer/flow-cell generations pack clusters at different densities, this value sometimes needs adjusting to match the platform in use — too low and genuine optical duplicates get missed (misclassified as PCR duplicates); too high and independent, unrelated clusters can be wrongly merged into the optical-duplicate count.
Do PCR duplicates and optical duplicates affect variant calling the same way?
+
The practical effect on a variant caller is similar even though the cause differs: both inflate the apparent read depth supporting one version of the DNA fragment at a locus, which can distort allele-balance estimates and push a caller's confidence in a variant higher (or lower, for the reference allele) than the true independent sampling would support. That's why both categories are marked and excluded by default in standard variant-calling pipelines, not just PCR duplicates.
Do optical duplicates matter for RNA-seq expression quantification?
+
Yes, in the same direction as PCR duplicates: an unmarked optical duplicate adds an extra read count to a transcript's tally, inflating its apparent expression level in raw counts, TPM, or FPKM. Because optical duplicates are a flow-cell artifact rather than a biological amplification signal, leaving them unmarked doesn't just add noise — it adds it in a way that has nothing to do with actual transcript abundance, which is exactly why they get marked and excluded from counting the same way PCR duplicates are.
Does the optical-distance setting need to change for newer sequencers?
+
Yes. Both Picard and samtools markdup expose the pixel-distance threshold as a configurable parameter precisely because cluster density varies by flow-cell generation. samtools markdup's own documentation suggests roughly 100 for older, non-patterned HiSeq-style flow cells and roughly 2500 for newer, higher-density NovaSeq-style patterned flow cells. Using a threshold tuned for older, sparser flow-cell hardware on a modern patterned flow cell risks under-counting true optical duplicates, since genuinely adjacent clusters can sit farther apart in pixel terms than the default assumes.
Are unique molecular identifiers (UMIs) a substitute for duplicate marking?
+
UMIs address PCR duplicates specifically, not optical duplicates. A UMI is a short random barcode attached to each original molecule before amplification, so reads that share a UMI (and the same coordinates) can be confidently collapsed as PCR duplicates of one true molecule, even distinguishing true duplicates from reads that coincidentally start and end at the same position. That does not help with optical duplicates, which arise after sequencing begins and have nothing to do with the molecule's barcode — coordinate- and pixel-distance-based duplicate marking is still needed for those regardless of whether a UMI protocol is in use.
Going deeper








