knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

Introduction

As the AMP-AD Knowledge Portal has grown to 50+ studies and over 70,000 data files, we've realized a need to be more standardized in our approaches to data curation. Thus, we built an application that performs many of the routine data quality checks we previously conducted by hand, with the hopes that it will help you, the data contributor, get your data checked, validated, and shared more easily and quickly.

The dccvalidator tool checks your metadata for, among other things:

Requirements

To use this application you must:

  1. Be logged in to Synapse in your browser
  2. Be a Synapse certified user{target="_blank"}
  3. Be a member of the AD_PortalContributor Synapse team

Some portions of the app submit data to Synapse. This allows curators at Sage to troubleshoot issues if needed; no one outside the Sage curation team will be able to download the data.

Instructions

This topic has a general overview of the data contribution process and detailed instructions for each step, including uploading documentation, metadata requirements, validating and reviewing the metadata, and uploading the dataset.

General Process Overview

  1. Contact the AD Data Liaison{target="_blank"} to discuss the study and the expected data. Receive staging folder synIDs for each expected dataset.
  2. Using the templates located at the bottom of the Onboarding page{target="_blank"}, create a study description, methods description(s), and acknowledgement statement.
  3. Upload the study description{target="_blank"}, methods description{target="_blank"} and acknowledgement statement{target="_blank"} using the Submission Form{target="_blank"}. Instructions on writing this documentation is located on our Data Contributor Information{target="_blank"} page.
  4. Validate metadata + manifest files in dccvalidator{target="_blank"}.
  5. Contact the AD Data Liaison{target="_blank"} when all files pass validation. The team will verify items not checked by the dccvalidator. Receive permissions to upload data to the staging folder.
  6. Use the validated manifest to upload the data with syncToSynapse (see Synapse documentation for uploading data in bulk){target="_blank"}.
  7. Contact the AD Data Liaison{target="_blank"}. The AD Curation team will do the final verifications before releasing the data.

Documentation Upload

Each study in AMP-AD has the accompanying documentation in the portal{target="_blank"}:

  1. Study Description: use template located here{target="_blank"} to write your study description
  2. Methods Description(s): use template located here{target="_blank"} to write a methods description for each of your assay types
  3. Acknowledgement statement: use template located here{target="_blank"} to write an acknowledgement statement for the use of those that cite your data You can submit your documentation through the Submission Form{target="_blank"} located on our Onboarding Documentation{target="_blank"}

Data Validation

Metadata Requirements

Each study should include metadata that would help a new researcher understand and reuse the data. In most cases, we will expect 4 files:

  1. Individual metadata a csv file describing each individual in the study.
  2. Biospecimen metadata a csv file describing the specimens that were collected.
  3. Assay metadata a csv file describing the assay that was performed. If multiple assays were part of the study, there will be one assay file for each.
  4. A manifest listing each file that will be uploaded. You will use this file to upload your data after it has been validated and approved. The manifest should be in tsv (tab-delimited text) format.

We provide templates for all of the metadata files within the portal: https://www.synapse.org/#!Synapse:syn18512044

You can download these files, fill out the first tab, and save it as a .csv or .tsv file. The other tabs exist to describe the variables and allowed values in the template. If you do not have any data for some of the columns, you can leave them blank (but do not remove the column header).

If you don't see a template for the assay(s) in your study, or if not all of the metadata types above seem relevant to your study, please get in touch with us at AMPAD_SageAdmin@synapse.org.

Validating the Metadata and Manifest

The data validation portion of the app allows you to upload metadata files (as .csv) and the manifest (as .tsv or .txt) and view the results of a series of automated checks.

Examples of the types of checks we perform are:

Viewing Data Summary

We also provide a summary of the files you have uploaded, showing the number of individuals, specimens, and files. We visualize the data in each column by its data type to help spot unexpected missing values.

Uploading Data

Once data has passed validation, and the AMP-AD data curators permit edit permissions to the staging folder for your study, you will use your newly created manifest file to upload your data and metadata using syncToSynapse. You can execute syncToSynapse in the Python client{target="_blank"} or R client{target="_blank"}. For uploads with more than 100 files or large file sizes, the Python client or command line client will upload substantially faster than the R client. For getting started with the Synapse programmatic clients, please visit our Synapse docs{target="_blank"}.



Sage-Bionetworks/dccvalidator documentation built on May 7, 2022, 10:32 a.m.