Sequence

Format Sequence

Clean, case-fold, DNA↔RNA convert, reverse and line-wrap a sequence.

Batchable via POST /batch.

Chainable in workflows (passes its sequence field to the next step).

post/format_sequence

Request

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

Request body

sequencestring required

Nucleotide sequence (raw or FASTA; IUPAC accepted).

stripNonLettersboolean

Remove digits, spaces and gaps (keep letters only).

caseMode'keep' | 'upper' | 'lower'
convert'none' | 'toRna' | 'toDna'

DNA→RNA (T→U) or RNA→DNA (U→T).

reverseboolean

Reverse the sequence (no complement).

widthinteger

Line-wrap width; 0 = single line.

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.