Files & formats

Structure file reader (PDB / mmCIF)

Read a PDB or mmCIF structure file — an RCSB PDB entry, or a model from AlphaFold DB, AlphaFold Server or ColabFold — and report what is in it: every polymer chain with its molecule type, name and one-letter sequence (all chains also as FASTA), how many residues have coordinates and which stretches of the sequence do not, bound ligands and waters, and the experimental method and resolution. When the file itself marks its B-factor column as a confidence score (a pLDDT metric, an AlphaFold title, or one value per residue with no experimental method), each chain's mean pLDDT and its stretches below 50 are reported too; otherwise B-factors are left alone. Only the first model of a multi-model file is read. Reads the text; nothing is fetched.

post/parse_structure

Request

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

Request body

textstring required

The whole .pdb or .cif file as text.

namestring

What to call the FASTA records when the file carries no entry id (e.g. the file name).

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.