primer_check
PCR primer quality check by counting and exact matching only (no nearest-neighbour tables): length, GC %, GC clamp, homopolymer runs and dinucleotide repeats, self- and cross-complementarity (longest run and longest run at a 3' end), hairpin stems, Wallace and Marmur-Doty melting estimates, and exact primer sites and amplicon size on a template.
- Field
- Genomics
- Version
- 0.1.0
- Runs as
- Compiled (Rust)
- Typical run
- 0.05 s
Compiled from source: run sh packs/install.sh once before admitting it.
Known answers it must pass
r0001Wallace 2(A+T)+4(G+C), Marmur-Doty 64.9+41(GC-16.4)/N, GC % by count: M13 fwd(-20) GTAAAACGACGGCCAGT has A6 C4 G5 T2 -> 52 degC, 47.0529411765 degC, 9/17 = 52.9411764706 %; last five CCAGT clamp 3; AAAA run 4 (exact arithmetic, rel 1e-9)passed
forward_length_nt= 1717lockedexact matchforward_tm_wallace_degC52 ± 5.2e-0852lockedunder 0.01 % of the tolerance usedforward_tm_marmur_doty_degC47.0529 ± 4.7e-0847.0529lockedunder 0.01 % of the tolerance usedforward_gc_pct52.9412 ± 5.3e-0852.9412lockedunder 0.01 % of the tolerance usedforward_gc_clamp= 33lockedexact matchforward_max_run_nt= 44lockedexact matchr0002palindrome ACGTGAATTCGAATTCACGT equals its reverse complement, so two copies pair over all 20 bases including both 3' ends; GC 8/20 = 40 %, Wallace 2*12+4*8 = 56 degC, Marmur-Doty 64.9+41(8-16.4)/20 = 47.68 degC (exact, rel 1e-9)passed
forward_palindrome= truetruelockedexact matchforward_self_any_bp= 2020lockedexact matchforward_self_3p_bp= 2020lockedexact matchforward_gc_pct40 ± 4e-0840lockedunder 0.01 % of the tolerance usedforward_tm_wallace_degC56 ± 5.6e-0856lockedunder 0.01 % of the tolerance usedforward_tm_marmur_doty_degC47.68 ± 4.8e-0847.68lockedunder 0.01 % of the tolerance usedr0003amplicon by construction: template = (AC)5 + M13 fwd(17) + C10 T10 + revcomp(M13 rev CAGGAAACAGCTATGAC)(17) + (AC)5 = 74 bp; product 17+20+17 = 54 bp at 11..64, one site each, GC 27/54 = 50 % (exact counts)passed
template_length_bp= 7474lockedexact matchforward_sites= 11lockedexact matchreverse_sites= 11lockedexact matchamplicon_count= 11lockedexact matchamplicon_bp= 5454lockedexact matchamplicon_start= 1111lockedexact matchamplicon_end= 6464lockedexact matchamplicon_gc_pct50 ± 5e-0850lockedunder 0.01 % of the tolerance usedr0004hairpin by construction: A5 + GGCGG + A4 + CCGCC (its reverse complement) + A5, no T so A pairs nowhere -> stem 5 bp, loop 4 nt (exact)passed
forward_length_nt= 2424lockedexact matchforward_hairpin_stem_bp= 55lockedexact matchforward_hairpin_loop_nt= 44lockedexact matchforward_max_run_nt= 55lockedexact matchr0005primer dimer by construction: forward A13+GACCT, reverse C13+AGGTC; the 3' pentamers are reverse complements -> 3'-end cross run 5 bp; Wallace 42 vs 68 degC, difference 26 K; run A13 (exact counts)passed
cross_3p_bp= 55lockedexact matchcross_any_bp= 55lockedexact matchforward_tm_wallace_degC42 ± 4.2e-0842lockedunder 0.01 % of the tolerance usedreverse_tm_wallace_degC68 ± 6.8e-0868lockedunder 0.01 % of the tolerance usedtm_diff_wallace_K26 ± 2.6e-0826lockedunder 0.01 % of the tolerance usedforward_max_run_nt= 1313lockedexact matchall_ok= falsefalselockedexact match
Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.
Inputs
| Name | Unit | Default | Meaning |
|---|---|---|---|
forward | Forward primer, 5'->3', A/C/G/T (spaces, digits, hyphens and primes are skipped). | ||
reverse | Reverse primer, 5'->3', as ordered (not reverse-complemented). Empty: check the forward primer alone. | ||
template | Template top strand 5'->3', plain or FASTA. Empty: no amplicon. | ||
template_file | Template as a FASTA or plain-text file (used when template is empty). | ||
len_min_nt | 1 | 18 | Shortest acceptable primer, nucleotides. |
len_max_nt | 1 | 30 | Longest acceptable primer, nucleotides. |
gc_min_pct | % | 40 | |
gc_max_pct | % | 60 | |
max_run_nt | 1 | 4 | Longest acceptable run of one base. |
max_dinuc_repeats | 1 | 4 | Most acceptable consecutive copies of a two-base unit (ATATAT = 3). |
max_3p_bp | 1 | 3 | Longest acceptable complementary run that includes a 3' end (self or cross dimer), base pairs. |
max_any_bp | 1 | 7 | Longest acceptable complementary run anywhere (self or cross dimer), base pairs. |
max_hairpin_bp | 1 | 3 | Longest acceptable hairpin stem, base pairs. |
min_hairpin_loop_nt | 1 | 3 | Smallest hairpin loop counted, nucleotides. |
max_tm_diff_K | K | 5 | Largest acceptable Marmur-Doty Tm difference between the primers. |
max_amplicon_bp | 1 | 10000 | Longest product reported, base pairs. |
Readings
| Name | Unit | Meaning |
|---|---|---|
forward_length_nt | 1 | |
forward_gc_pct | % | |
forward_gc_clamp | 1 | G or C among the last five bases. |
forward_tm_wallace_degC | 2(A+T) + 4(G+C), in degrees Celsius. | |
forward_tm_marmur_doty_degC | 64.9 + 41 (G + C - 16.4) / N, in degrees Celsius. | |
forward_max_run_nt | 1 | |
forward_max_dinuc_repeats | 1 | |
forward_self_any_bp | 1 | |
forward_self_3p_bp | 1 | |
forward_hairpin_stem_bp | 1 | |
forward_hairpin_loop_nt | 1 | |
forward_palindrome | 1 | |
reverse_length_nt | 1 | |
reverse_gc_pct | % | |
reverse_gc_clamp | 1 | |
reverse_tm_wallace_degC | 2(A+T) + 4(G+C), in degrees Celsius. | |
reverse_tm_marmur_doty_degC | 64.9 + 41 (G + C - 16.4) / N, in degrees Celsius. | |
reverse_max_run_nt | 1 | |
reverse_max_dinuc_repeats | 1 | |
reverse_self_any_bp | 1 | |
reverse_self_3p_bp | 1 | |
reverse_hairpin_stem_bp | 1 | |
reverse_hairpin_loop_nt | 1 | |
reverse_palindrome | 1 | |
cross_any_bp | 1 | |
cross_3p_bp | 1 | |
tm_diff_wallace_K | K | |
tm_diff_marmur_doty_K | K | |
template_length_bp | 1 | |
forward_sites | 1 | |
reverse_sites | 1 | |
amplicon_count | 1 | |
amplicon_bp | 1 | |
amplicon_start | 1 | 1-based position of the first base on the template top strand. |
amplicon_end | 1 | 1-based position of the last base. |
amplicon_gc_pct | % | |
products | ||
primers | ||
all_ok | 1 | |
n_warnings | 1 | |
warnings | 1 |
Try the call
Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.