Get Results for a Batch Search

This endpoint retrieves alignment search results corresponding to the ticket issued for a batch search request.

HTTP Request

GET http://example.com/ticket/<TICKET>

URL Parameters

Parameter Description
TICKET The ticket for which results are retrieved.

Query Parameters

Parameter Description
offset An optional 0-based index from which to start retrieving results (default: 0)
N The maximum number of results to retrieve (default: retrieves all results)

Response

{
  "impl":"last",
  "alignments":[
    {
      "queryid":"VIOA_CHRVO",
      "queryalignseq":"MKHSSDICI...",
      "querylenseq":418,
      "queryalignstart":0,
      "targetid":"UniRef50_Q9S3V1",
      "targetalignseq":"MKHSSDICI...",
      "targetlenseq":418,
      "targetalignstart":0,
      "bitscore":983,
      "evalue":1.9e-320
    },
    {
      "queryid":"VIOA_CHRVO",
      "queryalignseq":"MKHSSDICI...",
      "querylenseq":418,
      "queryalignstart":0,
      "targetid":"UniRef50_A0A1E7VPW7",
      "targetalignseq":"MTNYSDICI...",
      "targetlenseq":448,
      "targetalignstart":13,
      "bitscore":507,"evalue":1.1e-153
    },
    ...
  ],
  "namespaces":[
    {
      "id":"uniref50","desc":"The UniRef 50 database",
      "datasource":"UniProt",
      "database":"uniref50",
      "lastmod":1537919196,
      "seqcount":10000
    },
  ]
}

Examples

curl http://example.com/ticket/<TICKET>

The above command returns a JSON object containing data for any alignments found for the query sequence against the target namespace, as well as metadata for the given namespace.