Available endpoints

  1. /targets/count

    Show count of targets.

    Example: /targets/count

Batches

  1. /batches

    Get list of batches and count of targets per batch

    Example: /batches
  2. /batch/:batchid

    Get target list from batch

    Example: /batch/set526

Targets

  1. /targets

    Get target list as json (only first page, same as /targets/1)

    Example: /targets
  2. /targets/:page

    Get target list as json, used for pagination.

    Example: /targets/4
  3. /target/:targetId

    JSON with information about specific target

    Example: /target/IDP90283
  4. /subtargets/:targetId

    List of subtargets of specific target

    Example: /subtargets/IDP90283
  5. /clones/:targetId

    List of clones of specific target

    Example: /clones/IDP90283
  6. /search/target/ncbi/:ncbi_acc

    List of targets matching given NCBI accession, returns empty array if there are no matches

    Example: /search/target/ncbi/DS984767.1

Species

  1. /species

    List of tax IDs and species

    Example: /species
  2. /speciesfull

    List of species with full details

    Example: /speciesfull
  3. /speciescount

    List of species and count of targets for each

    Example: /speciescount
  4. /targets/species/:taxid

    List of targets for given taxon id

    Example: /targets/species/2697049

Structures

  1. /structures

    List of all structures

    Example: /structures
  2. /structures/:stype

    List of all structures of given type (xray|em|nmr). For all other stype will return full list of structures

    Example: /structures/nmr
  3. /structures/target/:targetid

    List of structures for target

    Example: /structures/target/IDP02499

Publications

  1. /publications

    List of all publications, reverse chronological order

    Example: /publications
  2. /publications/target/:targetid

    List of all publication for given target id.

    Example: /publications/target/IDP90283
  3. /publications/pdb/:pdbid

    List of all publication for given PDB id.

    Example: /publications/pdb/3IJR


Blast

  1. POST: /blast/start

    Starts BLAST job

    Payload: { "sequence": "proteinsequence", "seqheader": ">HEADER" }

    Returns JSON with jobid: { message: "BLAST search submitted", time: date, jobid: jobid }

  2. POST: /blast/startjoint

    Starts BLAST job against combined database of CSBID and SSGCID targets

  3. POST: /blast/pdb

    Starts BLAST job against database of sequences from PDB

  4. /blast/status/:jobid

    Returs status of blast job as : "running", "failed", "finished"

  5. /blast/results/:jobid

    Returns json with blast results

        {   "message": "Results for job 2023-06-13-100531",
            "time": "2023-06-13",
            "sequence": "MMKLKEMVE...RSRR",
            "results": [
                {
                "idp": "IDP91521",
                "evalue": "4.37e-166",
                "qstart": 1,
                "qend": 240,
                "sstart": 1,
                "send": 240,
                "pident": 100,
                "slen": 1990
                },....
            ]
        }