Convert ABI/AB1 sequencing traces to FASTA base calls.
Getting the base calls out of a sequencing trace
Yes, this page converts an ABI / AB1 trace to FASTA. The converter reads the called bases from the trace and writes them as one FASTA record, while the chromatogram, peak data, and per-base quality scores are left out. No sequence-type question is asked for this pair.
What survives the move from trace to text
| Data in your file | In the output | Details |
|---|---|---|
| Called base sequence | Kept | Written as the letters of a single record. |
| Trace name | Kept in the sample | The sample's output starts with the header line >16S_S2_1387R, so its name is unchanged. |
| Per-base quality scores | Lost | Removed, as the form's notice says. |
| Chromatogram and peak data | Lost | Not included in the output. |
The result is a plain sequence file. Keep the original trace if you may need to look at the peaks behind an uncertain base, because nothing in the FASTA output leads back to them.
The sample trace on this page
The sample is a binary trace, so it is offered as a download rather than shown as text. It converts to one record of 795 bases named 16S_S2_1387R, with its quality scores gone.
Untrimmed or quality-trimmed input for the same trace file
In the Convert from list, the same trace file can be read as ABI / AB1 trace, the input on this page, or as the quality-trimmed input. ABI / AB1 trace (quality trimmed) to FASTA shows a notice that it applies quality trimming and may remove sequence letters; its format description says the trimming is applied to the read ends. Choose the trimmed input only when you want those ends removed.
Keeping the quality scores
If you need the scores, use ABI / AB1 trace to FASTQ (Sanger PHRED+33) instead. It keeps the called bases together with their per-base scores; any score above 93, the maximum for that FASTQ variant, is capped at 93. The chromatogram is not included on that route either. The sample on this page converts there with its scores present.
No route back to a trace
FASTA to ABI / AB1 trace is not available here. The site reads ABI traces only as input, so it cannot write one.
If the converter refuses your file
If the upload cannot be read, the page says only that the file could not be read as ABI / AB1 trace and asks you to check that it is a valid trace file; it does not name a cause. Uploads are limited to 50 MB, and the file is checked before conversion.
Run it with Biopython
For batch work, you can use Biopython's SeqIO.convert function. This pair needs no molecule type argument.
from Bio import SeqIO
count = SeqIO.convert("input.abi", "abi",
"output.fasta", "fasta")
print("Converted %i records" % count)
Sample input file: ABI / AB1 trace
ABI / AB1 trace is a binary format, so it cannot be shown as text. Download the sample file to try the converter.
Download sample (sample.ab1, 204.3 KB)
Samples are small illustrative files. Some come from the Biopython test suite (see the project's sample notes); they are not real study data.