Ranomics
FACS cell sorter used to screen yeast surface display libraries
Library design method

Yeast Display Library Planner

How a yeast display library gets sized against the yeast transformation ceiling, how the codon scheme is picked to cover the diversity you actually need, and how NGS depth is calculated for multi-round sort experiments. Impossibility flags are far cheaper to catch here than in burned synthesis budget.

The self-serve Library Planner is no longer offered.

The calculations below are the ones our team works through when scoping scFv, VHH, and alternative scaffold libraries for yeast surface display campaigns.

How it works

From scaffold description to scoping-ready plan

01

Start from the scaffold

The inputs are a scaffold (VHH, scFv, Fab, DARPin, or custom), the number of positions to be diversified, the target KD, the starting material, and a target NGS coverage. No parent sequence is needed: the pass is over the shape of the library, not the sequence it is built on.

02

Settle the codon scheme

NNK, NNS, NNN, and trimer each carry their own codon count and stop count. The codons in the chosen scheme that S. cerevisiae decodes rarely are counted with their usage frequencies, and the scheme is then matched to the position count and scaffold.

03

Size library and NGS

Library-size math against the yeast transformation ceiling, then Poisson-based NGS coverage calculations for each sort round.

04

Weigh the feasibility flags

Some conflicts mean a plan cannot proceed as designed and others mean it is risky but worth attempting, and a round-by-round table gives each sort round its method, labelling concentration, and gate.

Methodology

Five calculations behind the plan

Every number below traces to an explicit, inspectable calculation. Each one carries the arithmetic behind it rather than standing as a verdict alone, and the NGS coverage model is Poisson, so a reviewer can reproduce the read budget by hand.

Library complexity math

Sizes an NNK, NNS, NNN, or trimer library against the single-batch yeast transformation ceiling of roughly 10^8 unique variants. A 20-position NNK scan is 32^20, or about 10^30 theoretical sequences, far beyond what any yeast library can sample. Theoretical diversity that runs more than 100x past that ceiling is a plan that cannot proceed as designed, and the scheme has to be re-picked for the scale the campaign actually needs.

Codon bias analysis

Checks every codon the chosen scheme commits to against S. cerevisiae codon usage and counts how many fall below a rare-codon frequency threshold, since a scheme that over-samples codons yeast decodes poorly shrinks the functional library. The scheme that survives that check is the one matched to the position count and scaffold.

NGS read depth

Poisson-based coverage confidence for pre-sort and post-sort NGS. The read depth required to recover a given variant at a target confidence level is worked out for each sort round, so sequencing is budgeted against enrichment expectations rather than guessed.

Sort strategy

Three FACS rounds at tightening gates, with the labelling concentration titrated log-linearly down to a tenth of the target KD from a starting multiple set by the starting material. A MACS pre-enrichment round goes first when the stop-free functional library passes 10^8 for a naive library or 5x10^9 for an immunized one; a computational design pool does not need one.

Failure-mode detection

Catches the plans that cannot physically work. Example: 20 NNK-randomized positions encode 32^20, about 10^30 combinations, versus the 10^8 yeast transformation ceiling, a gap of roughly 22 orders of magnitude. Conflicts on that scale are worth surfacing up front, before synthesis orders go out.

When this math matters

Plan the library before you buy the DNA

Most yeast display campaigns that underperform were undercooked at the planning stage. A diversification strategy that looks reasonable in a slide deck often turns out to be 10^15 variants too large for yeast to sample. Codon bias, NGS budgets, and sort strategy are all decided before any cell is transformed.

Settling these decisions in one pass, before gene synthesis and before the sort plan is finalized, is what lets you answer a reviewer who asks how the library size was picked.

Scoping a VHH library before committing to synthesis and transformation

Comparing CDR-focused versus full-surface diversification for an scFv

Planning NGS read depth and sequencing budget for a multi-round sort

Evaluating whether a design pool from BindCraft or RFdiffusion fits on yeast

Sizing a saturation library for affinity maturation of an existing lead

Plan your next library

Send us the scaffold, the diversification pattern, and the target KD, and our team will work the numbers through with you. For a library you need built and screened as well as planned, we can take it end to end.