---
title: "POST /sequencestore/{sequenceStoreId}/upload"
method: POST
path: "/sequencestore/{sequenceStoreId}/upload"
---

# POST /sequencestore/{sequenceStoreId}/upload

`POST /sequencestore/{sequenceStoreId}/upload`

Initiates a multipart read set upload for uploading partitioned source files into a sequence store. You can directly import source files from an EC2 instance and other local compute, or from an S3 bucket. To separate these source files into parts, use the `split` operation. Each part cannot be larger than 100 MB. If the operation is successful, it provides an `uploadId` which is required by the `UploadReadSetPart` API operation to upload parts into a sequence store.

To continue uploading a multipart read set into your sequence store, you must use the `UploadReadSetPart` API operation to upload each part individually following the steps below:

*   Specify the `uploadId` obtained from the previous call to `CreateMultipartReadSetUpload`.
    
*   Upload parts for that `uploadId`.
    

When you have finished uploading parts, use the `CompleteMultipartReadSetUpload` API to complete the multipart read set upload and to retrieve the final read set IDs in the response.

To learn more about creating parts and the `split` operation, see [Direct upload to a sequence store](https://docs.aws.amazon.com/omics/latest/dev/synchronous-uploads.html) in the _Amazon Web Services HealthOmics User Guide_.

## Path parameters

- `sequenceStoreId` string, required

## Request body

- object
  - `clientToken` string — An idempotency token that can be used to avoid triggering multiple multipart uploads.
  - `sourceFileType` 'FASTQ' | 'BAM' | 'CRAM' | 'UBAM', required — The type of file being uploaded.
  - `subjectId` string, required — The source's subject ID.
  - `sampleId` string, required — The source's sample ID.
  - `generatedFrom` string — Where the source originated.
  - `referenceArn` string — The ARN of the reference.
  - `name` string, required — The name of the read set.
  - `description` string — The description of the read set.
  - `tags` object — Any tags to add to the read set.

## Response `200`

Success

- CreateMultipartReadSetUploadResponse
  - `sequenceStoreId` string, required — The sequence store ID for the store that the read set will be created in.
  - `uploadId` string, required — The ID for the initiated multipart upload.
  - `sourceFileType` 'FASTQ' | 'BAM' | 'CRAM' | 'UBAM', required — The file type of the read set source.
  - `subjectId` string, required — The source's subject ID.
  - `sampleId` string, required — The source's sample ID.
  - `generatedFrom` string — The source of the read set.
  - `referenceArn` string, required — The read set source's reference ARN.
  - `name` string — The name of the read set.
  - `description` string — The description of the read set.
  - `tags` object — The tags to add to the read set.
  - `creationTime` string, date-time, required — The creation time of the multipart upload.

## Other responses

- `480` — InternalServerException
- `481` — NotSupportedOperationException
- `482` — ServiceQuotaExceededException
- `483` — ThrottlingException
- `484` — ValidationException
- `485` — ResourceNotFoundException
- `486` — AccessDeniedException
- `487` — RequestTimeoutException

---

[API](https://skmtc.net/aws/apis/omics.md) · [All operations](https://skmtc.net/aws/apis/omics/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/omics/versions/e9df1bcc0813/schema)
