Dataset Formatting
v 0.5
Andrew Patterson, Marko Malenic, William Intan
Document History
Section titled “Document History”| Version | Date | Who | Change Summary |
|---|---|---|---|
| 0.1 | 2025-05-20 | AP | Initial layout / requirements |
| 0.2 | 2025-06-10 | MM | Added ro-crates solution proposal |
| 0.3 | 2025-07-09 | AP | More requirements and pass through Claude |
| 0.4 | 2025-07-10 | AP | Added diagram and other solution proposals |
| 0.5 | 2025-07-17 | AP | Feedback from BioCommons BA meeting |
Overarching User Story
Section titled “Overarching User Story”The lifecycle of a dataset—from creation through storage to distribution—requires coordination among various stakeholders.
One underdeveloped aspect of coordination is a standardised way (possibly at best a convention) to define how a collection of individual objects (files) makes up a dataset. We will call this convention or standard the Dataset Format.
Our overarching multi-stakeholder story therefore speaks to standardising the process of certain researchers (the Data Producer) creating a dataset that contains a complete set of all relevant information with strong computable definitions of the data, supporting multiple object types (genomic and non-genomic). The full dataset (or subset) can then safely be passed to other researchers (the Consumers) with the Producers and Custodians defining and applying all necessary data governance controls. The Consumer can use the information contained in the dataset to understand all parts of the dataset — that is, the dataset is as much as possible self-describing.
In the middle of the process is a Custodian that is taking and storing the dataset on behalf of the producer. The dataset format needs to support the activities they need to perform — such as indexing the dataset, and any integrations for ingestion and distribution.
It is recognised in the story that potentially the Producer, Consumer and Custodian might all be internal to a single organisation, or in various combinations spanning organisational boundaries. Custodian might be a role taken on by the Producer rather than being a separate entity.
| Role | Description |
|---|---|
| Producer | Owns the process of generating or obtaining sequencing/experimental data and any additional analysis that is considered part of the dataset. |
| Consumer | Wants to use the dataset for new research. |
| Custodian | Holds the data on behalf of the producer with an aim of facilitating controlled access for consumers. |
Some User Stories
Section titled “Some User Stories”- I am a producer of a dataset and I want to include a primary identifier and description of my dataset along with some BAM objects.
- I am a producer of a dataset and I want to submit a new batch of data that corrects/clarifies the description of my dataset as well as adds some new BAM objects.
- I am a producer of a dataset and I want to submit a new batch of data that removes a problematic BAM object from the downstream dataset (I have details of why it has to be removed that I also want to include).
- I am a producer of a dataset and I want to submit a new batch of data that adds to the list of collaborating scientists who produced the data — specifying their name, ORCID and institute.
- I am the custodian of a dataset submission process, and I want to validate that a new submitted batch conforms to the rules/profiles for the dataset.
- I am the producer of a dataset and I want to validate that a proposed new batch of data (still held locally before it is submitted) conforms to the rules/profiles for my dataset.
- I am a producer or custodian of a dataset and I want to be able to confirm the compliance of the set of batches making up the dataset.
- I am a producer or custodian of a dataset and I want to be able to extract high level information from the set of batches making up a dataset, such as a list of objects and their corresponding checksums.
- I am a producer or custodian of a dataset and I want to be able to ask for the “difference” between a dataset that includes or does not include the last “submission batch” — that is, I can roll back in time by asking for it to pretend a batch was not submitted and see what changes/additions/deletions are proposed with the batch.
- I am a producer of a dataset and I want to be able to express that two fastq objects are a “pair” that are explicitly related to each other.
- I am a producer of a dataset and I want to be able to specify that a FASTQ pair belongs to a specimen/sample with a provided identifier.
Requirements
Section titled “Requirements”Requirements have been sourced from the following:
- [AG-UMCCR] Experience from UMCCR staff having played the practical role in collaborating with Australian Genomics as GDR custodians
- [EGA] Current practice of European Genome Archive
- [AP] Andrew Patterson
- [OH] Oliver Hofmann
We will refer to all data that can be stored as “objects”. This could be large genomic objects such as BAMs or FASTQs, or phenotypic information such as a FHIR JSON Bundle or CSV. The use of the word object could be interchanged with “file” were the dataset to be stored on a regular file system without any loss of meaning to these requirements.
| ID | Source | Requirement | Comment / Rationale |
|---|---|---|---|
DFREQ‑1 |
[AG-UMCCR] |
The Producer MUST be able to contribute new data to the dataset held by the Custodian as a sequence of batches over time. | Submitting data often occurs in batches separated by long time periods (even if all the sequencing is done in one sequencing run — the actual submission of data can also be split into submission batches to break the transfers of data into more manageable work items). For a dataset that does not need submission batching — there is no loss of generality in considering this as a single batched sequence. |
DFREQ‑2 |
[AG-UMCCR] |
The producer SHOULD be able to contribute corrections to the individual objects in the dataset over time. | Mistakes in data (mislabelling samples etc) is sometimes not detected till well after the dataset has started to be distributed and hence a new batch may need to be submitted correcting data previously submitted. |
DFREQ‑20 |
[AG-UMCCR] |
The consumer MUST be able to detect corrections to individual objects, even if the actual corrected object content is no longer available. | Whilst mistakes in data may prevent future distribution of a mislabelled sample (for instance) — consumers who have already accessed the dataset must have the ability to be informed of the correction — even if that is just some noting that it has occurred. |
DFREQ‑3 |
[AG-UMCCR] |
A participant in a dataset MUST be able to have data objects that span multiple batches. | A participant may have main sequencing in one batch — and later top-up sequencing that occurs in another batch (this is but one example — there are many ways that an individual occurs across batches). |
DFREQ‑4 |
[AG-UMCCR] |
Producers MUST be allowed to provide metadata that references objects that occurred in previous batches. | An analysis may be submitted in a batch well after the sequencing — but it may make sense for the metadata to indicate which sequencing objects contributed to a later analysis object. |
DFREQ‑5 |
[AG-UMCCR] |
The producer SHOULD be able to assert with some mechanism the checksum of the content of objects. | Large artifact transfers between systems may introduce errors in the content so it is good practice that the content of an object has been asserted as close as possible to production. |
DFREQ‑6 |
[AG-UMCCR] |
The consumer SHOULD be able to verify the checksum of the content of any objects they have received against those asserted by the producer. | As the final user of the objects, it is good practice that the consumer can verify that object content is unchanged. |
DFREQ‑7 |
[AG-UMCCR] |
The producer MUST be able to assign a primary persistent identifier to the dataset. | Datasets must be referred to unambiguously from other computer systems using some form of persistent canonical identifier. |
DFREQ‑8 |
[AG-UMCCR] |
The producer SHOULD be able to assign other identifiers to the data. | Datasets may have multiple identifiers for various purposes (publications, grants). |
DFREQ‑9 |
[EGA] |
The producer MAY be able to create datasets that recognise levels of hierarchy grouping the data within the dataset. | A dataset may consist of multiple studies or cohorts that broadly organise the data according to the needs of the producer. These may all be considered part of some larger dataset though. |
DFREQ‑10 |
[AG-UMCCR] |
The producer SHOULD be able to store sets of objects tied to each other such as a pair of fastq objects. | Sequencing objects are sometimes by convention produced in pairs or sets, and traditionally these are grouped solely by object naming conventions. |
DFREQ‑11 |
[AG-UMCCR] |
The producer SHOULD be able to store genomic objects and have them tied/grouped to a participant. | A participant might have a variety of sequencing objects or analysis or indeed might have multiple sequencing performed over time (in a cancer setting) — and these should all be able to be tied to the participant they were sourced from. |
DFREQ‑12 |
[AG-UMCCR] |
The producer MAY be able to store objects that indicate the family/pedigree relationships between participants. | Rare disease genomics datasets require storing relationships between participants and their data. |
DFREQ‑13 |
[AP] |
The consumer MUST be able to computationally consume some objects that leads to an understanding of other objects in the dataset. | There must be some minimum set of information that is useable by the consumer to understand the objects in the dataset. |
DFREQ‑14 |
[AP] |
The consumer MAY be able to computationally consume a well schema’d artifact that leads to a strong understanding of other objects in the dataset. | Analysis tools for consumers will be able to be written that help process datasets but only if the structure of the dataset is computable. |
DFREQ‑15 |
[AP] |
The custodian MAY be able to computationally consume a well schema’d artifact that leads to an understanding of other objects in the dataset. | The custodian needs to apply security and governance controls over the objects and knowing the nature of all the objects computationally will help automate this process. |
DFREQ‑16 |
[AP] |
The producer SHOULD be able to store consent information relating to objects that then play a part in the technical mechanics of the custodian releasing the dataset. | Unless a dataset is homogenously consented, any object related to a participant may or may not be releasable to Consumers. The consent information that defines this needs to be stored somewhere that is accessible to the Custodian. |
DFREQ‑17 |
[AG-UMCCR] |
The producer SHOULD be able to store non-standardised data or objects in the dataset. | Each dataset may have data items that are unique to the experiment that created them — there needs to be mechanisms by which this information can be passed downstream to the consumer — albeit not in a standardised form. |
DFREQ‑18 |
[OH] |
The producer MUST be able to store relationships between objects and participants. | Most objects in a dataset will be linked directly to a participant and this relationship must be able to be recorded for all objects. |
DFREQ‑19 |
[AP] |
The producer SHOULD be able to store a relationship of multiple participants to a single object. | There are some genomic objects (notably VCF objects) that can contain data from multiple participants in a single object — which may have downstream governance/release concerns for the custodian. |
Non-Functional Requirements
Section titled “Non-Functional Requirements”| ID | Description | Comment / Rationale |
|---|---|---|
| DFNF-1 | There SHOULD BE no practical limit on the number of objects in a dataset. | Whilst there might be other constraints on the size of a dataset (cost to store!) — the dataset format should not itself be imposing limits. |