CreateSequenceStore
Creates a sequence store and returns its metadata. Sequence stores are used to store sequence data files called read sets that are saved in FASTQ, BAM, uBAM, or CRAM formats. For aligned formats (BAM and CRAM), a sequence store can only use one reference genome. For unaligned formats (FASTQ and uBAM), a reference genome is not required. You can create multiple sequence stores per region per account.
The following are optional parameters you can specify for your sequence store:
-
Use
s3AccessConfigto configure your sequence store with S3 access logs (recommended). -
Use
sseConfigto define your own KMS key for encryption. -
Use
eTagAlgorithmFamilyto define which algorithm to use for the HealthOmics eTag on objects. -
Use
fallbackLocationto define a backup location for storing files that have failed a direct upload. -
Use
propagatedSetLevelTagsto configure tags that propagate to all objects in your store.
For more information, see Creating a HealthOmics sequence store in the AWS HealthOmics User Guide.
Request Syntax
POST /sequencestore HTTP/1.1
Content-type: application/json
{
"clientToken": "string",
"description": "string",
"eTagAlgorithmFamily": "string",
"fallbackLocation": "string",
"name": "string",
"propagatedSetLevelTags": [ "string" ],
"s3AccessConfig": {
"accessLogLocation": "string"
},
"sseConfig": {
"keyArn": "string",
"type": "string"
},
"tags": {
"string" : "string"
}
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- clientToken
-
An idempotency token used to dedupe retry requests so that duplicate runs are not created.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 127.
Pattern:
[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+Required: No
- description
-
A description for the store.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+Required: No
- eTagAlgorithmFamily
-
The ETag algorithm family to use for ingested read sets. The default value is MD5up. For more information on ETags, see ETags and data provenance in the AWS HealthOmics User Guide.
Type: String
Valid Values:
MD5up | SHA256up | SHA512upRequired: No
- fallbackLocation
-
An S3 location that is used to store files that have failed a direct upload. You can add or change the
fallbackLocationafter creating a sequence store. This is not required if you are uploading files from a different S3 bucket.Type: String
Pattern:
$|^s3://([a-z0-9][a-z0-9-.]{1,61}[a-z0-9])/?((.{1,1024})/)?Required: No
- name
-
A name for the store.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 127.
Pattern:
[\p{L}||\p{M}||\p{Z}||\p{S}||\p{N}||\p{P}]+Required: Yes
- propagatedSetLevelTags
-
The tags keys to propagate to the S3 objects associated with read sets in the sequence store. These tags can be used as input to add metadata to your read sets.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 50 items.
Length Constraints: Minimum length of 1. Maximum length of 128.
Required: No
- s3AccessConfig
-
S3 access configuration parameters. This specifies the parameters needed to access logs stored in S3 buckets. The S3 bucket must be in the same region and account as the sequence store.
Type: S3AccessConfig object
Required: No
- sseConfig
-
Server-side encryption (SSE) settings for the store.
Type: SseConfig object
Required: No
-
Tags for the store. You can configure up to 50 tags.
Type: String to string map
Key Length Constraints: Minimum length of 1. Maximum length of 128.
Value Length Constraints: Minimum length of 0. Maximum length of 256.
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"arn": "string",
"creationTime": "string",
"description": "string",
"eTagAlgorithmFamily": "string",
"fallbackLocation": "string",
"id": "string",
"name": "string",
"propagatedSetLevelTags": [ "string" ],
"s3Access": {
"accessLogLocation": "string",
"s3AccessPointArn": "string",
"s3Uri": "string"
},
"sseConfig": {
"keyArn": "string",
"type": "string"
},
"status": "string",
"statusMessage": "string"
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.