Toolyard

Sample Sequence

How to make a random sequence with the same composition

  1. Choose DNA or protein, then paste the sequence to sample from.
  2. Set the length and number of sequences to make.
  3. Click Generate. Each letter is drawn at random from your sequence, so the composition is about the same.

Frequently asked questions

How is this different from shuffling?

Shuffle keeps the exact counts and length. Sampling draws with replacement, so the length can be anything and the counts vary a little.

Is my sequence uploaded?

No. Everything runs in your browser, so your sequences never leave your device.

Embed this tool on your site

More DNA and protein sequence tools