multiplex wormhole

Optimize Multiplex PCR Primers

A panel that amplifies “N” target loci is selected by minimizing off-target interactions among primer pairs. Optionally, a “keeplist” set of primers (containing primers from a previous assay, primers for important loci, etc.) can be provided that must be included in the final primer set.

See details on the optimization process to better understand parameter settings.

Usage

Command line syntax

mw-optimize-multiplex -f PRIMER_FASTA -d DIMER_SUMS -t DIMER_TABLE -o OUTPATH -n NLOCI [-k KEEPLIST]
                      [-e SEED] [-s GREEDY] [-i ITER] [-c CYCLES] [-b BURNIN]
                      [-r DECAY_RATE] [-x TEMP_INIT] [-l TEMP_FINAL] [-a PROB_ADJ]
                      [-g] [-v] [-m]

Python syntax

import multiplex_wormhole as mw

# example with minimal inputs:
mw.optimizeMultiplex(PRIMER_FASTA, DIMER_SUMS, DIMER_TABLE, OUTPATH, N_LOCI, deltaG=False)

Parameters

Outputs

  1. OUTPATH_dimers.csv : Table with pairwise dimer loads of primer pairs in optimized multiplex.
  2. OUTPATH_primers.csv : Table with Primer IDs and (adapter-ligated) sequences.
  3. OUTPATH_costsTrace.csv : Trace of dimer load cost, simulated annealing temperature, and iterations as the algorithm progressed. Only accepted changes are reported.
  4. OUTPATH_DimerLoad.png : Plot of dimer load trace across iterations. See example and details here.

Previous Next