HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux ip-172-31-42-149 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 07:00:04 UTC 2025 aarch64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/local/aws-cli/v2/current/dist/awscli/examples/omics/create-annotation-store.rst
**Example 1: To create a VCF annotation store**

The following ``create-annotation-store`` example creates a VCF format annotation store. ::

    aws omics create-annotation-store \
        --name my_ann_store \
        --store-format VCF \
        --reference referenceArn=arn:aws:omics:us-west-2:123456789012:referenceStore/1234567890/reference/1234567890

Output::

    {
        "creationTime": "2022-11-23T22:48:39.226492Z",
        "id": "0a91xmplc71f",
        "name": "my_ann_store",
        "reference": {
            "referenceArn": "arn:aws:omics:us-west-2:123456789012:referenceStore/1234567890/reference/1234567890"
        },
        "status": "CREATING",
        "storeFormat": "VCF"
    }

**Example 2: To create a TSV annotation store**

The following ``create-annotation-store`` example creates a TSV format annotation store. ::

    aws omics create-annotation-store \
        --name tsv_ann_store \
        --store-format TSV \
        --reference referenceArn=arn:aws:omics:us-west-2:123456789012:referenceStore/1234567890/reference/1234567890 \
        --store-options file://tsv-store-options.json

``tsv-store-options.json`` configures format options for annotations. ::

    {
        "tsvStoreOptions": {
            "annotationType": "CHR_START_END_ZERO_BASE",
            "formatToHeader": {
                "CHR": "chromosome",
                "START": "start",
                "END": "end"
            },
            "schema": [
                {
                    "chromosome": "STRING"
                },
                {
                    "start": "LONG"
                },
                {
                    "end": "LONG"
                },
                {
                    "name": "STRING"
                }
            ]
        }
    }

Output::

    {
        "creationTime": "2022-11-30T01:28:08.525586Z",
        "id": "861cxmpl96b0",
        "name": "tsv_ann_store",
        "reference": {
            "referenceArn": "arn:aws:omics:us-west-2:123456789012:referenceStore/1234567890/reference/1234567890"
        },
        "status": "CREATING",
        "storeFormat": "TSV",
        "storeOptions": {
            "tsvStoreOptions": {
                "annotationType": "CHR_START_END_ZERO_BASE",
                "formatToHeader": {
                    "CHR": "chromosome",
                    "END": "end",
                    "START": "start"
                },
                "schema": [
                    {
                        "chromosome": "STRING"
                    },
                    {
                        "start": "LONG"
                    },
                    {
                        "end": "LONG"
                    },
                    {
                        "name": "STRING"
                    }
                ]
            }
        }
    }

For more information, see `Omics Analytics <https://docs.aws.amazon.com/omics/latest/dev/omics-analytics.html>`__ in the Amazon Omics Developer Guide.