MultiBlast Report Service v2.0.0

link

Resources

get /jobs

List Jobs  

Lists the current user's blast report jobs.

Parameters chevron_right expand_more

ParameterTypeDescription
Query
query_job_id Query Job IDstring

Filters the results of the endpoint down to only report jobs that belong to the given target query job ID.

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

curl -X GET \
  undefined/jobs?query_job_id=<value>

200 OK chevron_right expand_more

Success

Returns a list of report jobs.

application/json

application/json

ParameterTypeDescription
[] Report Job List Entryobject

Short-form details about a report job that has been submitted. This object is intended to appear in a list of similar objects for report job list endpoints.

Inherits: object

[].reportJobID* Report Job IDstring

Hash ID of the report job.

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

[].queryJobID* Query Job IDstring

Hash ID of the source query job.

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

[].status* Job Statusstring

Current status of the represented report job.

Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

[].userMeta Job Metaobject

User provided metadata about the represented report job.

Inherits: lib.ReportJobUserMeta

[].userMeta.summary Summarystring

Optional, one line user summary about a target job.

Max. length: 512

[].userMeta.description Descriptionstring

Optional, longform description of a target job.

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

post /jobs

Create New Job  

Creates a new report job from the posted configuration.

curl -X POST \
  -H "Content-type: application/json"
  -d @body.json \
  undefined/jobs

Request Body chevron_right expand_more

Report Job Request ReportJobPostRequest

application/json

Request body sent to start a new report job.

Inherits: object

ParameterTypeDescription
queryJobID*string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

blastConfigobject

Default value: {"formatType":"pairwise"}

Inherits: lib.BlastFormatConfig

blastConfig.formatType Format Typestring
IdentifierDescription
pairwisePairwise
query-anchored-with-identitiesQuery-anchored showing identities
query-anchored-no-identitiesQuery-anchored no identities
flat-query-anchored-with-identitiesFlat query-anchored showing identities
flat-query-anchored-no-identitiesFlat query-anchored no identities
xmlBLAST XML
tabularTabular
tabular-with-commentsTabular with comment lines
seqalign-textSeqalign (Text ASN.1)
seqalign-binarySeqalign (Binary ASN.1)
csvComma-separated values
asn1BLAST archive (ASN.1)
seqalign-jsonSeqalign (JSON)
multi-file-blast-jsonMultiple-file BLAST JSON
multi-file-blast-xml2Multiple-file BLAST XML2
single-file-blast-jsonSingle-file BLAST JSON
single-file-blast-xml2Single-file BLAST XML2
samSequence Alignment/Map (SAM)
organism-reportOrganism Report

Default value: "pairwise"

Enum:
  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
  • xml
  • tabular
  • tabular-with-comments
  • seqalign-text
  • seqalign-binary
  • csv
  • asn1
  • seqalign-json
  • multi-file-blast-json
  • multi-file-blast-xml2
  • single-file-blast-json
  • single-file-blast-xml2
  • sam
  • organism-report

Inherits: lib.BlastOutFormat

blastConfig.formatFields Report Fieldsarray

Fields to include in the generated report.

Custom field selection is only valid for the following formatType values:

  • tabular
  • tabular-with-comments
  • csv
  • sam

For all other formatType values, including this field is an error.

blastConfig.formatFields[] Blast Report Fieldstring
FieldMeaning
qseqidQuery Seq-id
qgiQuery GI
qaccQuery accesion
qaccverQuery accesion.version
qlenQuery sequence length
sseqidSubject Seq-id
sallseqidAll subject Seq-id(s), separated by a ';'
sgiSubject GI
sallgiAll subject GIs
saccSubject accession
saccverSubject accession.version
sallaccAll subject accessions
slenSubject sequence length
qstartStart of alignment in query
qendEnd of alignment in query
sstartStart of alignment in subject
sendEnd of alignment in subject
qseqAligned part of query sequence
sseqAligned part of subject sequence
evalueExpect value
bitscoreBit score
scoreRaw score
lengthAlignment length
pidentPercentage of identical matches
nidentNumber of identical matches
mismatchNumber of mismatches
positiveNumber of positive-scoring matches
gapopenNumber of gap openings
gapsTotal number of gaps
pposPercentage of positive-scoring matches
framesQuery and subject frames separated by a '/'
qframeQuery frame
sframeSubject frame
btopBlast traceback operations (BTOP)
staxidSubject Taxonomy ID
sscinameSubject Scientific Name
scomnameSubject Common Name
sblastnameSubject Blast Name
sskingdomSubject Super Kingdom
staxidsunique Subject Taxonomy ID(s), separated by a ';' (in numerical order)
sscinamesunique Subject Scientific Name(s), separated by a ';'
scomnamesunique Subject Common Name(s), separated by a ';'
sblastnamesunique Subject Blast Name(s), separated by a ';' (in alphabetical order)
sskingdomsunique Subject Super Kingdom(s), separated by a ';' (in alphabetical order)
stitleSubject Title
salltitlesAll Subject Title(s), separated by a '<>'
sstrandSubject Strand
qcovsQuery Coverage Per Subject
qcovhspQuery Coverage Per HSP
qcovusQuery Coverage Per Unique Subject (blastn only)
SQInclude Sequence Data
SRSubject as Reference Seq
std'qaccver saccver pident length mismatch gapopen qstart qend sstart send evalue bitscore'
Enum:
  • qseqid
  • qgi
  • qacc
  • qaccver
  • qlen
  • sseqid
  • sallseqid
  • sgi
  • sallgi
  • sacc
  • saccver
  • sallacc
  • slen
  • qstart
  • qend
  • sstart
  • send
  • qseq
  • sseq
  • evalue
  • bitscore
  • score
  • length
  • pident
  • nident
  • mismatch
  • positive
  • gapopen
  • gaps
  • ppos
  • frames
  • qframe
  • sframe
  • btop
  • staxid
  • ssciname
  • scomname
  • sblastname
  • sskingdom
  • staxids
  • sscinames
  • scomnames
  • sblastnames
  • sskingdoms
  • stitle
  • salltitles
  • sstrand
  • qcovs
  • qcovhsp
  • qcovus
  • SQ
  • SR
  • std

Inherits: lib.BlastOutField

blastConfig.showGIs Show GIsboolean

Show NCBI GIs in deflines?

blastConfig.numDescriptions Number of Descriptionsinteger

Number of database sequences to show one-line descriptions for.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Format: int

blastConfig.numAlignments Number of Alignmentsinteger

Number of database sequences to show alignments for.

Incompatible with maxTargetSequences.

Format: int

blastConfig.lineLength Line Lengthinteger

Line length for formatting alignments

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Min. value: 1

Format: int

blastConfig.sortHits Sort Hitsstring

Sorting option for hits.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
Enum:
  • by-evalue
  • by-bit-score
  • by-total-score
  • by-percent-identity
  • by-query-coverage

Inherits: lib.BlastHitSorting

blastConfig.sortHSPs Sort HSPsstring

Sorting option for HSPs.

Only applicable for formatType value pairwise.

Enum:
  • by-hsp-evalue
  • by-hsp-score
  • by-hsp-query-start
  • by-hsp-percent-identity
  • by-hsp-subject-start

Inherits: lib.BlastHSPSorting

blastConfig.maxTargetSequences Max Target Sequencesinteger

Maximum number of aligned sequences to keep.

