OTUs
Delete an OTU
Deletes and OTU and its associated isolates and sequences.
Request
Get an OTU
Fetches the details of an OTU.
A FASTA file containing all sequences in the OTU can be downloaded by appending
.fa to the path.
Errors
| Status | Description |
|---|---|
| 403 | |
| 404 |
Request
Response
{
"status": "200"
} Update an OTU
Checks to make sure the supplied OTU name and abbreviation don't already exist in the parent reference.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| abbreviation | string | false | |
| name | string | false | |
| schema | array | false |
Errors
| Status | Description |
|---|---|
| 400 | |
| 403 | |
| 404 |
Request
Response
{
"status": "200"
} List isolates
Lists all the isolates and sequences for an OTU.
Request
Create an isolate
Creates an isolate on the OTU specified by otu_id.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| default | boolean | false | |
| source_name | string | false | |
| source_type | string | false |
Errors
| Status | Description |
|---|---|
| 401 | |
| 404 |
Request
Response
{
"status": "201"
} Delete an isolate
Deletes an isolate using its 'otu id' and 'isolate id'.
Request
Get an isolate
Fetches the details of an isolate.
A FASTA file containing all sequences in the isolate can be downloaded by
appending .fa to the path.
Errors
| Status | Description |
|---|---|
| 404 |
Request
Response
{
"status": "200"
} Update an isolate
Updates an isolate using 'otu_id' and 'isolate_id'.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| source_name | string | false | |
| source_type | string | false |
Errors
| Status | Description |
|---|---|
| 401 | |
| 404 |
Request
Response
{
"status": "200"
} List sequences
Lists the sequences for an isolate.
Errors
| Status | Description |
|---|---|
| 401 | |
| 403 | |
| 404 |
Request
Response
{
"status": "200"
} Create a sequence
Creates a new sequence for an isolate identified by otu_id and isolate_id.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| accession | string | true | |
| definition | string | true | |
| host | string | false | |
| segment | string | false | |
| sequence | string | true | |
| target | string | false |
Errors
| Status | Description |
|---|---|
| 400 | |
| 403 | |
| 404 |
Request
Response
{
"status": "201"
} Delete a sequence
Deletes the specified sequence.
Request
Get a sequence
Fetches the details for a sequence.
A FASTA file containing the nucelotide sequence can be downloaded by appending
.fa to the path.
Request
Update a sequence
Updates a sequence using its 'otu id', 'isolate id' and 'sequence id'.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| accession | string | false | |
| definition | string | false | |
| host | string | false | |
| segment | string | false | |
| sequence | string | false | |
| target | string | false |
Errors
| Status | Description |
|---|---|
| 400 | |
| 401 | |
| 403 | |
| 404 |
Request
Response
{
"status": "200"
}