Skip to content

Data Releaser

Dataset #1
Dataset #1
Dataset #n
Dataset #n
Creates
Creates
Creates
Creates
Stored In
Stored In
Stored In
Stored In
Caches Data Into
Caches Data Into
Caches Data Into
Caches Data Into
Controls Access Via
Controls Access Via
Applies For Access To
Applies For Access To
Uses
Uses
Accesses / Uses Data
Accesses / Uses Data
Data contributor
Data contributor
Researcher
Researcher
Data controller
Data controller
Genomic data node

A collection of functionality for copying / cacheing and giving controlled access to genomic data
Genomic data nodeA collection of functionality for copying /cacheing and giving controlled access togenomic data
Long term storage (cloud)
e.g. AWS long term storage (glacier etc)
Long term storage (cloud)e.g. AWS long term storage(glacier etc)
Long term storage (on-prem)
e.g. Melbourne University long term storage
Long term storage (on-prem)e.g. Melbourne University longterm storage
Researcher tool #1

e.g. Seqera
Researcher tool #1e.g. Seqera
Researcher tool #n
e.g. AWS EC2
Researcher tool #ne.g. AWS EC2
DATA
COPYING
DATACOPYING
DATA
SHARING
DATASHARING
COST
MONITOR
COSTMONITOR
DATA
FORMATTING
DATAFORMATTING
RESEARCHER
ENVIRONMENTS
RESEARCHERENVIRONMENTS
SUPPORT
SUPPORT
REAL DATA
REAL DATA
DAC
DAC
Text is not SVG - cannot display
Release Candidate

This is a command line tool, written in Go, that centre administrators use to give researchers access to genomic data, either for a set period or with no end date. It primarily runs in a dedicated data account that covers the whole life of a release, including granting access, extending it, revoking it and cleaning up afterwards. It addresses the data release user stories, which cover sharing data with researchers inside the organisation, such as into a Seqera workspace, as well as releasing it to another organisation or researcher.

The tool releases data in one of two ways, either by using S3 policies or by using htsget with VPC lattice.

  • htsget. For a htsget release, the researcher streams regions of named sequencing libraries through htsget-rs over a private AWS VPC Lattice connection, as described in AWS-native data sharing. The data releaser is a tool that implements the end-to-end connection between these two. The tool looks up each library’s BAM file in a data warehouse and records a share for the researcher’s AWS account. htsget-rs checks requests against that record through the tool’s authorisation service which htsget-rs enforces.

htsget account topologyOperatorAdministrator(SSO into Data Control)data-releaser CLIWarehouse accountData Control accountData accountResearcher accountOrcaVault mart.bam(Lake Formation share)Athena(mart resource link)authorization service(Lambda)API Gateway(private REST API)DynamoDB ledger(share records)htsget-rs (Lambda)callout response cacheVPC Latticeservice networkS3 manifest bucket(per-account prefix)S3 bioinformaticsdata (BAM + BAI)resolve librariesread / writeshare recordsverify RAM / Latticeassociationwrite manifestSELECT viaresource linkauthorizationcalloutquery activesharescross-accountGetObjectSeqera / consumer(researcher VPC)htsget requestread own manifestLegendadministrator's CLIevery htsget requestmanifest (descriptive)
The htsget mechanism. Blue lines are the path of a researcher request, which passes through the authorisation service and its share records.
  • s3. For an S3 release, the tool first stages a whole dataset, which copies it from the external source store into a cache bucket in the Data Control account using steps-s3-copy. It then grants one researcher AWS account read access from a nominated VPC, by writing the bucket policy and the policy of the KMS key that encrypts the bucket. AWS checks both policies on every request, which enforces the access control.

s3 account topologyOperatorAdministrator(SSO into Data Control)data-releaser CLIData Control accountResearcher accountcopy-completionLambdaEventBridge rulecopy orchestration(Step Functions)DynamoDB ledger(copies + grants)dataset cache — one per datasetKMS keyS3 cache bucketS3 manifest bucket(per-account prefix)external source store(S3-compatible)Seqera / consumer(nominated VPC)stage: start the copyread / write copyand grant recordsshare / revoke / extend:bucket + key policiespurge: key deletionwrite manifeststatus changestaged / failedread objectswrite objectsSSE-KMSdirect read fromthe nominated VPCread own manifestLegendCLI and automationdataset bytesmanifest (descriptive)
The S3 mechanism. Blue lines are the dataset bytes. The researcher reads the cache bucket directly, and AWS checks the bucket and key policies on each read.

The design of the data releaser keeps each release step easy to change and audit:

  • A copy of a dataset and a researcher’s grant to read it are separate records. One copy can be shared with several researchers, and access that is withdrawn and later given back needs a policy write instead of additional transfers.

  • Each share publishes a JSON manifest that tells the researcher which data they can reach and where to find it. The manifest only describes access so it can’t be used to access data in an unintended way.

  • Revoking an S3 grant stops reads as soon as the policies are written. Revoking an htsget share takes effect once htsget-rs’s cached authorisation decisions expire, which can take up to one hour.

  • purge stops all reads of an S3 dataset immediately. It removes every grant from the policies and schedules deletion of the dataset’s encryption key, and a key waiting to be deleted can’t decrypt anything.

  • restore can recover the copy during the KMS waiting period of 7 to 30 days, but every grant on it has to be made again.

  • validate checks the deployed infrastructure to make testing grants simple. For the S3 mechanism it also compares the deployed policies with the recorded grants, so it finds policy edits made outside the tool.

The htsget mechanism can share precise reads level data, with plans to include variant level data. Which means that the access control can be configured to share only certain regions of BAMs, unlike the S3 mechanism which shares whole files.

Researchers never use the tool themselves. In the CUP data guide, centre staff run stage and share after a data access committee approves an application in REMS. The researcher then gets an email when the data is ready in their Seqera workspace.