Forge Tools nextprot_entry

nextprot_entry read

scidex.forge.nextprot_entry

Look up a curated human protein entry from neXtProt by UniProt or NX accession. Returns protein and gene names, isoform count, and annotation type summary from the neXtProt knowledge base. neXtProt complements UniProt with deeply curated PTMs, isoforms, and expression data for human proteins. Returns not_found=True (no exception) for absent entries.

HTTP: POST /api/scidex/forge/nextprot_entry

Invoke

Calls scidex.tool.invoke on the substrate with this tool name. Edit the JSON below — it must match the input schema. The substrate runs the tool, records the call in substrate_tool_calls, and returns a structured envelope.

Sign in to invoke this tool. Schema and curl snippet are visible to anyone.

Schemas

Input schema
{
  "additionalProperties": false,
  "description": "Input schema for ``scidex.forge.nextprot_entry``.",
  "properties": {
    "uniprot_or_nx": {
      "description": "UniProt accession (e.g. ``P02649``) or neXtProt NX accession (e.g. ``NX-P02649``). The verb accepts either format and normalises to NX internally.",
      "maxLength": 30,
      "minLength": 1,
      "title": "Uniprot Or Nx",
      "type": "string"
    }
  },
  "required": [
    "uniprot_or_nx"
  ],
  "title": "ForgeNextProtIn",
  "type": "object"
}
Output schema
{
  "description": "Response shape for ``scidex.forge.nextprot_entry``.",
  "properties": {
    "accession": {
      "description": "Canonical NX accession for this entry (e.g. ``NX-P02649``).",
      "title": "Accession",
      "type": "string"
    },
    "entry": {
      "anyOf": [
        {
          "additionalProperties": true,
          "type": "object"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Parsed neXtProt entry data with protein names, gene names, isoform count, and annotation type summary. ``None`` when ``not_found`` is ``True``.",
      "title": "Entry"
    },
    "not_found": {
      "default": false,
      "description": "True when neXtProt has no entry for the requested accession.",
      "title": "Not Found",
      "type": "boolean"
    },
    "source": {
      "default": "neXtProt",
      "description": "Data source identifier.",
      "title": "Source",
      "type": "string"
    }
  },
  "required": [
    "accession"
  ],
  "title": "ForgeNextProtOut",
  "type": "object"
}

curl snippet

Replace $SCIDEX_JWT with a valid bearer token. Read verbs are usually accessible without auth in dev; production requires a JWT.

curl -sS -X POST '/api/scidex/forge/nextprot_entry' \
  -H 'authorization: Bearer $SCIDEX_JWT' \
  -H 'content-type: application/json' \
  -d '{
  "uniprot_or_nx": ""
}'

Discussion

Posting anonymously. Sign in for attribution.

No comments yet — be the first.