Omics / Client / upload_read_set_part

upload_read_set_part#

Omics.Client.upload_read_set_part(**kwargs)#

This operation uploads a specific part of a read set. If you upload a new part using a previously used part number, the previously uploaded part will be overwritten.

See also: AWS API Documentation

Request Syntax

response = client.upload_read_set_part(
    sequenceStoreId='string',
    uploadId='string',
    partSource='SOURCE1'|'SOURCE2',
    partNumber=123,
    payload=b'bytes'|file
)
Parameters:
  • sequenceStoreId (string) –

    [REQUIRED]

    The Sequence Store ID used for the multipart upload.

  • uploadId (string) –

    [REQUIRED]

    The ID for the initiated multipart upload.

  • partSource (string) –

    [REQUIRED]

    The source file for an upload part.

  • partNumber (integer) –

    [REQUIRED]

    The number of the part being uploaded.

  • payload (bytes or seekable file-like object) –

    [REQUIRED]

    The read set data to upload for a part.

Return type:

dict

Returns:

Response Syntax

{
    'checksum': 'string'
}

Response Structure

  • (dict) –

    • checksum (string) –

      An identifier used to confirm that parts are being added to the intended upload.

Exceptions

  • Omics.Client.exceptions.InternalServerException

  • Omics.Client.exceptions.NotSupportedOperationException

  • Omics.Client.exceptions.ServiceQuotaExceededException

  • Omics.Client.exceptions.ThrottlingException

  • Omics.Client.exceptions.ValidationException

  • Omics.Client.exceptions.ResourceNotFoundException

  • Omics.Client.exceptions.AccessDeniedException

  • Omics.Client.exceptions.RequestTimeoutException