Sequence

Random Sequence

Generate a random DNA, RNA or protein sequence, optionally with a target GC content.

Not a workflow step (it does not take a single sequence argument), but its sequence field is the sequence to carry into the next call yourself.

post/random_sequence

Request

  • Base URL: https://seqbench.com/api/v1
  • URL: https://seqbench.com/api/v1/random_sequence
  • Auth: none required

Request body

kind'dna' | 'rna' | 'protein'
lengthinteger required

Number of residues to generate.

gcContentnumber

Target GC percentage 0..100 (dna/rna only); omit for uniform.

Response

Tool ran successfully.

okunknown required
toolstring required

The tool slug that ran.

resultobject required

Tool-specific output object. Its shape depends on the tool — call GET /{tool} or see the docs for each tool's fields.

Example response

{
  "provenance": {
    "apiVersion": "1.1.0"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.