Based on the experience on managing data coordination projects for 10+ years at Sage, the below are recommendations on how best to manage your Synapse project for data sharing and management.
Note: This page is a work in progress and will contain code examples at a later date.
We recommend creating Synapse Teams for permission management on your Synapse project so that you manage users that are in these teams instead of granting individual users access to your project. These are the recommended teams to create:
Below are some key permission criteria to consider when setting up your project:
When organizing your data for upload we have a preferred organization (flattened data layout) and an alternate option (hierarchy data layout) if your project requires that. Synapse files are automatically versioned when you create a file with the same filename, so be sure to account for that when organizing your folders.
NOTE: If you and your contributing site decide to use a hierarchical file structure within your cloud storage location, please remember that each top-level folder and all of its subfolders must contain data of the same type (see details below).
Top level folders correspond to the datasets being submitted. See the examples below. You can name your datasets in a way that is descriptive for your contributing site.
You can use either the Hierarchy or Flattened data layout according to the examples below.
This is the preferred dataset organization option. Each dataset folder contains the same datatype, and there aren’t nested folders containing datasets.
.
├── biospecimen_experiment_1
├── manifest1.tsv
├── biospecimen_experiment_2
├── manifestA.tsv
├── single_cell_RNAseq_batch_1
├── manifestX.tsv
├── fileA.txt
├── fileB.txt
├── fileC.txt
└── fileD.txt
└── single_cell_RNAseq_batch_2
├── manifestY.tsv
└── file1.txt
In this option, subfolders should be of the same data type and level as the root folder they are contained in. For example, you should not put a biospecimen and a clinical demographics subfolder within the same folder. Your files should be reasonably descriptive in stating the assay type and level and be consistently prefixed with the assay type.
.
├── clinical_diagnosis
├── clinical_demographics
├── biospecimen
├── experiment_1
├── manifest1.tsv
└── experiment_2
├── manifestA.tsv
└── single_cell
├── batch_1
├── manifestX.tsv
├── fileA.txt
├── fileB.txt
├── fileC.txt
└── fileD.txt
└── batch_2
├── manifestY.tsv
└── file1.txt
A File View allows you to see groups of files, tables, projects, or submissions and any associated annotations about those items. Annotations are an essential component to building a view. Annotations are labels that you apply to your data, stored as key-value pairs in Synapse. You can use annotations to select specific subsets of your data across many projects or folders and group things together in one view.
You can use a view to:
For more information, visit File Views.
Manifests are crucial for the organization of your data in Synapse. In the hierarchical case, you would fill in one manifest and include all files in experiment/batches; in the flattened case, you would fill in one manifest for each top level folder. The manifest would contain Synapse annotations which can be used to query the data when a File View is created. Please read Manifest CSV for more information.
Synapse Project: https://www.synapse.org/Synapse:syn27229419/wiki/623145
This project powers the elite portal: https://eliteportal.synapse.org/. More information about the studies and the files can be found in this portal.