create_sequence_store
¶
create_sequence_store(
name: SequenceStoreName,
*,
config_overrides: Optional[OmicsClientConfig] = None,
description: Optional[SequenceStoreDescription] = None,
sse_config: Optional[SseConfig] = None,
tags: Optional[TagMap] = None,
client_token: Optional[ClientToken] = None,
fallback_location: Optional[FallbackLocation] = None,
e_tag_algorithm_family: Optional[ETagAlgorithmFamily] = None,
propagated_set_level_tags: Optional[PropagatedSetLevelTags] = None,
s3_access_config: Optional[S3AccessConfig] = None,
) -> CreateSequenceStoreResponse
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 Amazon Web Services HealthOmics User Guide.
Parameters:
-
name(SequenceStoreName) –A name for the store.
-
description(Optional[SequenceStoreDescription], default:None) –A description for the store.
-
sse_config(Optional[SseConfig], default:None) –Server-side encryption (SSE) settings for the store.
-
tags(Optional[TagMap], default:None) –Tags for the store. You can configure up to 50 tags.
-
client_token(Optional[ClientToken], default:None) –An idempotency token used to dedupe retry requests so that duplicate runs are not created.
-
fallback_location(Optional[FallbackLocation], default:None) –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. -
e_tag_algorithm_family(Optional[ETagAlgorithmFamily], default:None) –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 Amazon Web Services HealthOmics User Guide.
-
propagated_set_level_tags(Optional[PropagatedSetLevelTags], default:None) –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.
-
s3_access_config(Optional[S3AccessConfig], default:None) –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.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred. Try the request again.
-
RequestTimeoutException–The request timed out.
-
ServiceQuotaExceededException–The request exceeds a service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_omics/_services/omics.py
4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 | |