Cookie の設定を選択する

当社は、当社のサイトおよびサービスを提供するために必要な必須 Cookie および類似のツールを使用しています。当社は、パフォーマンス Cookie を使用して匿名の統計情報を収集することで、お客様が当社のサイトをどのように利用しているかを把握し、改善に役立てています。必須 Cookie は無効化できませんが、[カスタマイズ] または [拒否] をクリックしてパフォーマンス Cookie を拒否することはできます。

お客様が同意した場合、AWS および承認された第三者は、Cookie を使用して便利なサイト機能を提供したり、お客様の選択を記憶したり、関連する広告を含む関連コンテンツを表示したりします。すべての必須ではない Cookie を受け入れるか拒否するには、[受け入れる] または [拒否] をクリックしてください。より詳細な選択を行うには、[カスタマイズ] をクリックしてください。

Running queries on HealthOmics variant stores

フォーカスモード
Running queries on HealthOmics variant stores - AWS HealthOmics
このページはお客様の言語に翻訳されていません。 翻訳のリクエスト

You can perform queries on your variant store using Amazon Athena. Note that genomic coordinates in variant and annotation stores are represented as zero-based, half-closed half-open intervals.

Run a simple query using the Athena console

The following example shows how to run a simple query.

  1. Open the Athena Query editor: Athena Query editor

  2. Under Workgroup, select the workgroup that you created during setup.

  3. Verify that Data source is AwsDataCatalog.

  4. For Database, select the database resource link that you created during the Lake Formation setup.

  5. Copy the following query into the Query Editor under the Query 1 tab:

    SELECT * from omicsvariants limit 10
  6. Choose Run to run the query. The console populates the results table with the first 10 rows of the omicsvariants table.

Run a complex query using the Athena console

The following example shows how to run a complex query. To run this query, import ClinVar into the annotation store.

Run a complex query
  1. Open the Athena Query editor: Athena Query editor

  2. UnderWorkgroup, select the workgroup that you created during setup.

  3. Verify that Data source is AwsDataCatalog.

  4. For Database, select the database resource link that you created during the Lake Formation setup.

  5. Choose the + at the top right to create a new query tab named Query 2.

  6. Copy the following query into the Query Editor under the Query 2 tab:

    SELECT variants.sampleid, variants.contigname, variants.start, variants."end", variants.referenceallele, variants.alternatealleles, variants.attributes AS variant_attributes, clinvar.attributes AS clinvar_attributes FROM omicsvariants as variants INNER JOIN omicsannotations as clinvar ON variants.contigname=CONCAT('chr',clinvar.contigname) AND variants.start=clinvar.start AND variants."end"=clinvar."end" AND variants.referenceallele=clinvar.referenceallele AND variants.alternatealleles=clinvar.alternatealleles WHERE clinvar.attributes['CLNSIG']='Likely_pathogenic'
  7. Choose Run to start running the query.

このページの内容

プライバシーサイト規約Cookie の設定
© 2025, Amazon Web Services, Inc. or its affiliates.All rights reserved.