Legacy API Docs. These docs are for Virtool 4.3.3.

Genbank

Get

Get a Virtool-style sequence document for the given accession.

The data is retrieved from GenBank and converted into a palatable format.

GET
/api/genbank/:accession

Example

GET /api/genbank/KJ406323

Response

Status: 200 OK

{
  "id": "KJ406323",
  "definition": "Tobacco mosaic virus isolate TMV-tNK coat protein",
  "sequence": "ATGTCTTACAGTATCACTACTCCATCTCAGTTCGTGTTCTTGTCATCAGCGZ...",
  "host": "Solanum lycopersicum"
}

Errors

StatusMessageReason
404Not foundaccession does not exist on Genbank
502Could not reach Genbankthe Virtool server could not connect to NCBI