Incompatible with:

  • numDescriptions
  • numAlignments

Min. value: 5

blastConfig.parseDefLines Parse Query Definition Linesboolean

Should the query and subject defline(s) be parsed?

addToUserCollectionboolean

Default value: true

userMetaobject

User provided metadata about a report job.

Inherits: lib.ReportJobUserMeta

userMeta.summary Summarystring

Optional, one line user summary about a target job.

Max. length: 512

userMeta.description Descriptionstring

Optional, longform description of a target job.

200 OK chevron_right expand_more

Success

Job was submitted successfully and the job details have been returned.

Job Creation Response JobCreateResponse

application/json

Response body returned on the successful creation of a new BLAST report job.

Inherits: object

ParameterTypeDescription
reportJobID* Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

400 Bad Request chevron_right expand_more

Bad Request

Request body could not be parsed into a config object.

Bad Request BadRequestError

application/json

Request could not be parsed or was otherwise unusable.

Discriminator: status

Discriminator value: bad-request

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "bad-request",
  "message": "malformed JSON"
}

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

422 Unprocessable Entity chevron_right expand_more

Unprocessable Request

Job configuration was semantically invalid and could not be submitted.

Unprocessable Entity UnprocessableEntityError

application/json

The request payload or parameters are correctly structured but fail resource specific validation.

Discriminator: status

Discriminator value: invalid-input

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
errors*object

Additional properties: Yes

errors.general*array

Non-field specific errors.

errors.general[]string
errors.byKey*object

Field specific errors

Additional properties: Yes

errors.byKey.//*array
errors.byKey.//[]string

Response Body

{
  "status": "invalid-input",
  "message": "JSON validation failed",
  "errors": {
    "general": [],
    "byKey": {
      "id": [
        "Given ID value does not point to an existing record."
      ]
    }
  }
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

delete /jobs/{job-id}

Delete Job by ID  

Deletes a target job from a user's job collection.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

curl -X DELETE \
  undefined/jobs/{job-id}

204 No Content chevron_right expand_more

The job was successfully deleted from the user's job collection.

401 Unauthorized chevron_right expand_more

The request did not contain the required authorization information.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

404 Not Found chevron_right expand_more

The target job was not found in the user's job collection.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

The service encountered an unhandled exception while attempting to process the request.

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /jobs/{job-id}

Get Job by ID  

Lookup a job's details by the job's ID.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Query
save_job Save Jobboolean

Flag that specifies whether the requested job should be saved to the user's job collection.

To maintain legacy job sharing behavior, this parameter defaults to true.

Default value: true

curl -X GET \
  undefined/jobs/{job-id}?save_job=<value>

200 OK chevron_right expand_more

Success

Report Job Details ReportJobDetails

application/json

Longform details about a report job that has been submitted.

Inherits: object

ParameterTypeDescription
reportJobID* Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

status* Job Statusstring
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

blastConfig*object

Inherits: lib.BlastFormatConfig

blastConfig.formatType Format Typestring
IdentifierDescription
pairwisePairwise
query-anchored-with-identitiesQuery-anchored showing identities
query-anchored-no-identitiesQuery-anchored no identities
flat-query-anchored-with-identitiesFlat query-anchored showing identities
flat-query-anchored-no-identitiesFlat query-anchored no identities
xmlBLAST XML
tabularTabular
tabular-with-commentsTabular with comment lines
seqalign-textSeqalign (Text ASN.1)
seqalign-binarySeqalign (Binary ASN.1)
csvComma-separated values
asn1BLAST archive (ASN.1)
seqalign-jsonSeqalign (JSON)
multi-file-blast-jsonMultiple-file BLAST JSON
multi-file-blast-xml2Multiple-file BLAST XML2
single-file-blast-jsonSingle-file BLAST JSON
single-file-blast-xml2Single-file BLAST XML2
samSequence Alignment/Map (SAM)
organism-reportOrganism Report

Default value: "pairwise"

Enum:
  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
  • xml
  • tabular
  • tabular-with-comments
  • seqalign-text
  • seqalign-binary
  • csv
  • asn1
  • seqalign-json
  • multi-file-blast-json
  • multi-file-blast-xml2
  • single-file-blast-json
  • single-file-blast-xml2
  • sam
  • organism-report

Inherits: lib.BlastOutFormat

blastConfig.formatFields Report Fieldsarray

Fields to include in the generated report.

Custom field selection is only valid for the following formatType values:

  • tabular
  • tabular-with-comments
  • csv
  • sam

For all other formatType values, including this field is an error.

blastConfig.formatFields[] Blast Report Fieldstring
FieldMeaning
qseqidQuery Seq-id
qgiQuery GI
qaccQuery accesion
qaccverQuery accesion.version
qlenQuery sequence length
sseqidSubject Seq-id
sallseqidAll subject Seq-id(s), separated by a ';'
sgiSubject GI
sallgiAll subject GIs
saccSubject accession
saccverSubject accession.version
sallaccAll subject accessions
slenSubject sequence length
qstartStart of alignment in query
qendEnd of alignment in query
sstartStart of alignment in subject
sendEnd of alignment in subject
qseqAligned part of query sequence
sseqAligned part of subject sequence
evalueExpect value
bitscoreBit score
scoreRaw score
lengthAlignment length
pidentPercentage of identical matches
nidentNumber of identical matches
mismatchNumber of mismatches
positiveNumber of positive-scoring matches
gapopenNumber of gap openings
gapsTotal number of gaps
pposPercentage of positive-scoring matches
framesQuery and subject frames separated by a '/'
qframeQuery frame
sframeSubject frame
btopBlast traceback operations (BTOP)
staxidSubject Taxonomy ID
sscinameSubject Scientific Name
scomnameSubject Common Name
sblastnameSubject Blast Name
sskingdomSubject Super Kingdom
staxidsunique Subject Taxonomy ID(s), separated by a ';' (in numerical order)
sscinamesunique Subject Scientific Name(s), separated by a ';'
scomnamesunique Subject Common Name(s), separated by a ';'
sblastnamesunique Subject Blast Name(s), separated by a ';' (in alphabetical order)
sskingdomsunique Subject Super Kingdom(s), separated by a ';' (in alphabetical order)
stitleSubject Title
salltitlesAll Subject Title(s), separated by a '<>'
sstrandSubject Strand
qcovsQuery Coverage Per Subject
qcovhspQuery Coverage Per HSP
qcovusQuery Coverage Per Unique Subject (blastn only)
SQInclude Sequence Data
SRSubject as Reference Seq
std'qaccver saccver pident length mismatch gapopen qstart qend sstart send evalue bitscore'
Enum:
  • qseqid
  • qgi
  • qacc
  • qaccver
  • qlen
  • sseqid
  • sallseqid
  • sgi
  • sallgi
  • sacc
  • saccver
  • sallacc
  • slen
  • qstart
  • qend
  • sstart
  • send
  • qseq
  • sseq
  • evalue
  • bitscore
  • score
  • length
  • pident
  • nident
  • mismatch
  • positive
  • gapopen
  • gaps
  • ppos
  • frames
  • qframe
  • sframe
  • btop
  • staxid
  • ssciname
  • scomname
  • sblastname
  • sskingdom
  • staxids
  • sscinames
  • scomnames
  • sblastnames
  • sskingdoms
  • stitle
  • salltitles
  • sstrand
  • qcovs
  • qcovhsp
  • qcovus
  • SQ
  • SR
  • std

Inherits: lib.BlastOutField

blastConfig.showGIs Show GIsboolean

Show NCBI GIs in deflines?

blastConfig.numDescriptions Number of Descriptionsinteger

Number of database sequences to show one-line descriptions for.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Format: int

blastConfig.numAlignments Number of Alignmentsinteger

Number of database sequences to show alignments for.

Incompatible with maxTargetSequences.

Format: int

blastConfig.lineLength Line Lengthinteger

Line length for formatting alignments

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Min. value: 1

Format: int

blastConfig.sortHits Sort Hitsstring

Sorting option for hits.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
Enum:
  • by-evalue
  • by-bit-score
  • by-total-score
  • by-percent-identity
  • by-query-coverage

Inherits: lib.BlastHitSorting

blastConfig.sortHSPs Sort HSPsstring

Sorting option for HSPs.

Only applicable for formatType value pairwise.

Enum:
  • by-hsp-evalue
  • by-hsp-score
  • by-hsp-query-start
  • by-hsp-percent-identity
  • by-hsp-subject-start

Inherits: lib.BlastHSPSorting

blastConfig.maxTargetSequences Max Target Sequencesinteger

Maximum number of aligned sequences to keep.

Incompatible with:

  • numDescriptions
  • numAlignments

Min. value: 5

blastConfig.parseDefLines Parse Query Definition Linesboolean

Should the query and subject defline(s) be parsed?

userMetaobject

User provided metadata about a report job.

Inherits: lib.ReportJobUserMeta

userMeta.summary Summarystring

Optional, one line user summary about a target job.

Max. length: 512

userMeta.description Descriptionstring

Optional, longform description of a target job.

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

404 Not Found chevron_right expand_more

Target job does not exist.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

post /jobs/{job-id}

Rerun Job  

Requeues a job to be executed if the job was previously expired.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

curl -X POST \
  undefined/jobs/{job-id}

204 No Content chevron_right expand_more

Success

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

403 Forbidden chevron_right expand_more

Forbidden.

Returned when attempting to restart a job that has not yet expired.

Forbidden ForbiddenError

application/json

Server understood the request but is refusing it.

Could be caused by incorrect instructions or an authenticated client requesting a resource or action that requires permissions that the client does not have assigned.

Discriminator: status

Discriminator value: forbidden

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "forbidden",
  "message": "the current user is not permitted to perform this action"
}

