Study and Productivity

How to Check and Edit a Sanger Sequencing Trace (.ab1)

Learn to read an .ab1 chromatogram: peaks, base calls and quality values, trimming the ends, fixing miscalls, reverse complement and exporting FASTA.

Saizul Amin
Saizul Amin19 Nov 2026 · 4 min read
How to Check and Edit a Sanger Sequencing Trace (.ab1)

How to Check and Edit a Sanger Sequencing Trace (.ab1)

You sent a PCR product or a plasmid for Sanger sequencing and got back two files per sample: a short text file with the sequence and a larger .ab1 file. The text file is what the machine thinks it read. The .ab1 file shows the evidence, and checking it before you trust the sequence saves a lot of trouble later. This guide shows how to do that with the free Sanger AB1 Chromatogram Viewer, which reads the file in your browser.

What a chromatogram shows

In Sanger sequencing, DNA fragments that end in one of four fluorescent dyes pass a detector in order of length. The instrument records four intensity curves, one per base. Peaks that stand out cleanly give confident calls; low, broad or overlapping peaks give doubtful ones. The basecaller turns the curves into letters and gives each letter a quality value on the Phred scale, where 20 means a 1 percent chance of error and 30 means 0.1 percent.

The .ab1 format, from Applied Biosystems, stores these curves, the base calls, the position of each peak and the quality values, plus details such as the sample name, instrument and run date. The viewer reads all of this and shows A in green, C in blue, G in black and T in red, which matches most other programs.

A first look

Drop the .ab1 file into the viewer. The header line lists the sample, machine and number of bases, and a row of figures shows the mean quality and how many bases fall below quality 20. The trace appears with letters above the peaks and small bars along the bottom: blue for good quality, yellow for medium and red for poor.

Zoom out to see the shape of the whole read. Almost every read starts with a messy stretch where primer and dye artefacts crowd together, then gives a long run of tall, evenly spaced peaks, and finally fades as peaks broaden and shrink. Zoom in with the slider to judge single peaks, and raise the peak height if the end of the read is faint.

Trimming the ends

The poor start and end are not worth keeping. Tap Auto trim (Mott) and the viewer keeps the stretch with the best balance of quality, using the same idea as the classic phred trimming. The grey shading on the trace shows what is cut. The default error cut-off of 0.05 suits most reads; lower it for stricter trimming, raise it to keep more. You can also type the first and last base to keep.

Fixing miscalls

Look along the trimmed read for red quality bars and for N calls. Often the reason is clear: a single peak the basecaller missed after a run of the same base, a dye blob, or two overlapping peaks. Tap the letter to select it. Type A, C, G, T or N to replace it, press Delete to remove an extra base, or use the insert buttons to add one the basecaller skipped. Edited bases are underlined and the arrow keys move to the next base. Every change can be undone.

If two peaks of similar height sit at one position in a sample that could be heterozygous, type an IUPAC code such as R for A or G, or Y for C or T. The viewer does not call these automatically, so it is worth scanning carefully in genotyping work.

Reverse reads and searching

When the sample was read with a reverse primer, tick Reverse complement. The trace flips, the colours swap to their complements and the sequence reads in the forward direction, ready to compare with your reference. The motif search finds sequences such as a restriction site or the start of your primer in the current orientation.

Saving the result

Export FASTA for alignments and database searches, or FASTQ if the next program wants quality values too. The bases CSV lists each base with its quality and peak position, the traces CSV gives the raw curves for plotting, and the PNG button saves the current view, which is useful as evidence of an edit in a lab notebook.

Limits

The viewer does not re-run basecalling or assemble several reads into a contig. Mixed-peak calling is manual. Older SCF and ZTR trace formats are not read. For checking a read, cleaning its ends, fixing a few calls and getting a reliable FASTA, it does everything in the browser in a couple of minutes, and the file never leaves your computer.

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages