Skip to content

feldman4/dna-barcodes

Repository files navigation

dna-barcodes

Generate DNA barcode sets with guaranteed minimum edit distance between any two barcodes. Levenshtein string distance is used, so errors can be detected and/or corrected when the barcode is embedded in a known sequence context, such as a barcoded primer or vector. Similar to DNABarcodes, but may yield larger barcode sets in less time.

Install

Requires python 3.6 or higher. The example below uses conda, available here.

conda create -n dnabarcodes python=3.6
conda activate dnabarcodes
conda install -y --file requirements.txt

Run

python barcode_design.py -h
python barcode_design.py