ga4gh.org
DRS - Cold Storage and Bulk Requests
Co-Chairs, Ian Fore, Michele Mattioni, Brian O’Connor
ga4gh.org
Cold Storage
ga4gh.org
Drivers for cold storage
NCBI dbGaP/SRA
Other driver projects?
ga4gh.org
Typical SRA/dbGaP file storage tier strategy
file | type | Size bytes | location | state |
17_SR.sorted.bam | bam | 77,815,229 | s3 | cold |
SRR1999488 | sra | 27,930,067 | s3 | hot |
SRR1999488.lite | sra | 12,037,768 | ncbi,gs,s3 | hot |
Files for a sequencing run
ga4gh.org
Balancing factors
File Format
Tool capability
Storage tier
Platform flow
Service
ga4gh.org
Related factors
File format
Cram, bam, fasta, sra
Protocol
DRS, htsget, refget, etc
Platform flow
File transfer to working directory
Tool capability
Do tools work with files or protocols?
ga4gh.org
SRA sam-dump
Converts SRA format
BAM
FASTA
ga4gh.org
Current NCBI DRS response for a file in cold storage
https://locate.ncbi.nlm.nih.gov/ga4gh/drs/v1/objects/f8c6e53425fe82061f792c79c7764c33
status_code:409
{
"msg":"The file has been moved offline.",
"Status_code":409
}
ga4gh.org
Workaround at client level - simulated response
https://locate.ncbi.nlm.nih.gov/ga4gh/drs/v1/objects/f8c6e53425fe82061f792c79c7764c33
status_code:200
{� "access_methods": [� {� "access_id": "1",� "region": "unknown",� "type": "https",� "storage": "cold"� }� ],� "id": "f8c6e53425fe82061f792c79c7764c33",� "self_url": "drs://locate.ncbi.nlm.nih.gov/f8c6e53425fe82061f792c79c7764c33"�}
ga4gh.org
Proposal: support attribute on access_method
{ "access_methods": [� {� "access_id": "e93724",� "region": "ncbi",� "type": "https"� },� {� "access_id": "fbd466",� "region": "gs.US",� "type": "https",� "storage": "cold"� },� {� "access_id": "0da151",� "region": "s3.us-east-1",� "type": "https"� }� ],� "checksums": [{ "checksum": "044e759c2e430c3db049392b181f6f5a", "type": "md5"} ],� "created_time": "2022-06-03T14:07:27Z",� "id": "044e759c2e430c3db049392b181f6f5a",� "name": "SRR000066.lite",� "self_url": "drs://locate.ncbi.nlm.nih.gov/044e759c2e430c3db049392b181f6f5a",� "size": 118588310�}
See DRS issue 395
ga4gh.org
Key questions
Mapping to the DRS model
DRS Object or Access Method
Optional attribute
I.e. only when needed for cold
Indicating availability
Binary - hot or cold
Accommodating different tiers
Tiers are cloud provider specific
Indicate service level e.g. time to make available
How long should a thawed file remain hot?
ga4gh.org
Factors in supporting cold storage
NCBI Cloud Data Delivery Service (CDDS)
Download and hot storage at user cost
Admin access on consumer bucket must be granted to CDDS
https://www.ncbi.nlm.nih.gov/sra/docs/data-delivery/
ga4gh.org
NCBI Cloud Data Delivery Service
SRA accession (run) based not file based
Accession-to-file (drs_id) changes over time
ga4gh.org
NCBI Cloud Data Delivery Service - API methods
Workorder status
Email, workorder id
Workorder History
Submit workorder
Email, target bucket
Verify target bucket (has it been configured for access)
Largely cloud provider agnostic
ga4gh.org
Cloud Data Delivery Service
Cloud provider specific Access Management
Accession (run) based not file based
Issues with granting required access
ga4gh.org
Platform flow - hot storage
NCBI bucket
NCBI DRS
Seven Bridges bucket
samtools
Seven Bridges bucket
File path
transfer
Task environment in Cavatica
User’s project in BioData Catalyst
Seven Bridges DRS
download
Signed URL
WES
User script
ga4gh.org
Platform flow - direct transfer to target bucket?
NCBI bucket
cold
NCBI DRS
User script
samtools
Seven Bridges bucke�hot
File path
transfer
Task environment in Cavatica
WES
ga4gh.org
Bulk Operations
ga4gh.org
Bulk Operations
Multiple object IDs
Multiple access methods
Multiple signed URLs
ga4gh.org
Status of Bulk Operations in DRS 1.4
ga4gh.org
Status of DRS 1.4 in the Starter Kit
ga4gh.org
ga4gh.org
ga4gh.org
ga4gh.org