404 Not Found chevron_right expand_more

Target job does not exist.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

patch /jobs/{job-id}

Update Job  

Update's a user's job.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

curl -X PATCH \
  -H "Content-type: application/json"
  -d @body.json \
  undefined/jobs/{job-id}

Request Body chevron_right expand_more

Report Job Update ReportJobPatchRequest

application/json

Request body sent to update an existing report job.

Inherits: object

ParameterTypeDescription
userMeta User Metadataobject

User provided metadata about a report job.

Inherits: lib.ReportJobUserMeta

userMeta.summary Summarystring

Optional, one line user summary about a target job.

Max. length: 512

userMeta.description Descriptionstring

Optional, longform description of a target job.

204 No Content chevron_right expand_more

Success.

The users job record was successfully updated.

400 Bad Request chevron_right expand_more

Bad Request.

The request did not resemble or could not be parsed as the expected type.

Bad Request BadRequestError

application/json

Request could not be parsed or was otherwise unusable.

Discriminator: status

Discriminator value: bad-request

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "bad-request",
  "message": "malformed JSON"
}

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

404 Not Found chevron_right expand_more

Target job does not exist in the user's job collection.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

422 Unprocessable Entity chevron_right expand_more

Invalid job configuration.

Unprocessable Entity UnprocessableEntityError

application/json

The request payload or parameters are correctly structured but fail resource specific validation.

Discriminator: status

Discriminator value: invalid-input

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
errors*object

Additional properties: Yes

errors.general*array

Non-field specific errors.

errors.general[]string
errors.byKey*object

Field specific errors

Additional properties: Yes

errors.byKey.//*array
errors.byKey.//[]string

Response Body

{
  "status": "invalid-input",
  "message": "JSON validation failed",
  "errors": {
    "general": [],
    "byKey": {
      "id": [
        "Given ID value does not point to an existing record."
      ]
    }
  }
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /jobs/{job-id}/files

List Job Files  

Lists the result files available for a given job.

This list will consist of the raw output(s) of the report job as well as a zip file named report.zip containing all of those outputs.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

curl -X GET \
  undefined/jobs/{job-id}/files

200 OK chevron_right expand_more

Success

application/json

application/json

ParameterTypeDescription
[] File Entryobject

List entry item for a file.

Inherits: object

[].name* File Namestring

Name of the target file.

[].size* File Sizeinteger

Size of the file in bytes.

Format: int64

Response Body

[
  {
    "name": "somefile1.txt",
    "size": 1023
  },
  {
    "name": "somefile2.json",
    "size": 58372
  },
  {
    "name": "report.zip",
    "size": 10234
  }
]

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

403 Forbidden chevron_right expand_more

Forbidden.

Returned when attempting to list the files for a job that is not yet complete or has expired.

Forbidden ForbiddenError

application/json

Server understood the request but is refusing it.

Could be caused by incorrect instructions or an authenticated client requesting a resource or action that requires permissions that the client does not have assigned.

Discriminator: status

Discriminator value: forbidden

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "forbidden",
  "message": "the current user is not permitted to perform this action"
}

404 Not Found chevron_right expand_more

Target job does not exist.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /jobs/{job-id}/files/{filename}

Get Job File by Name  

Retrieves/downloads a target file from the report job output files.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

filename*string
Query
download Downloadboolean

When set to true, indicates that the service should mark the returned file as an attachment using the Content-Disposition header to cause the file to be downloaded by the browser rather than rendered.

curl -X GET \
  undefined/jobs/{job-id}/files/{filename}?download=<value>

200 OK chevron_right expand_more

Success

Headers

ParameterTypeDescription
Content-Dispositionstring

Present if the download query parameter was sent in with the request.

*/*

*/*

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

403 Forbidden chevron_right expand_more

Forbidden.

Returned when attempting to list the files for a job that is not yet complete or has expired.

Forbidden ForbiddenError

application/json

Server understood the request but is refusing it.

Could be caused by incorrect instructions or an authenticated client requesting a resource or action that requires permissions that the client does not have assigned.

Discriminator: status

Discriminator value: forbidden

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "forbidden",
  "message": "the current user is not permitted to perform this action"
}

404 Not Found chevron_right expand_more

Target job does not exist.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /jobs/{job-id}/stderr

Get STDERR Output  

Returns the stderr output for the blast tool execution for this job.

This output may be empty.

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Query
download Downloadboolean

When set to true, indicates that the service should mark the returned file as an attachment using the Content-Disposition header to cause the file to be downloaded by the browser rather than rendered.

curl -X GET \
  undefined/jobs/{job-id}/stderr?download=<value>

200 OK chevron_right expand_more

Success

Headers

ParameterTypeDescription
Content-Dispositionstring

Present if the download query parameter was sent in with the request.

text/plain

text/plain

Response Body

