Skip to content
HALOWERK

Textwerk

string smith waterman local trace

Return the best local alignment of two supplied strings with an explicit edit-column trace.

POST https://text.halowerk.com/v1/string-smith-waterman-local-trace

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
astringYes
bstringYes
matchintegerYes
mismatchintegerYes
gapintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "a": {
      "type": "string",
      "maxLength": 256
    },
    "b": {
      "type": "string",
      "maxLength": 256
    },
    "match": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "mismatch": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "gap": {
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    }
  },
  "required": [
    "a",
    "b",
    "match",
    "mismatch",
    "gap"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "a": "GATTACA",
  "b": "TACA",
  "match": 3,
  "mismatch": 2,
  "gap": 2
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub →