Files & formats

Update a map from a sequencing consensus

Write the differences a whole-plasmid sequencing consensus shows into the map, keeping the map's annotation: every feature is shifted, grown or shrunk with the edit, a feature whose boundary an edit cuts is trimmed (and named), and differences in a known nanopore error context (Dam/Dcm methylation sites, long homopolymers) are left out unless keepArtifacts is set. Returns the updated map as a GenBank record and as SnapGene .dna bytes (base64), plus a change log. Use it when the clone is what you want and the MAP is out of date — a change every clone carries, a redesigned primer, a different allele — not to absorb one clone's mutation. positions limits the update to those design positions (e.g. only the changes shared by every clone).

post/map_update_from_consensus

Request

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

Request body

designstring required

The map to update: your annotated GenBank record (what keeps the features), FASTA or bare bases.

consensusstring required

The assembled consensus from the sequencing service, raw or FASTA. One record.

circularboolean

Treat both as circular (right for a plasmid).

keepArtifactsboolean

Also write differences that sit in a known nanopore error context. Off by default: those are usually read-out artifacts, and writing one into the map makes it wrong.

positionsinteger[]

Write only the differences at these design positions (1-based). Omitted: every difference.

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.