How to Submit Your Data
This guide describes how a study contributes its data to the CQDG, from first contact to publication on the portal. Our team supports you at every step.
Step 1: Contact us
Write to us at support@cqdg.ca to tell us about your study, the types of data you want to share (clinical, omics, imaging) and their approximate volume. We will then plan your submission with you.
Step 2: Sign a data transfer agreement
Before any data is transferred, your institution and the CQDG sign a data transfer agreement (DTA). It sets out which data is transferred and the conditions under which it is hosted and shared. We guide you through this step with your institution.
Step 3: Understand the two access levels
Data on the CQDG is shared at one of two access levels, each with its own submission path.
Registered access: the data described in the data dictionary, such as the study description, participants, biospecimens, diagnoses and phenotypes, as well as the metadata that describes your files. Every user with a CQDG account can view and explore this data on the portal. You submit it as .tsv files through the submission portal.
Controlled access: the data files themselves, currently omics files (e.g. FASTQ, BAM/CRAM, VCF). Clinical and imaging data files will be supported soon. Users can see that these files exist and browse their metadata, but they can only download them once your study has approved their access request. You deposit these files in a staging bucket that we provide (Step 5).
Step 4: Prepare your .tsv files according to the data dictionary
Before you start: your study's abbreviated name
- Choose an abbreviated name for your study and send it to us. The name must not contain underscores (
_): use hyphens instead (e.g.STUDY-NAME). For examples, see the Code column of the studies page on the CQDG portal, which is open without an account. We use this name to create your study in the submission portal and to identify it throughout the process. - Once your study has been created, request access to it in the submission portal.
- Use this same name in the
study_idfield of every table you submit.
Prepare one .tsv file per table, following the latest version of the data dictionary. The dictionary describes the format, allowed values and constraints of each field, and provides a template for each table.
Required tables
study: description of your study and its access conditionsparticipant: the study's participantsbiospecimen: the biospecimens collected from participantssample_registration: the samples, linked to their participant and biospecimenexperiment,sequencing_analysisandfile: the description of your data files
You will complete the experiment, sequencing_analysis and file tables in Step 6, once your files are in the staging bucket.
Required for family-based studies
If your study includes participants who are related to each other (e.g. trios, duos, twins, sibling pairs), the family table is required. It describes each family and each participant's relationship to the proband.
Strongly encouraged: phenotypes and diagnoses
If your study has phenotype or diagnosis data, we strongly encourage you to submit it in the phenotype and diagnosis tables. This is the data researchers rely on most to find studies relevant to their work. For each phenotype or diagnosis, you provide the term as recorded in your study along with its code in one of the supported ontologies:
- Phenotypes: Human Phenotype Ontology (HPO)
- Diagnoses: MONDO, ICD-10 and, for cancers, ICD-O (topography and morphology codes)
Other optional tables
The other tables (e.g. treatment, exposure, follow_up, family_history) are optional, but we recommend them whenever you have the data: the more complete your data, the easier your study is to discover.
Recommendations
- Use the same identifiers (study, participants, biospecimens, samples) consistently across all your files.
- Enter values in English unless the field's notes say otherwise (for example, the study
descriptionis provided in both French and English). Use allowed values exactly as listed in the dictionary, along with the ontology codes it requires. - Save your files in .tsv format (tab-separated values), UTF-8 encoded. Templates downloaded from the dictionary include the dictionary version in their name (e.g.
participant_v6.2.tsvfor version 6.2). You can keep or change this name as you like: in the submission portal, each table has its own upload button, and the file is saved under its table's name (e.g.participant.tsv), whatever its original name. That is also the name it will have if you download it again from the portal. - Use the submission portal to validate your files against the dictionary, and fix any reported errors before submitting.
Step 5: Deposit your controlled-access files in your staging bucket
We give you an S3 staging bucket dedicated to your study, along with the credentials and the S3 endpoint to use. You can transfer your files with the tool of your choice, for example:
- Globus
- rclone
- the AWS CLI, for example:
aws s3 sync ./my-files s3://<your-bucket>/ --endpoint-url <endpoint>
Once your files are uploaded, do not change their folder structure: their paths will be used in Step 6. We also recommend calculating each file's MD5 checksum before the transfer.
If you connect to the internet from a healthcare institution's network, the transfer may be blocked. In that case, contact your institution's IT department to have the connection unblocked.
If your files need to be recoded
If your files need to be transformed before ingestion (e.g. recoding identifiers or converting formats), we can lend you a virtual machine with access to your staging bucket. You can then do this work directly in the staging environment, without downloading your data.
Step 6: Describe your files: experiment, sequencing_analysis and file
Once your files are in the staging bucket, prepare the three tables that describe them, following the data dictionary:
experiment: one row per experiment (experimental strategy, platform, protocol, etc.)sequencing_analysis: one row per analysis performed on an experiment (analysis type, reference genome, pipelines, etc.)file: one row per file deposited in the bucket, linked to its sample (submitter_sample_id) and its analysis (analysis_name)
In file.tsv, the submitter_file_name field contains the full path of the file in your staging bucket, including the bucket prefix (e.g. s3://<your-bucket>/folder/file.fastq.gz). Also enter its size in bytes (file_size), its file_type and its data_type, and ideally its MD5 checksum (file_md5sum). A recursive listing of the bucket (e.g. rclone ls or aws s3 ls --recursive) gives you the paths and sizes of your files; add the s3://<your-bucket>/ prefix to each path.
Submit these three tables through the submission portal, as in Step 4.
Step 7: Ingestion and quality control
Once your .tsv files and data files are ready, we take it from there. We ingest your data into the platform and run quality control checks, including consistency between your .tsv files and the files deposited in the bucket. If anything needs correcting, we will contact you. Your data is made available on the portal only once quality control is complete.
We support you throughout
From planning your submission to publishing your data, our team is here to help. Write to us at support@cqdg.ca with any question, at any step.