FASTA-Reader: Ignoring invalid residues at position(s): On line 1: 1, 62-63
FASTA-Reader: Ignoring invalid residues at position(s): On line 2: 44-46
FASTA-Reader: Ignoring invalid residues at position(s): On line 3: 27-29
FASTA-Reader: Ignoring invalid residues at position(s): On line 4: 10-12, 73-75
FASTA-Reader: Ignoring invalid residues at position(s): On line 5: 56-58
FASTA-Reader: Ignoring invalid residues at position(s): On line 6: 39-41

401 Unauthorized chevron_right expand_more

No valid user authentication provided.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

403 Forbidden chevron_right expand_more

Forbidden.

Returned when attempting to list the files for a job that is not yet complete or has expired.

Forbidden ForbiddenError

application/json

Server understood the request but is refusing it.

Could be caused by incorrect instructions or an authenticated client requesting a resource or action that requires permissions that the client does not have assigned.

Discriminator: status

Discriminator value: forbidden

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "forbidden",
  "message": "the current user is not permitted to perform this action"
}

404 Not Found chevron_right expand_more

Target job does not exist.

Not Found NotFoundError

application/json

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

500 Internal Server Error chevron_right expand_more

Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

post /statuses

Bulk Status Lookup  

Lookup the statuses for the list of job IDs posted.

The response will be a mapping whose keys are the posted job IDs and whose values are the status of the job represented by the associated ID.

If a job ID in the input list does not appear to be a real/valid job ID, the ID will be omitted from the response object.

Each status value will be a valid JobStatus enum item, meaning they will each be one of:

  • "queued"
  • "in-progress"
  • "complete"
  • "failed"
  • "expired"
curl -X POST \
  -H "Content-type: application/json"
  -d @body.json \
  undefined/statuses

Request Body chevron_right expand_more

application/json

application/json

ParameterTypeDescription
[]string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Request Body

[
  "dd6060e5367622e574ffb38f32bfa049",
  "77542f92d9e68ea80eff4852ecc41fa4",
  "29e07b0b80181222ad33cbc8f679d672",
  "748ba381dd81bb8de615319837ffa350",
  "f4757ea84c455b04a1d307d4ac33049d"
]

200 OK chevron_right expand_more

Success

Bulk Job Status Response JobBulkStatusResponse

application/json

Returns a mapping of job-id to status for each of the valid job IDs that appeared in the original bulk status request.

Additional properties: Yes

Inherits: object

