Alphagenome Single Variant Analysis
google-deepmind/science-skills
Analyzes genetic variant effects on gene expression (RNA-seq), chromatin accessibility (DNASE), histone marks (ChIP), and transcription factors using the AlphaGenome API.
Designs and ranks PCR primer pairs for a target template with primer3-py (designprimers), returning pairs with nearest-neighbor Tm, GC, product size, and complementarity scores.
$ npx skills add GPTomics/bioSkills --skill bio-primer-design-primer-basics -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install GPTomics/bioSkills bio-primer-design-primer-basics --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/primer-design/primer-basics .claude/skills/bio-primer-design-primer-basics && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "bio-primer-design-primer-basics" agent skill from https://github.com/GPTomics/bioSkills/tree/main/primer-design/primer-basics into .claude/skills/bio-primer-design-primer-basics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-primer-design-primer-basics", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/GPTomics/bioSkills/tree/main/primer-design/primer-basicsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add GPTomics/bioSkills --skill bio-primer-design-primer-basics -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install GPTomics/bioSkills bio-primer-design-primer-basics --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/primer-design/primer-basics .agents/skills/bio-primer-design-primer-basics && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "bio-primer-design-primer-basics" agent skill from https://github.com/GPTomics/bioSkills/tree/main/primer-design/primer-basics into .agents/skills/bio-primer-design-primer-basics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-primer-design-primer-basics", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GPTomics/bioSkills --skill bio-primer-design-primer-basics -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install GPTomics/bioSkills bio-primer-design-primer-basics --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/primer-design/primer-basics .cursor/skills/bio-primer-design-primer-basics && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "bio-primer-design-primer-basics" agent skill from https://github.com/GPTomics/bioSkills/tree/main/primer-design/primer-basics into .cursor/skills/bio-primer-design-primer-basics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-primer-design-primer-basics", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/GPTomics/bioSkills.git --path primer-design/primer-basics--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add GPTomics/bioSkills --skill bio-primer-design-primer-basics -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install GPTomics/bioSkills bio-primer-design-primer-basics --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/primer-design/primer-basics .gemini/skills/bio-primer-design-primer-basics && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "bio-primer-design-primer-basics" agent skill from https://github.com/GPTomics/bioSkills/tree/main/primer-design/primer-basics into .gemini/skills/bio-primer-design-primer-basics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-primer-design-primer-basics", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install GPTomics/bioSkills bio-primer-design-primer-basicsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add GPTomics/bioSkills --skill bio-primer-design-primer-basics -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .github/skills && cp -r skills-src/primer-design/primer-basics .github/skills/bio-primer-design-primer-basics && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "bio-primer-design-primer-basics" agent skill from https://github.com/GPTomics/bioSkills/tree/main/primer-design/primer-basics into .github/skills/bio-primer-design-primer-basics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-primer-design-primer-basics", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GPTomics/bioSkills --skill bio-primer-design-primer-basics -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install GPTomics/bioSkills bio-primer-design-primer-basics --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GPTomics/bioSkills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/primer-design/primer-basics .opencode/skills/bio-primer-design-primer-basics && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "bio-primer-design-primer-basics" agent skill from https://github.com/GPTomics/bioSkills/tree/main/primer-design/primer-basics into .opencode/skills/bio-primer-design-primer-basics/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "bio-primer-design-primer-basics", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
bio-primer-design-primer-basicsDesigns and ranks PCR primer pairs for a target template with primer3-py (designprimers), returning pairs with nearest-neighbor Tm, GC, product size, and complementarity scores.
Bio Primer Design Primer Basics is an agent skill from GPTomics/bioSkills. Designs and ranks PCR primer pairs for a target template with primer3-py (designprimers), returning pairs with nearest-neighbor Tm, GC, product size, and complementarity scores. Covers why primer3 is a LOCAL weighted-penalty minimizer over the single template supplied (so PRIMERPAIR0 is the lowest-penalty pair under the given bounds, never a genome-specificity guarantee), why Tm is a salt/concentration-dependent SantaLucia prediction not a fixed property, why the two primers must be Tm-matched, the…
Its SKILL.md is about 5.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files (for example `examples/primer_design.py` and `usage-guide.md`).
It sits in Research & Science, covering Bioinformatics. The repository describes itself as: a set of SKILLS.md for doing bioinformatics with agents like claude code. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit d91ed3d. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python), which the agent can run.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Bio Primer Design Primer Basics loads about 5.5k tokens when it runs. Until then it costs about 253 tokens; SKILL.md has 2,529 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from GPTomics/bioSkills at commit d91ed3d, republished under its MIT licence (© GPTomics). 2,529 words, ~5,515 tokens.
.claude/skills/bio-primer-design-primer-basics/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.Reference examples tested with: primer3-py 2.3+.
Before using code patterns, verify installed versions match. If versions differ:
pip show primer3-py then help(primer3.design_primers) to check signaturesIf code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
"Design primers to amplify this region" -> Search candidate primer pairs that satisfy Tm/GC/size/complementarity constraints on the supplied template and rank them by a weighted penalty -- because primer3 sees only that one template, so its top pair certifies LOCAL good behavior, not that the primers bind the target uniquely in the genome.
primer3.design_primers(seq_args, global_args) returns a flat dict of ranked pairs with per-primer Tm/GC and a pair penalty.Scope: designing and ranking PCR primer pairs for a template under thermodynamic and positional constraints, including cloning (5' tails), genotyping (flanking), and single sequencing primers. Genome-wide off-target / in-silico PCR specificity -> primer-specificity. Dimer/hairpin/end-stability validation of chosen oligos -> primer-validation. qPCR primers and hydrolysis/beacon probes -> qpcr-primers. OUT OF SCOPE: degenerate/consensus primers for divergent targets (primer3 does not model IUPAC degeneracy -- use a dedicated consensus designer); long-range PCR amplicons over ~3-5 kb (different polymerase and primer regime); and bisulfite/methylation (MSP/BSP) primers (different rules -- avoid CpGs in the body, account for C->T strand asymmetry -- use a bisulfite-specific designer such as MethPrimer). Fetching the template -> database-access/entrez-fetch. Reverse-complement / subsequence extraction -> sequence-manipulation/seq-objects.
SEQUENCE_TEMPLATE string: it scores Tm, GC, length, self-/cross-complementarity, hairpins, and 3'-end stability, then returns the lowest-penalty pairs. It never asks whether those primers also bind 50 other loci. So PRIMER_PAIR_0 means "lowest penalty under the chosen weights and bounds, on this one template" -- it is a hypothesis, not a result. The catastrophic, common error is ordering the top pair without a genome specificity pass (-> primer-specificity).PRIMER_MIN_*/PRIMER_MAX_* are HARD filters (a candidate outside them is eliminated); PRIMER_OPT_* plus the PRIMER_WT_* weights only RANK the survivors. Over-tightening BOUNDS is what returns zero pairs; changing weights only re-orders. The defaults are an opinionated weight vector (Tm and size dominate; GC-percent weights are 0 by default), not an objective truth.Each tunable property has an OPT target and a weight (often split into _LT/_GT for below/above optimum). The per-oligo penalty is the weighted sum of deviations; the pair penalty adds pair terms (PRIMER_PAIR_WT_DIFF_TM for Tm mismatch, product-size deviation, cross-complementarity). Pairs are sorted ascending by PRIMER_PAIR_<i>_PENALTY; index 0 is the minimum. Two consequences the agent must act on: (a) raise PRIMER_PAIR_WT_DIFF_TM if a Tm-matched pair matters more than tight product size, and a different pair rises to index 0; (b) to forbid something use a BOUND, to merely discourage it raise a WEIGHT.
| Tool / method | Citation | Mechanism / role | When |
|---|---|---|---|
primer3-py design_primers | Untergasser 2012 Nucleic Acids Res 40:e115 | constraint-satisfaction search + nearest-neighbor Tm; returns ranked pairs | the default PCR primer designer |
| Nearest-neighbor Tm (SantaLucia) | SantaLucia 1998 PNAS 95:1460 | salt/concentration-dependent thermodynamic Tm from stacking parameters | every Tm value primer3 reports |
| primer3 Tm/salt implementation | Koressaar & Remm 2007 Bioinformatics 23:1289 | the Tm + divalent-cation salt correction primer3 uses | when matching primer3 Tm to bench conditions |
Mispriming library (misprime_lib) | Untergasser 2012 Nucleic Acids Res 40:e115 | penalizes similarity to a curated repeat library (HUMREP/RODENT) | keep primers off known repeats (NOT a genome check) |
| Genome BLAST / in-silico PCR | (route OUT) | predicts off-target amplicons from the PAIR | confirm the pair amplifies only the target -> primer-specificity |
| Scenario | Recommended | Why |
|---|---|---|
| Standard amplicon over one target | design_primers with SEQUENCE_TARGET flanking the feature | both primers flank, amplicon spans the feature |
| Amplify within a clean window (one exon) | SEQUENCE_INCLUDED_REGION confines primers | no primer falls outside the window |
| Keep primers off a SNP/repeat | SEQUENCE_EXCLUDED_REGION (no overlap) | excluding beats N-masking (N-masking still allows a primer with <= MAX_NS_ACCEPTED Ns) |
| Left primer from region A, right from region B | SEQUENCE_PRIMER_PAIR_OK_REGION_LIST quadruples | constrains the two primers independently, per pair |
| cDNA-specific (avoid unspliced gDNA) | SEQUENCE_OVERLAP_JUNCTION_LIST + PRIMER_MIN_3_PRIME_OVERLAP_OF_JUNCTION | a primer straddling the splice junction cannot prime contiguous gDNA |
| One Sanger sequencing primer | PRIMER_PICK_LEFT_PRIMER=1, PRIMER_PICK_RIGHT_PRIMER=0 | single-primer mode; leave >=30-50 bp buffer to the feature |
| Cloning / adapters (restriction, Gibson, T7) | design the binding core in primer3, append the 5' tail afterward | a non-templated tail does not anneal in early cycles |
| Genotype a SNP by allele-specific PCR (ARMS) | discriminating base at the 3' terminus + a second -2/-3 mismatch; allele-specific primer + common reverse | the 3' anchor discriminates the allele, the second mismatch widens it |
| Choose the annealing temperature | Ta ~3-5 C below the lower primer Tm; gradient to optimize; touchdown for hard specificity | predicted Tm is not Ta; the reaction is non-equilibrium |
| Divergent / unknown-reference target (degenerate primers) | a consensus/degenerate designer, NOT primer3 | primer3 cannot model IUPAC degeneracy; design in conserved blocks, keep the 3' anchor non-degenerate |
| Amplicon over ~3-5 kb (long-range PCR) | longer high-Tm primers (24-30 nt), proofreading/long-range polymerase | the enzyme tolerates less mispriming over long extensions; raise OPT_TM/OPT_SIZE, tighten end-stability |
| Confirm the pair is unique genome-wide | -> primer-specificity | primer3 scores thermodynamics, not specificity |
| Check the chosen pair for dimers/hairpins | -> primer-validation | thermodynamic structure prediction of the oligos |
Default when uncertain: standard amplicon with SEQUENCE_TARGET, Tm 58-62 C, GC 40-60%, product 100-1000 bp, then route the top pairs to primer-specificity before ordering.
Goal: Get ranked primer pairs that amplify the target region within the desired size and Tm window, Tm-matched between the two primers.
Approach: Put per-template data (the sequence and any positional constraint) in seq_args under SEQUENCE_* keys; put run-wide settings (Tm/GC/size bounds, salt) in global_args under PRIMER_* keys; call design_primers; read the ranked pairs from the flat result dict. Supply the real reaction salt so the reported Tm is meaningful.
import primer3
template = 'ATGC...' # the only sequence primer3 sees
result = primer3.design_primers(
seq_args={
'SEQUENCE_ID': 'amp1',
'SEQUENCE_TEMPLATE': template,
'SEQUENCE_TARGET': [400, 60], # [start, length], 0-based; both primers must flank this
},
global_args={
'PRIMER_PICK_LEFT_PRIMER': 1,
'PRIMER_PICK_RIGHT_PRIMER': 1,
'PRIMER_NUM_RETURN': 5,
'PRIMER_OPT_SIZE': 20, 'PRIMER_MIN_SIZE': 18, 'PRIMER_MAX_SIZE': 25,
'PRIMER_OPT_TM': 60.0, 'PRIMER_MIN_TM': 58.0, 'PRIMER_MAX_TM': 62.0,
'PRIMER_PAIR_MAX_DIFF_TM': 2.0, # keep the pair within 2 C of each other
'PRIMER_MIN_GC': 40.0, 'PRIMER_MAX_GC': 60.0,
'PRIMER_PRODUCT_SIZE_RANGE': [[150, 400]],
'PRIMER_SALT_MONOVALENT': 50.0, # mM; match the reaction (drives Tm)
'PRIMER_SALT_DIVALENT': 1.5, # mM Mg2+
'PRIMER_DNTP_CONC': 0.6, # mM; subtracted from Mg2+ to get free Mg2+
'PRIMER_DNA_CONC': 50.0, # nM oligo
'PRIMER_EXPLAIN_FLAG': 1, # so a zero-pair run is diagnosable
})
for i in range(result['PRIMER_PAIR_NUM_RETURNED']):
print(result[f'PRIMER_LEFT_{i}_SEQUENCE'], result[f'PRIMER_RIGHT_{i}_SEQUENCE'],
round(result[f'PRIMER_LEFT_{i}_TM'], 1), round(result[f'PRIMER_RIGHT_{i}_TM'], 1),
result[f'PRIMER_PAIR_{i}_PRODUCT_SIZE'], round(result[f'PRIMER_PAIR_{i}_PENALTY'], 2))These are the most error-prone keys; the distinctions are load-bearing. All coordinates are 0-based by default (PRIMER_FIRST_BASE_INDEX), and every interval is [start, length], NOT [start, end].
SEQUENCE_TARGET = [start, length] -- a legal pair must FLANK the target (both primers outside, amplicon spans it). Use to force the amplicon to cover a feature.SEQUENCE_INCLUDED_REGION = [start, length] -- primers are CONFINED within it; no part of a primer may fall outside.SEQUENCE_EXCLUDED_REGION = [[start, length], ...] -- no primer may OVERLAP any listed interval (even by one base).SEQUENCE_PRIMER_PAIR_OK_REGION_LIST = [[lstart, llen, rstart, rlen], ...] -- per-pair windows for the left and right primer independently (-1 leaves a side free).SEQUENCE_OVERLAP_JUNCTION_LIST = [pos, ...] with PRIMER_MIN_3_PRIME_OVERLAP_OF_JUNCTION (default 4) and PRIMER_MIN_5_PRIME_OVERLAP_OF_JUNCTION (default 7) -- at least one primer must straddle a junction; the 3' overlap is the specificity-determining knob.SEQUENCE_FORCE_LEFT_START/_RIGHT_START (fix the 5' end) and _LEFT_END/_RIGHT_END (fix the 3' end) -- pin a primer to a known oligo while primer3 picks the partner.Polymerase extends only from a base-paired 3'-OH, so the terminal ~5 nt are the priming anchor: a 3'-terminal mismatch suppresses extension by orders of magnitude (Kwok 1990 Nucleic Acids Res 18:999), which is why primer3 weights 3'-end (_END) complementarity far above internal (_ANY). A GC clamp (PRIMER_GC_CLAMP, default 0; set 1) stabilizes the anchor, but a too-stable 3' end is double-edged -- it also anchors at off-target sites, so cap it with PRIMER_MAX_END_STABILITY (a positive stability magnitude for the 3'-terminal pentamer in kcal/mol, NOT a signed dG; library default 100.0 = effectively off; lowering to ~9 as a heuristic forbids over-stable ends). For a primer carrying a non-templated 5' tail (restriction site, Gibson arm, T7 promoter, universal tail): design the template-binding CORE in primer3 so its Tm reflects only the annealing region, then prepend the tail in software; pasting the full tailed oligo into a Tm calculator overestimates the anneal Tm. The tail still exists physically, so check dimers/hairpins on the FULL tailed oligo (-> primer-validation).
The Tm primer3 reports is an equilibrium midpoint against a perfect complement at the supplied oligo/salt concentration; the annealing temperature (Ta) the thermocycler runs is a separate operating point in a non-equilibrium reaction. A workable default is Ta ~3-5 C below the LOWER of the two primers' predicted Tm, then optimize empirically: a gradient PCR brackets the Ta giving a single product, and Rychlik's optimum (Ta_opt = 0.3Tm_primer + 0.7Tm_product - 14.9; Rychlik 1990 Nucleic Acids Res 18:6409) accounts for the product. When specificity is hard (paralogs, high background), use touchdown PCR (Don 1991 Nucleic Acids Res 19:4008): start Ta several degrees ABOVE the expected Tm so only the perfect target nucleates, then step down each cycle -- the specific product established first outcompetes later mispriming.
The same 3'-terminal sensitivity that causes allele dropout is the basis of allele-specific PCR: place the discriminating base at the primer's 3' TERMINUS so the off-allele mismatches the anchor and fails to extend, and add a second deliberate mismatch at the -2 or -3 position so the off-allele carries two destabilizing mismatches and the discrimination widens (Newton 1989 Nucleic Acids Res 17:2503). Design one allele-specific primer per allele sharing a common reverse primer, and confirm discrimination with no-template and opposite-allele controls. (This is the constructive inverse of the SNP-under-3'-end failure mode below.)
Trigger: Treating PRIMER_PAIR_0 as final. Mechanism: primer3 never sees off-target loci; a thermodynamically perfect pair can prime paralogs, pseudogenes, or repeats. Symptom: multiple bands on a gel; off-target amplicon in sequencing. Fix: route every chosen pair through primer-specificity (Primer-BLAST / in-silico PCR) before ordering.
Trigger: Wide PRIMER_MIN_TM/MAX_TM with no pair-difference cap. Mechanism: the lower-Tm primer is under-annealed at the anneal step, so one strand dominates. Symptom: weak/biased amplification, smeary product. Fix: set PRIMER_PAIR_MAX_DIFF_TM ~2 C and/or raise PRIMER_PAIR_WT_DIFF_TM.
Trigger: Passing [start, end] instead of [start, length], assuming 1-based, or swapping TARGET (force-flank) / INCLUDED (confine) / EXCLUDED (no-overlap). Mechanism: every region shifts or the wrong constraint applies. Symptom: primers land in the wrong place, or zero pairs return. Fix: use [start, length], keep PRIMER_FIRST_BASE_INDEX at 0, and match the tag to intent from the Decision Tree.
Trigger: A common variant beneath a primer's last ~5 nt. Mechanism: the primer matches one allele and mismatches the other at the anchor (Kwok 1990 Nucleic Acids Res 18:999), so the alternate allele is under-amplified. Symptom: allele dropout / spurious homozygosity. Fix: pull common SNPs (dbSNP/gnomAD, MAF >= 1%) and add them to SEQUENCE_EXCLUDED_REGION.
Trigger: Including a non-templated tail in the annealing-Tm calculation. Mechanism: the tail does not pair in early cycles but inflates the computed Tm. Symptom: annealing temperature set too high, early-cycle failure. Fix: design the core in primer3, append the tail after, re-check dimers on the full oligo.
| Threshold | Source | Rationale |
|---|---|---|
| Primer length 18-25 nt (opt 20) | Rozen & Skaletsky 2000 Methods Mol Biol 132:365 | long enough for specificity, short enough to anneal fast; primer3 default OPT 20 |
| Tm 58-62 C, pair within <=2 C | Koressaar & Remm 2007 Bioinformatics 23:1289 | matched Tm so both primers anneal at one Ta; predicted Tm is salt/conc-dependent |
| GC 40-60% | Rozen & Skaletsky 2000 Methods Mol Biol 132:365 | default 20-80 is far too wide; extremes prime poorly |
| GC clamp 1 (max 2 in last 5) | community/vendor practice (3'-anchor stability per SantaLucia 1998 PNAS 95:1460) | a stable 3' anchor aids extension; >=3 G/C invites mispriming (a design heuristic, not from the NN paper) |
PRIMER_MAX_END_STABILITY ~9 (heuristic) | community practice (param: Untergasser 2012 Nucleic Acids Res 40:e115) | positive stability magnitude (kcal/mol) of the 3'-pentamer; library default 100 is off; cap to curb mispriming |
PRIMER_MAX_POLY_X 4 | Untergasser 2012 Nucleic Acids Res 40:e115 | homopolymer 3' ends slip-register on repetitive template |
| Product 100-1000 bp (standard PCR) | -- | routine amplicon band; set per assay (qPCR 70-150 -> qpcr-primers) |
| Free Mg2+ ~= total Mg - total dNTP | Owczarzy 2008 Biochemistry 47:5336 | only free Mg2+ stabilizes the duplex; the #1 predicted-vs-bench Tm gap |
When PRIMER_PAIR_NUM_RETURNED == 0 this is a constraint problem, not a bug. Set PRIMER_EXPLAIN_FLAG = 1 and read PRIMER_LEFT_EXPLAIN, PRIMER_RIGHT_EXPLAIN, PRIMER_PAIR_EXPLAIN -- each tallies how many candidates failed for each reason ("considered 4500, GC content failed 1200, low tm 800, ... ok 0"). The dominant bucket names the single constraint to loosen. Loosen ONE constraint at a time and re-read; typical order of suspects: product-size range too narrow, Tm window too tight (or wrong salt/DNA-conc), GC window too tight, positional over-constraint, then complementarity ceilings.
| Error / symptom | Cause | Solution |
|---|---|---|
AttributeError: designPrimers | camelCase deprecated since primer3-py 1.0.0 | use primer3.design_primers (snake_case) |
| Zero pairs returned | bounds too tight / region too short / N-masked template | PRIMER_EXPLAIN_FLAG=1, loosen one constraint at a time |
| Tm differs from another tool | different salt-correction model or concentrations | match PRIMER_SALT_*, PRIMER_DNTP_CONC, PRIMER_DNA_CONC; compare like for like |
| Primers amplify multiple bands | no genome specificity check | route the pair to primer-specificity (BLAST / in-silico PCR) |
A SEQUENCE_*/PRIMER_* key is ignored | wrong dict (SEQUENCE in global_args or vice versa) | put SEQUENCE_* in seq_args, PRIMER_* in global_args |
| Allele dropout in some samples | SNP under a primer 3' end | exclude common variants from the primer-binding region |
| GC-rich/structured template will not amplify | high effective Tm and secondary structure | add DMSO/betaine/7-deaza-dGTP to lower effective Tm and disrupt structure -- a reagent lever orthogonal to redesign (primer3 does not model additives) |
© GPTomics, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 2 other files in primer-design/primer-basics of GPTomics/bioSkills.
Open the folder on GitHubat commit d91ed3d
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in GPTomics/bioSkills, which our catalogue first saw on October 7, 2026.
Bio Primer Design Primer Basics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Bio Primer Design Primer Basics this skillGPTomics/bioSkills | 1.2k | 1 repos | ~5.5k | Automated safety check: Pass | MIT | |
| Alphagenome Single Variant Analysisgoogle-deepmind/science-skills | 3.2k | 2 repos | ~3k | Automated safety check: Notes | Apache-2.0 | |
| 13C Metabolic Flux AnalysisK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~3.2k | Automated safety check: Pass | MIT | |
| Clinvar Databasegoogle-deepmind/science-skills | 3.2k | 2 repos | ~3.9k | Automated safety check: Notes | Apache-2.0 | |
| Metabolic Study Planneraiming-lab/AutoResearchClaw | 15k | — | ~1.9k | Automated safety check: Pass | MIT | |
| Dbsnp Databasegoogle-deepmind/science-skills | 3.2k | 2 repos | ~3.4k | Automated safety check: Notes | Apache-2.0 |
google-deepmind/science-skills
Analyzes genetic variant effects on gene expression (RNA-seq), chromatin accessibility (DNASE), histone marks (ChIP), and transcription factors using the AlphaGenome API.
K-Dense-AI/scientific-agent-skills
Estimates reaction fluxes inside cells from steady-state carbon-13 labeling data with a bundled mfapy-based solver, and reports which fluxes the data pin down.
google-deepmind/science-skills
A skill your agent uses when needing clinical significance, pathogenicity classifications (e.g., Pathogenic, Benign, VUS), clinical evidence rationales, or finding "hard positive" benchmark controls…
aiming-lab/AutoResearchClaw
Turns a broad metabolic modelling topic into a concrete, paper-shaped plan with organism, model, perturbations, metrics and figures before any FBA code is written.
google-deepmind/science-skills
A skill your agent uses when you want to look up, map, and search for short genetic variants (SNPs, indels) in NCBI's dbSNP database.
aiming-lab/AutoResearchClaw
Runs a metabolic flux analysis from model loading to phenotype prediction and figures by handing work to four sub-agents in sequence.
GPTomics/bioSkills
Read, write, and convert multiple sequence alignment files using Biopython Bio.AlignIO.
GPTomics/bioSkills
Installs the bioSkills collection of 425 bioinformatics skills in one step, or only chosen categories, so sequencing, RNA-seq, single-cell and variant tasks get specialized help.
GPTomics/bioSkills
Write biological sequences to files (FASTA, FASTQ, GenBank, EMBL) using Biopython Bio.SeqIO.
GPTomics/bioSkills
Soft- or hard-clips PCR primer footprints from aligned amplicon BAMs so primer bases stop masquerading as confirmed reference sequence.
GPTomics/bioSkills
Filters BAM alignments by FLAG bits, mapping quality and regions with samtools view or pysam, with recipes for common keep and drop cases.
GPTomics/bioSkills
Create and use BAI/CSI indices for BAM/CRAM files using samtools and pysam.
Categories
Designs and ranks PCR primer pairs for a target template with primer3-py (designprimers), returning pairs with nearest-neighbor Tm, GC, product size, and complementarity scores. Bio Primer Design Primer Basics is an agent skill from GPTomics/bioSkills. Designs and ranks PCR primer pairs for a target template with primer3-py (designprimers), returning pairs with nearest-neighbor Tm, GC, product size, and complementarity scores.
Bio Primer Design Primer Basics fits situations like: designing standard PCR; sequencing primers; flanking a target; screening pairs by Tm/size/GC.
Run `npx skills add GPTomics/bioSkills --skill bio-primer-design-primer-basics -a claude-code`. Or copy the skill folder (primer-design/primer-basics in GPTomics/bioSkills) into .claude/skills/bio-primer-design-primer-basics in your project. Claude Code loads it when a task matches its description.
Run `npx skills add GPTomics/bioSkills --skill bio-primer-design-primer-basics -a codex`. Or copy the skill folder (primer-design/primer-basics in GPTomics/bioSkills) into .agents/skills/bio-primer-design-primer-basics in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GPTomics/bioSkills --skill bio-primer-design-primer-basics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bio-primer-design-primer-basics, .gemini/skills/bio-primer-design-primer-basics, .github/skills/bio-primer-design-primer-basics and .opencode/skills/bio-primer-design-primer-basics in your project.
Going by SKILL.md and its folder, Bio Primer Design Primer Basics needs Python for the scripts in its folder and the command-line tools its instructions call (pip). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Bio Primer Design Primer Basics is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.5k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Bio Primer Design Primer Basics: Alphagenome Single Variant Analysis (google-deepmind/science-skills, 3.2k stars), 13C Metabolic Flux Analysis (K-Dense-AI/scientific-agent-skills, 48k stars), Clinvar Database (google-deepmind/science-skills, 3.2k stars) and Metabolic Study Planner (aiming-lab/AutoResearchClaw, 15k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
GPTomics (a GitHub organization) maintains it in GPTomics/bioSkills, which has 1,218 GitHub stars. The repository holds 559 skills in this directory. The repository was last updated on August 15, 2026.
Source: GPTomics/bioSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.