News and Announcements » – Demultiplexes Low-Error Amplicon Sequencing (LEA-Seq) data


Implements Low-Error Amplicon Sequencing (LEA-Seq) method, described in:

Faith, Jeremiah J., et al. The long-term stability of the human gut microbiota.Science 341.6141 (2013).

This method is based on redundant sequencing of a set of linear PCR template extensions of 16S rRNA genes. The oligonucleotide primer that is used for PCR template extensions is labeled with a random barcode 5’ to the universal 16S rRNA primer sequence. This PCR pool is then amplified with exponential PCR, using primers that specifically amplify only the linear PCR molecules. An index primer is added to the amplicons along with a primer specific for each sample. This exponential PCR pool is then sequenced redundantly (20x coverage). The resulting sequences are separated by sample, using the index sequence. The amplicon sequences within each sample are separated by the random barcodes. The large number of reads for each barcode helps to create an error-corrected consensus sequence for the initial template molecule.

Usage: [options]

Input Arguments:



-i, --sequence_read_fps
The forward and reverse sequence read fastq files (comma-separated)
-o, --output_dir
Directory to store output files
-m, --mapping_fp
Metadata mapping file


-b, --barcode_type
The type of barcode used. This can be an integer, e.g. 6 for length 6 barcodes, or golay_12 for golay error-correcting barcodes. Error correction will only be applied for golay_12 barcodes [default: golay_12]
The maximum allowable number of errors in the barcode if passing –barcode_type golay_12 [default: 1.5]
Threshold for consensus score: the minimum score allowable at any position in sequence. where the score is calulated as: occurence of base in consensus sequence/ total sequences[default: 6.6]
Threshold for cluster ratio: the maximum allowable cluster ratio above which you need to find the consensus sequence for the given sequences.[default: 2.5]
Threshold for selecting unique barcodes: Barcodes that are more similar to each other than this value will be discarded.[default: 0.86]
Removes phasing from forward readby truncating it to standard length for the region[default: 64]
Removes phasing from reverse readby truncating it to standard length for the region[default: 77]
The percent identity threshold while using uclust to cluster sequence reads, which is helpfulin measuring quality of sequencing.[default: 0.98]
Minimum number of reads per randombarcode, attempts to remove random barcodes that are sequencing errors of true barcodesmight be useful in saving memory and time[default: 1]
Header of barcode column[default: BarcodeSequence]
Header of reverse primer column[default: ReversePrimer]


The generates: A fasta file called seqs.fna which contains error corrected consensus sequence for the template DNA

General Example: Specify forward read and reverse read fasta files, use the metadata mapping file map.txt,and output the data to output_dir:

output_dir -i fwd_read.fq,rev_read.fq -m map.txt -o output --b 7