ParameterTypeDescription
/^[\dA-Fa-f]{32}$/*string
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

Response Body

{
  "dd6060e5367622e574ffb38f32bfa049": "queued",
  "29e07b0b80181222ad33cbc8f679d672": "complete",
  "748ba381dd81bb8de615319837ffa350": "in-progress",
  "f4757ea84c455b04a1d307d4ac33049d": "expired"
}

500 Internal Server Error chevron_right expand_more

Internal Server Error

An unexpected exception was thrown while attempting to process the request.

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

post /link-guest

Post Link  

A request to transfer ownership of jobs from a guest user to a logged in user, linking the logged in user to the jobs they created before they logged in.

curl -X POST \
  -H "Content-type: application/json"
  -d @body.json \
  undefined/link-guest

delete /maintenance/cache

Delete Minio Cache  

Deletes all jobs in the job cache. This endpoint is to be used during site releases to clear any old data that may have been invalidated by the changes to the underlying site data.

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token*string
curl -X DELETE \
  -H "Admin-Token: <value>" \
  undefined/maintenance/cache

204 No Content chevron_right expand_more

Success

401 Unauthorized chevron_right expand_more

Invalid Admin-Token token value.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

500 Internal Server Error chevron_right expand_more

Internal Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

delete /maintenance/cache/{job-id}

Delete Job Cache  

Parameters chevron_right expand_more

ParameterTypeDescription
Path
job-id Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token*string
curl -X DELETE \
  -H "Admin-Token: <value>" \
  undefined/maintenance/cache/{job-id}

204 No Content chevron_right expand_more

Success

401 Unauthorized chevron_right expand_more

Invalid Admin-Token token value.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

500 Internal Server Error chevron_right expand_more

Internal Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /maintenance/broken-jobs

List  

Lists job IDs for jobs owned by the current campus that are in the "failed" status.

Headers chevron_right expand_more

ParameterTypeDescription
Admin-Token*string
curl -X GET \
  -H "Admin-Token: <value>" \
  undefined/maintenance/broken-jobs

200 OK chevron_right expand_more

Success

application/json

application/json

ParameterTypeDescription
[]object

Inherits: object

[].reportJobID* Report Job IDstring

Hash ID of the report job.

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

[].rawConfig*any
[].createdOn* Created Ondatetime

Job creation timestamp.

[].failedOn* Failed Ondatetime

Job failure timestamp.

401 Unauthorized chevron_right expand_more

Invalid Admin-Token token value.

Unauthorized UnauthorizedError

application/json

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Response Body

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

500 Internal Server Error chevron_right expand_more

Internal Server Error

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /api

 

Renders the API documentation for this service.

curl -X GET \
  undefined/api

200 OK chevron_right expand_more

text/html

text/html

get /health

 

Prints information about the overall service health.

curl -X GET \
  undefined/health

200 OK chevron_right expand_more

HealthResponse HealthResponse

application/json

Health details about the service

Inherits: object

ParameterTypeDescription
status*string

Status describes the overall service state. A status of "healthy" indicates that everything is running smoothly and all service dependencies are reachable and online. A status of "unhealthy" indicates that something is wrong with either this service or one or more of it's dependency services.

Enum:
  • healthy
  • unhealthy
dependencies*array

A list of external services that this service depends on and some details about them.

dependencies[]object

Inherits: DependencyStatus

dependencies[].name*string

Name of the external depdendency.

dependencies[].reachable*boolean

Whether or not the external service is reachable.

dependencies[].online*string

Whether or not the external service is online and available for requests.

Enum:
  • yes
  • unknown
  • no
info*object

Additional properties: Yes

info.threads*integer

Min. value: 1

info.uptime*string
info.uptimeMillis*integer

Min. value: 1

Format: int64

500 Internal Server Error chevron_right expand_more

Internal Server Error ServerError

application/json

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Response Body

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

get /metrics

 

Prometheus metrics for the service.

curl -X GET \
  undefined/metrics

200 OK chevron_right expand_more

text/plain

text/plain

Security Schemes

Types

Type GuestJobTransferRequest (object)

Guest to User Job Transfer Request

Request body for a request to transfer ownership of jobs from a guest user to a logged in user.

Inherits: object

Model

ParameterTypeDescription
guestID* Guest IDinteger

ID assigned to the user before they were logged in.

Format: int64

Type ReportJobPostRequest (object)

Report Job Request

Request body sent to start a new report job.

Inherits: object

Model

ParameterTypeDescription
queryJobID*string

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

blastConfigobject

Default value: {"formatType":"pairwise"}

Inherits: lib.BlastFormatConfig

blastConfig.formatType Format Typestring
IdentifierDescription
pairwisePairwise
query-anchored-with-identitiesQuery-anchored showing identities
query-anchored-no-identitiesQuery-anchored no identities
flat-query-anchored-with-identitiesFlat query-anchored showing identities
flat-query-anchored-no-identitiesFlat query-anchored no identities
xmlBLAST XML
tabularTabular
tabular-with-commentsTabular with comment lines
seqalign-textSeqalign (Text ASN.1)
seqalign-binarySeqalign (Binary ASN.1)
csvComma-separated values
asn1BLAST archive (ASN.1)
seqalign-jsonSeqalign (JSON)
multi-file-blast-jsonMultiple-file BLAST JSON
multi-file-blast-xml2Multiple-file BLAST XML2
single-file-blast-jsonSingle-file BLAST JSON
single-file-blast-xml2Single-file BLAST XML2
samSequence Alignment/Map (SAM)
organism-reportOrganism Report

Default value: "pairwise"

Enum:
  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
  • xml
  • tabular
  • tabular-with-comments
  • seqalign-text
  • seqalign-binary
  • csv
  • asn1
  • seqalign-json
  • multi-file-blast-json
  • multi-file-blast-xml2
  • single-file-blast-json
  • single-file-blast-xml2
  • sam
  • organism-report

Inherits: lib.BlastOutFormat

blastConfig.formatFields Report Fieldsarray

Fields to include in the generated report.

Custom field selection is only valid for the following formatType values:

  • tabular
  • tabular-with-comments
  • csv
  • sam

For all other formatType values, including this field is an error.

blastConfig.formatFields[] Blast Report Fieldstring
FieldMeaning
qseqidQuery Seq-id
qgiQuery GI
qaccQuery accesion
qaccverQuery accesion.version
qlenQuery sequence length
sseqidSubject Seq-id
sallseqidAll subject Seq-id(s), separated by a ';'
sgiSubject GI
sallgiAll subject GIs
saccSubject accession
saccverSubject accession.version
sallaccAll subject accessions
slenSubject sequence length
qstartStart of alignment in query
qendEnd of alignment in query
sstartStart of alignment in subject
sendEnd of alignment in subject
qseqAligned part of query sequence
sseqAligned part of subject sequence
evalueExpect value
bitscoreBit score
scoreRaw score
lengthAlignment length
pidentPercentage of identical matches
nidentNumber of identical matches
mismatchNumber of mismatches
positiveNumber of positive-scoring matches
gapopenNumber of gap openings
gapsTotal number of gaps
pposPercentage of positive-scoring matches
framesQuery and subject frames separated by a '/'
qframeQuery frame
sframeSubject frame
btopBlast traceback operations (BTOP)
staxidSubject Taxonomy ID
sscinameSubject Scientific Name
scomnameSubject Common Name
sblastnameSubject Blast Name
sskingdomSubject Super Kingdom
staxidsunique Subject Taxonomy ID(s), separated by a ';' (in numerical order)
sscinamesunique Subject Scientific Name(s), separated by a ';'
scomnamesunique Subject Common Name(s), separated by a ';'
sblastnamesunique Subject Blast Name(s), separated by a ';' (in alphabetical order)
sskingdomsunique Subject Super Kingdom(s), separated by a ';' (in alphabetical order)
stitleSubject Title
salltitlesAll Subject Title(s), separated by a '<>'
sstrandSubject Strand
qcovsQuery Coverage Per Subject
qcovhspQuery Coverage Per HSP
qcovusQuery Coverage Per Unique Subject (blastn only)
SQInclude Sequence Data
SRSubject as Reference Seq
std'qaccver saccver pident length mismatch gapopen qstart qend sstart send evalue bitscore'
Enum:
  • qseqid
  • qgi
  • qacc
  • qaccver
  • qlen
  • sseqid
  • sallseqid
  • sgi
  • sallgi
  • sacc
  • saccver
  • sallacc
  • slen
  • qstart
  • qend
  • sstart
  • send
  • qseq
  • sseq
  • evalue
  • bitscore
  • score
  • length
  • pident
  • nident
  • mismatch
  • positive
  • gapopen
  • gaps
  • ppos
  • frames
  • qframe
  • sframe
  • btop
  • staxid
  • ssciname
  • scomname
  • sblastname
  • sskingdom
  • staxids
  • sscinames
  • scomnames
  • sblastnames
  • sskingdoms
  • stitle
  • salltitles
  • sstrand
  • qcovs
  • qcovhsp
  • qcovus
  • SQ
  • SR
  • std

Inherits: lib.BlastOutField

blastConfig.showGIs Show GIsboolean

Show NCBI GIs in deflines?

blastConfig.numDescriptions Number of Descriptionsinteger

Number of database sequences to show one-line descriptions for.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Format: int

blastConfig.numAlignments Number of Alignmentsinteger

Number of database sequences to show alignments for.

Incompatible with maxTargetSequences.

Format: int

blastConfig.lineLength Line Lengthinteger

Line length for formatting alignments

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Min. value: 1

Format: int

blastConfig.sortHits Sort Hitsstring

Sorting option for hits.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
Enum:
  • by-evalue
  • by-bit-score
  • by-total-score
  • by-percent-identity
  • by-query-coverage

Inherits: lib.BlastHitSorting

blastConfig.sortHSPs Sort HSPsstring

Sorting option for HSPs.

Only applicable for formatType value pairwise.

Enum:
  • by-hsp-evalue
  • by-hsp-score
  • by-hsp-query-start
  • by-hsp-percent-identity
  • by-hsp-subject-start

Inherits: lib.BlastHSPSorting

blastConfig.maxTargetSequences Max Target Sequencesinteger

Maximum number of aligned sequences to keep.

Incompatible with:

  • numDescriptions
  • numAlignments

Min. value: 5

blastConfig.parseDefLines Parse Query Definition Linesboolean

Should the query and subject defline(s) be parsed?

addToUserCollectionboolean

Default value: true

userMetaobject

User provided metadata about a report job.

Inherits: lib.ReportJobUserMeta

userMeta.summary Summarystring

Optional, one line user summary about a target job.

Max. length: 512

userMeta.description Descriptionstring

Optional, longform description of a target job.

Type ReportJobPatchRequest (object)

Report Job Update

Request body sent to update an existing report job.

Inherits: object

Model

ParameterTypeDescription
userMeta User Metadataobject

User provided metadata about a report job.

Inherits: lib.ReportJobUserMeta

userMeta.summary Summarystring

Optional, one line user summary about a target job.

Max. length: 512

userMeta.description Descriptionstring

Optional, longform description of a target job.

Type ReportJobDetails (object)

Report Job Details

Longform details about a report job that has been submitted.

Inherits: object

Model

ParameterTypeDescription
reportJobID* Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

queryJobID* Query Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

status* Job Statusstring
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

blastConfig*object

Inherits: lib.BlastFormatConfig

blastConfig.formatType Format Typestring
IdentifierDescription
pairwisePairwise
query-anchored-with-identitiesQuery-anchored showing identities
query-anchored-no-identitiesQuery-anchored no identities
flat-query-anchored-with-identitiesFlat query-anchored showing identities
flat-query-anchored-no-identitiesFlat query-anchored no identities
xmlBLAST XML
tabularTabular
tabular-with-commentsTabular with comment lines
seqalign-textSeqalign (Text ASN.1)
seqalign-binarySeqalign (Binary ASN.1)
csvComma-separated values
asn1BLAST archive (ASN.1)
seqalign-jsonSeqalign (JSON)
multi-file-blast-jsonMultiple-file BLAST JSON
multi-file-blast-xml2Multiple-file BLAST XML2
single-file-blast-jsonSingle-file BLAST JSON
single-file-blast-xml2Single-file BLAST XML2
samSequence Alignment/Map (SAM)
organism-reportOrganism Report

Default value: "pairwise"

Enum:
  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
  • xml
  • tabular
  • tabular-with-comments
  • seqalign-text
  • seqalign-binary
  • csv
  • asn1
  • seqalign-json
  • multi-file-blast-json
  • multi-file-blast-xml2
  • single-file-blast-json
  • single-file-blast-xml2
  • sam
  • organism-report

Inherits: lib.BlastOutFormat

blastConfig.formatFields Report Fieldsarray

Fields to include in the generated report.

Custom field selection is only valid for the following formatType values:

  • tabular
  • tabular-with-comments
  • csv
  • sam

For all other formatType values, including this field is an error.

blastConfig.formatFields[] Blast Report Fieldstring
FieldMeaning
qseqidQuery Seq-id
qgiQuery GI
qaccQuery accesion
qaccverQuery accesion.version
qlenQuery sequence length
sseqidSubject Seq-id
sallseqidAll subject Seq-id(s), separated by a ';'
sgiSubject GI
sallgiAll subject GIs
saccSubject accession
saccverSubject accession.version
sallaccAll subject accessions
slenSubject sequence length
qstartStart of alignment in query
qendEnd of alignment in query
sstartStart of alignment in subject
sendEnd of alignment in subject
qseqAligned part of query sequence
sseqAligned part of subject sequence
evalueExpect value
bitscoreBit score
scoreRaw score
lengthAlignment length
pidentPercentage of identical matches
nidentNumber of identical matches
mismatchNumber of mismatches
positiveNumber of positive-scoring matches
gapopenNumber of gap openings
gapsTotal number of gaps
pposPercentage of positive-scoring matches
framesQuery and subject frames separated by a '/'
qframeQuery frame
sframeSubject frame
btopBlast traceback operations (BTOP)
staxidSubject Taxonomy ID
sscinameSubject Scientific Name
scomnameSubject Common Name
sblastnameSubject Blast Name
sskingdomSubject Super Kingdom
staxidsunique Subject Taxonomy ID(s), separated by a ';' (in numerical order)
sscinamesunique Subject Scientific Name(s), separated by a ';'
scomnamesunique Subject Common Name(s), separated by a ';'
sblastnamesunique Subject Blast Name(s), separated by a ';' (in alphabetical order)
sskingdomsunique Subject Super Kingdom(s), separated by a ';' (in alphabetical order)
stitleSubject Title
salltitlesAll Subject Title(s), separated by a '<>'
sstrandSubject Strand
qcovsQuery Coverage Per Subject
qcovhspQuery Coverage Per HSP
qcovusQuery Coverage Per Unique Subject (blastn only)
SQInclude Sequence Data
SRSubject as Reference Seq
std'qaccver saccver pident length mismatch gapopen qstart qend sstart send evalue bitscore'
Enum:
  • qseqid
  • qgi
  • qacc
  • qaccver
  • qlen
  • sseqid
  • sallseqid
  • sgi
  • sallgi
  • sacc
  • saccver
  • sallacc
  • slen
  • qstart
  • qend
  • sstart
  • send
  • qseq
  • sseq
  • evalue
  • bitscore
  • score
  • length
  • pident
  • nident
  • mismatch
  • positive
  • gapopen
  • gaps
  • ppos
  • frames
  • qframe
  • sframe
  • btop
  • staxid
  • ssciname
  • scomname
  • sblastname
  • sskingdom
  • staxids
  • sscinames
  • scomnames
  • sblastnames
  • sskingdoms
  • stitle
  • salltitles
  • sstrand
  • qcovs
  • qcovhsp
  • qcovus
  • SQ
  • SR
  • std

Inherits: lib.BlastOutField

blastConfig.showGIs Show GIsboolean

Show NCBI GIs in deflines?

blastConfig.numDescriptions Number of Descriptionsinteger

Number of database sequences to show one-line descriptions for.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Format: int

blastConfig.numAlignments Number of Alignmentsinteger

Number of database sequences to show alignments for.

Incompatible with maxTargetSequences.

Format: int

blastConfig.lineLength Line Lengthinteger

Line length for formatting alignments

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Min. value: 1

Format: int

blastConfig.sortHits Sort Hitsstring

Sorting option for hits.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
Enum:
  • by-evalue
  • by-bit-score
  • by-total-score
  • by-percent-identity
  • by-query-coverage

Inherits: lib.BlastHitSorting

blastConfig.sortHSPs Sort HSPsstring

Sorting option for HSPs.

Only applicable for formatType value pairwise.

Enum:
  • by-hsp-evalue
  • by-hsp-score
  • by-hsp-query-start
  • by-hsp-percent-identity
  • by-hsp-subject-start

Inherits: lib.BlastHSPSorting

blastConfig.maxTargetSequences Max Target Sequencesinteger

Maximum number of aligned sequences to keep.

Incompatible with:

  • numDescriptions
  • numAlignments

Min. value: 5

blastConfig.parseDefLines Parse Query Definition Linesboolean

Should the query and subject defline(s) be parsed?

userMetaobject

User provided metadata about a report job.

Inherits: lib.ReportJobUserMeta

userMeta.summary Summarystring

Optional, one line user summary about a target job.

Max. length: 512

userMeta.description Descriptionstring

Optional, longform description of a target job.

Type ReportJobListEntry (object)

Report Job List Entry

Short-form details about a report job that has been submitted. This object is intended to appear in a list of similar objects for report job list endpoints.

Inherits: object

Model

ParameterTypeDescription
reportJobID* Report Job IDstring

Hash ID of the report job.

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

queryJobID* Query Job IDstring

Hash ID of the source query job.

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

status* Job Statusstring

Current status of the represented report job.

Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

userMeta Job Metaobject

User provided metadata about the represented report job.

Inherits: lib.ReportJobUserMeta

userMeta.summary Summarystring

Optional, one line user summary about a target job.

Max. length: 512

userMeta.description Descriptionstring

Optional, longform description of a target job.

Type ReportJobUserMeta (object)

Report Job User Meta

User provided metadata about a report job.

Inherits: object

Model

ParameterTypeDescription
summary Summarystring

Optional, one line user summary about a target job.

Max. length: 512

description Descriptionstring

Optional, longform description of a target job.

Type FileEntry (object)

File Entry

List entry item for a file.

Inherits: object

Model

ParameterTypeDescription
name* File Namestring

Name of the target file.

size* File Sizeinteger

Size of the file in bytes.

Format: int64

Type JobBulkStatusResponse (object)

Bulk Job Status Response

Returns a mapping of job-id to status for each of the valid job IDs that appeared in the original bulk status request.

Additional properties: Yes

Inherits: object

Model

ParameterTypeDescription
/^[\dA-Fa-f]{32}$/*string
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: lib.JobStatus

Type JobStatus (string)

JobStatus
Enum:
  • queued
  • in-progress
  • complete
  • failed
  • expired

Inherits: string

Type JobCreateResponse (object)

Job Creation Response

Response body returned on the successful creation of a new BLAST report job.

Inherits: object

Model

ParameterTypeDescription
reportJobID* Report Job IDstring

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

Type BrokenJobListEntry (object)

BrokenJobListEntry

Inherits: object

Model

ParameterTypeDescription
reportJobID* Report Job IDstring

Hash ID of the report job.

Pattern: ^[\dA-Fa-f]{32}$

Min. length: 32

Max. length: 32

rawConfig*any
createdOn* Created Ondatetime

Job creation timestamp.

failedOn* Failed Ondatetime

Job failure timestamp.

Type BlastFormatConfig (object)

BlastFormatConfig

Inherits: object

Model

ParameterTypeDescription
formatType Format Typestring
IdentifierDescription
pairwisePairwise
query-anchored-with-identitiesQuery-anchored showing identities
query-anchored-no-identitiesQuery-anchored no identities
flat-query-anchored-with-identitiesFlat query-anchored showing identities
flat-query-anchored-no-identitiesFlat query-anchored no identities
xmlBLAST XML
tabularTabular
tabular-with-commentsTabular with comment lines
seqalign-textSeqalign (Text ASN.1)
seqalign-binarySeqalign (Binary ASN.1)
csvComma-separated values
asn1BLAST archive (ASN.1)
seqalign-jsonSeqalign (JSON)
multi-file-blast-jsonMultiple-file BLAST JSON
multi-file-blast-xml2Multiple-file BLAST XML2
single-file-blast-jsonSingle-file BLAST JSON
single-file-blast-xml2Single-file BLAST XML2
samSequence Alignment/Map (SAM)
organism-reportOrganism Report

Default value: "pairwise"

Enum:
  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
  • xml
  • tabular
  • tabular-with-comments
  • seqalign-text
  • seqalign-binary
  • csv
  • asn1
  • seqalign-json
  • multi-file-blast-json
  • multi-file-blast-xml2
  • single-file-blast-json
  • single-file-blast-xml2
  • sam
  • organism-report

Inherits: lib.BlastOutFormat

formatFields Report Fieldsarray

Fields to include in the generated report.

Custom field selection is only valid for the following formatType values:

  • tabular
  • tabular-with-comments
  • csv
  • sam

For all other formatType values, including this field is an error.

formatFields[] Blast Report Fieldstring
FieldMeaning
qseqidQuery Seq-id
qgiQuery GI
qaccQuery accesion
qaccverQuery accesion.version
qlenQuery sequence length
sseqidSubject Seq-id
sallseqidAll subject Seq-id(s), separated by a ';'
sgiSubject GI
sallgiAll subject GIs
saccSubject accession
saccverSubject accession.version
sallaccAll subject accessions
slenSubject sequence length
qstartStart of alignment in query
qendEnd of alignment in query
sstartStart of alignment in subject
sendEnd of alignment in subject
qseqAligned part of query sequence
sseqAligned part of subject sequence
evalueExpect value
bitscoreBit score
scoreRaw score
lengthAlignment length
pidentPercentage of identical matches
nidentNumber of identical matches
mismatchNumber of mismatches
positiveNumber of positive-scoring matches
gapopenNumber of gap openings
gapsTotal number of gaps
pposPercentage of positive-scoring matches
framesQuery and subject frames separated by a '/'
qframeQuery frame
sframeSubject frame
btopBlast traceback operations (BTOP)
staxidSubject Taxonomy ID
sscinameSubject Scientific Name
scomnameSubject Common Name
sblastnameSubject Blast Name
sskingdomSubject Super Kingdom
staxidsunique Subject Taxonomy ID(s), separated by a ';' (in numerical order)
sscinamesunique Subject Scientific Name(s), separated by a ';'
scomnamesunique Subject Common Name(s), separated by a ';'
sblastnamesunique Subject Blast Name(s), separated by a ';' (in alphabetical order)
sskingdomsunique Subject Super Kingdom(s), separated by a ';' (in alphabetical order)
stitleSubject Title
salltitlesAll Subject Title(s), separated by a '<>'
sstrandSubject Strand
qcovsQuery Coverage Per Subject
qcovhspQuery Coverage Per HSP
qcovusQuery Coverage Per Unique Subject (blastn only)
SQInclude Sequence Data
SRSubject as Reference Seq
std'qaccver saccver pident length mismatch gapopen qstart qend sstart send evalue bitscore'
Enum:
  • qseqid
  • qgi
  • qacc
  • qaccver
  • qlen
  • sseqid
  • sallseqid
  • sgi
  • sallgi
  • sacc
  • saccver
  • sallacc
  • slen
  • qstart
  • qend
  • sstart
  • send
  • qseq
  • sseq
  • evalue
  • bitscore
  • score
  • length
  • pident
  • nident
  • mismatch
  • positive
  • gapopen
  • gaps
  • ppos
  • frames
  • qframe
  • sframe
  • btop
  • staxid
  • ssciname
  • scomname
  • sblastname
  • sskingdom
  • staxids
  • sscinames
  • scomnames
  • sblastnames
  • sskingdoms
  • stitle
  • salltitles
  • sstrand
  • qcovs
  • qcovhsp
  • qcovus
  • SQ
  • SR
  • std

Inherits: lib.BlastOutField

showGIs Show GIsboolean

Show NCBI GIs in deflines?

numDescriptions Number of Descriptionsinteger

Number of database sequences to show one-line descriptions for.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Format: int

numAlignments Number of Alignmentsinteger

Number of database sequences to show alignments for.

Incompatible with maxTargetSequences.

Format: int

lineLength Line Lengthinteger

Line length for formatting alignments

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities

Incompatible with maxTargetSequences.

Min. value: 1

Format: int

sortHits Sort Hitsstring

Sorting option for hits.

Only applicable for the following formatType values:

  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
Enum:
  • by-evalue
  • by-bit-score
  • by-total-score
  • by-percent-identity
  • by-query-coverage

Inherits: lib.BlastHitSorting

sortHSPs Sort HSPsstring

Sorting option for HSPs.

Only applicable for formatType value pairwise.

Enum:
  • by-hsp-evalue
  • by-hsp-score
  • by-hsp-query-start
  • by-hsp-percent-identity
  • by-hsp-subject-start

Inherits: lib.BlastHSPSorting

maxTargetSequences Max Target Sequencesinteger

Maximum number of aligned sequences to keep.

Incompatible with:

  • numDescriptions
  • numAlignments

Min. value: 5

parseDefLines Parse Query Definition Linesboolean

Should the query and subject defline(s) be parsed?

Type BlastOutFormat (string)

Blast Report Format
IdentifierDescription
pairwisePairwise
query-anchored-with-identitiesQuery-anchored showing identities
query-anchored-no-identitiesQuery-anchored no identities
flat-query-anchored-with-identitiesFlat query-anchored showing identities
flat-query-anchored-no-identitiesFlat query-anchored no identities
xmlBLAST XML
tabularTabular
tabular-with-commentsTabular with comment lines
seqalign-textSeqalign (Text ASN.1)
seqalign-binarySeqalign (Binary ASN.1)
csvComma-separated values
asn1BLAST archive (ASN.1)
seqalign-jsonSeqalign (JSON)
multi-file-blast-jsonMultiple-file BLAST JSON
multi-file-blast-xml2Multiple-file BLAST XML2
single-file-blast-jsonSingle-file BLAST JSON
single-file-blast-xml2Single-file BLAST XML2
samSequence Alignment/Map (SAM)
organism-reportOrganism Report
Enum:
  • pairwise
  • query-anchored-with-identities
  • query-anchored-no-identities
  • flat-query-anchored-with-identities
  • flat-query-anchored-no-identities
  • xml
  • tabular
  • tabular-with-comments
  • seqalign-text
  • seqalign-binary
  • csv
  • asn1
  • seqalign-json
  • multi-file-blast-json
  • multi-file-blast-xml2
  • single-file-blast-json
  • single-file-blast-xml2
  • sam
  • organism-report

Inherits: string

Type BlastOutField (string)

Blast Report Field
FieldMeaning
qseqidQuery Seq-id
qgiQuery GI
qaccQuery accesion
qaccverQuery accesion.version
qlenQuery sequence length
sseqidSubject Seq-id
sallseqidAll subject Seq-id(s), separated by a ';'
sgiSubject GI
sallgiAll subject GIs
saccSubject accession
saccverSubject accession.version
sallaccAll subject accessions
slenSubject sequence length
qstartStart of alignment in query
qendEnd of alignment in query
sstartStart of alignment in subject
sendEnd of alignment in subject
qseqAligned part of query sequence
sseqAligned part of subject sequence
evalueExpect value
bitscoreBit score
scoreRaw score
lengthAlignment length
pidentPercentage of identical matches
nidentNumber of identical matches
mismatchNumber of mismatches
positiveNumber of positive-scoring matches
gapopenNumber of gap openings
gapsTotal number of gaps
pposPercentage of positive-scoring matches
framesQuery and subject frames separated by a '/'
qframeQuery frame
sframeSubject frame
btopBlast traceback operations (BTOP)
staxidSubject Taxonomy ID
sscinameSubject Scientific Name
scomnameSubject Common Name
sblastnameSubject Blast Name
sskingdomSubject Super Kingdom
staxidsunique Subject Taxonomy ID(s), separated by a ';' (in numerical order)
sscinamesunique Subject Scientific Name(s), separated by a ';'
scomnamesunique Subject Common Name(s), separated by a ';'
sblastnamesunique Subject Blast Name(s), separated by a ';' (in alphabetical order)
sskingdomsunique Subject Super Kingdom(s), separated by a ';' (in alphabetical order)
stitleSubject Title
salltitlesAll Subject Title(s), separated by a '<>'
sstrandSubject Strand
qcovsQuery Coverage Per Subject
qcovhspQuery Coverage Per HSP
qcovusQuery Coverage Per Unique Subject (blastn only)
SQInclude Sequence Data
SRSubject as Reference Seq
std'qaccver saccver pident length mismatch gapopen qstart qend sstart send evalue bitscore'
Enum:
  • qseqid
  • qgi
  • qacc
  • qaccver
  • qlen
  • sseqid
  • sallseqid
  • sgi
  • sallgi
  • sacc
  • saccver
  • sallacc
  • slen
  • qstart
  • qend
  • sstart
  • send
  • qseq
  • sseq
  • evalue
  • bitscore
  • score
  • length
  • pident
  • nident
  • mismatch
  • positive
  • gapopen
  • gaps
  • ppos
  • frames
  • qframe
  • sframe
  • btop
  • staxid
  • ssciname
  • scomname
  • sblastname
  • sskingdom
  • staxids
  • sscinames
  • scomnames
  • sblastnames
  • sskingdoms
  • stitle
  • salltitles
  • sstrand
  • qcovs
  • qcovhsp
  • qcovus
  • SQ
  • SR
  • std

Inherits: string

Type BlastHitSorting (string)

Hit Sorting

Sorting option for hits.

Enum:
  • by-evalue
  • by-bit-score
  • by-total-score
  • by-percent-identity
  • by-query-coverage

Inherits: string

Type BlastHSPSorting (string)

HSP Sorting

Sorting option for High Scoring Pairs

Enum:
  • by-hsp-evalue
  • by-hsp-score
  • by-hsp-query-start
  • by-hsp-percent-identity
  • by-hsp-subject-start

Inherits: string

Type Error (object)

Error

Discriminator: status

Inherits: object

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Type ErrorType (string)

ErrorType
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: string

Type BadRequestError (object)

Bad Request

Request could not be parsed or was otherwise unusable.

Discriminator: status

Discriminator value: bad-request

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "bad-request",
  "message": "malformed JSON"
}

Type UnauthorizedError (object)

Unauthorized

Unauthenticated client requested a resource that requires authentication.

Discriminator: status

Discriminator value: unauthorized

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "unauthorized",
  "message": "users must be logged in to access this resource"
}

Type ForbiddenError (object)

Forbidden

Server understood the request but is refusing it.

Could be caused by incorrect instructions or an authenticated client requesting a resource or action that requires permissions that the client does not have assigned.

Discriminator: status

Discriminator value: forbidden

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "forbidden",
  "message": "the current user is not permitted to perform this action"
}

Type NotFoundError (object)

Not Found

The requested resource was not found on this server.

Discriminator: status

Discriminator value: not-found

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "not-found",
  "message": "the requested resource could not be found"
}

Type MethodNotAllowedError (object)

Method Not Allowed

The HTTP method used to request a resource is not allowed or configured by the server.

Discriminator: status

Discriminator value: bad-method

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string

Examples

{
  "status": "bad-method",
  "message": "PUT requests are not permitted on this endpoint"
}

Type UnprocessableEntityError (object)

Unprocessable Entity

The request payload or parameters are correctly structured but fail resource specific validation.

Discriminator: status

Discriminator value: invalid-input

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
errors*object

Additional properties: Yes

errors.general*array

Non-field specific errors.

errors.general[]string
errors.byKey*object

Field specific errors

Additional properties: Yes

errors.byKey.//*array
errors.byKey.//[]string

Examples

{
  "status": "invalid-input",
  "message": "JSON validation failed",
  "errors": {
    "general": [],
    "byKey": {
      "id": [
        "Given ID value does not point to an existing record."
      ]
    }
  }
}

Type ServerError (object)

Internal Server Error

Discriminator: status

Discriminator value: server-error

Inherits: error.Error

Model

ParameterTypeDescription
status*string
Enum:
  • bad-request
  • unauthorized
  • forbidden
  • not-found
  • bad-method
  • invalid-input
  • server-error

Inherits: error.ErrorType

message*string
requestId*string

Examples

{
  "status": "server-error",
  "message": "Datastore connection lost",
  "requestId": "b296c3d9-4032-41b1-906e-c97ccfc447e3"
}

Type HealthResponse (object)

HealthResponse

Health details about the service

Inherits: object

Model

ParameterTypeDescription
status*string

Status describes the overall service state. A status of "healthy" indicates that everything is running smoothly and all service dependencies are reachable and online. A status of "unhealthy" indicates that something is wrong with either this service or one or more of it's dependency services.

Enum:
  • healthy
  • unhealthy
dependencies*array

A list of external services that this service depends on and some details about them.

dependencies[]object

Inherits: DependencyStatus

dependencies[].name*string

Name of the external depdendency.

dependencies[].reachable*boolean

Whether or not the external service is reachable.

dependencies[].online*string

Whether or not the external service is online and available for requests.

Enum:
  • yes
  • unknown
  • no
info*object

Additional properties: Yes

info.threads*integer

Min. value: 1

info.uptime*string
info.uptimeMillis*integer

Min. value: 1

Format: int64

Type DependencyStatus (object)

DependencyStatus

Inherits: object

Model

ParameterTypeDescription
name*string

Name of the external depdendency.

reachable*boolean

Whether or not the external service is reachable.

online*string

Whether or not the external service is online and available for requests.

Enum:
  • yes
  • unknown
  • no