Forge Tools jaspar_tfbs

jaspar_tfbs read

scidex.forge.jaspar_tfbs

Query JASPAR 2024 for transcription factor (TF) binding site profiles. JASPAR is the gold-standard open-access database of curated TF binding motifs (position weight matrices). Returns profiles with matrix_id, tf_class, tf_family, information_content (bits), and n_sequences. Input: 1–10 TF names, NCBI taxon ID (default 9606 = Homo sapiens), JASPAR collection (default 'CORE'), and a minimum information content threshold (default 8.0 bits). TFs with no matching profiles are returned in not_found. Up to 5 concurrent requests. API: https://jaspar.elixir.cz/api/v1/

HTTP: POST /api/scidex/forge/jaspar_tfbs

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.jaspar_tfbs``.",
  "properties": {
    "tf_names": {
      "description": "Transcription factor names to query (e.g. ``['TP53', 'CTCF']``). Between 1 and 10 names per call.",
      "items": {
        "type": "string"
      },
      "title": "Tf Names",
      "type": "array"
    },
    "species": {
      "default": 9606,
      "description": "NCBI taxon ID for the species to query. Default 9606 (Homo sapiens). Use 10090 for Mus musculus.",
      "minimum": 1,
      "title": "Species",
      "type": "integer"
    },
    "collection": {
      "default": "CORE",
      "description": "JASPAR collection to search. Default ``'CORE'`` (manually reviewed, non-redundant profiles). Other collections: ``'UNVALIDATED'``, ``'PHYLOFACTS'``, ``'CNE'``, ``'POLII'``, ``'FAM'``, ``'PBM'``, ``'PBM_HOMEO'``, ``'PBM_HLH'``.",
      "maxLength": 32,
      "title": "Collection",
      "type": "string"
    },
    "min_ic": {
      "default": 8,
      "description": "Minimum total information content (bits) to include a profile. Profiles with ``information_content < min_ic`` are excluded. Default 8.0 bits (filters low-specificity matrices).",
      "minimum": 0,
      "title": "Min Ic",
      "type": "number"
    }
  },
  "required": [
    "tf_names"
  ],
  "title": "ForgeJASPARTFBSIn",
  "type": "object"
}
Output schema
{
  "$defs": {
    "JASPARProfile": {
      "description": "One JASPAR 2024 transcription factor binding site profile.",
      "properties": {
        "matrix_id": {
          "description": "JASPAR matrix accession (e.g. 'MA0106.3').",
          "title": "Matrix Id",
          "type": "string"
        },
        "tf_name": {
          "description": "Official transcription factor name.",
          "title": "Tf Name",
          "type": "string"
        },
        "tf_class": {
          "description": "TF structural class (e.g. 'Zinc-coordinating').",
          "title": "Tf Class",
          "type": "string"
        },
        "tf_family": {
          "description": "TF family (e.g. 'p53').",
          "title": "Tf Family",
          "type": "string"
        },
        "information_content": {
          "description": "Total information content of the position weight matrix (bits).",
          "title": "Information Content",
          "type": "number"
        },
        "n_sequences": {
          "description": "Number of binding sequences used to build this profile.",
          "title": "N Sequences",
          "type": "integer"
        },
        "jaspar_url": {
          "description": "Direct URL to the JASPAR matrix page.",
          "title": "Jaspar Url",
          "type": "string"
        }
      },
      "required": [
        "matrix_id",
        "tf_name",
        "tf_class",
        "tf_family",
        "information_content",
        "n_sequences",
        "jaspar_url"
      ],
      "title": "JASPARProfile",
      "type": "object"
    }
  },
  "description": "Response shape for ``scidex.forge.jaspar_tfbs``.",
  "properties": {
    "profiles": {
      "description": "JASPAR profiles matching the query, filtered by ``min_ic``. Multiple profiles per TF are possible when more than one matrix version or cell-type-specific variant exists.",
      "items": {
        "$ref": "#/$defs/JASPARProfile"
      },
      "title": "Profiles",
      "type": "array"
    },
    "not_found": {
      "description": "TF names for which no profiles were found, or all profiles fell below the ``min_ic`` threshold.",
      "items": {
        "type": "string"
      },
      "title": "Not Found",
      "type": "array"
    },
    "took_ms": {
      "description": "Wall-clock time for all upstream API calls (ms).",
      "title": "Took Ms",
      "type": "integer"
    }
  },
  "required": [
    "took_ms"
  ],
  "title": "ForgeJASPARTFBSOut",
  "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/jaspar_tfbs' \
  -H 'authorization: Bearer $SCIDEX_JWT' \
  -H 'content-type: application/json' \
  -d '{
  "tf_names": []
}'

Discussion

Posting anonymously. Sign in for attribution.

No comments yet — be the first.