...
To upload files to Synapse, you will need to perform the additional step of becoming a certified user /wiki/spaces/DOCS/pages/2007072795. Because Synapse stores data from human subjects research, Sage Bionetworks requires we require that you demonstrate an understanding of our governance, including comprehensive privacy and security issues. You can complete your certification by taking a short certification quiz on Synapse.
Before you begin this tutorial, make sure you have already created a project (see /wiki/spaces/DOCS/pages/2055471258). If you haven’t already, see the use case Setting Up a Project.
Uploading a File
Synapse can be used to store files of all types. All files that you upload to a project will appear in the Files tab, which is the root directory. You can also create nested folders within a Synapse project to manage files and keep them organized.
...
Navigate to the Files tab.
Use the Files Tools menu to select Add New Folder.
Decide on a folder name and click Save.
Navigate into your new folder by clicking on the name, then use the Folder Tools menu to select Upload or Link to a File.
Use the Browse button to select the file, or drag and drop it to upload, and click Save.
To learn more, see Files and Folders. To explore other features available for files and folders, read about about setting restrictions on your data, see /wiki/spaces/DOCS/pages/2024276030, .
Other features available for files and folders include /wiki/spaces/DOCS/pages/1972405096, Versioning Files, and /wiki/spaces/DOCS/pages/19724703732667708547, and Provenance.
...
Adding a Folder Wiki
You can add a description to the folder you just created by adding a folder wiki. Wikis can be added to projects, folders, tables, and files in Synapse, and they can help you communicate essential details, instructions, or other information about your work to other collaborators.
...
Your wiki content will be visible to anyone who has access to your folder.
To learn more, see the /wiki/spaces/DOCS/pages/1975746682 article.
Annotating Files
Annotations help you find files and search for data, and they are an essential component of the FAIR principles for data management. In Synapse, annotations are stored as key-value pairs, where the key defines a particular aspect of your data (for example, species, assay, file format) and the value defines a variable that belongs to that category (mouse, RNAseq, .bam). You can add annotations to projects, files, folders, tables, views, and views datasets in Synapse. In this example, you will annotate the file that you uploaded in the previous section of this tutorial:
...
Once you add annotations to a file, you can use them to query for data /wiki/spaces/DOCS/pages/2667642897, or you can build /wiki/spaces/DOCS/pages/2011070739 to display annotation information for many files at once.
For more information , see the Annotations and Queries articleon creating annotations, see /wiki/spaces/DOCS/pages/2667708522.
Downloading Files
You can download files from the Synapse web interface UI or use using one of the programmatic clients. If you are downloading files from the web, you can either download single files at once, or you can add multiple files to a download list, which is similar to an online shopping cart. On the web, the maximum size of a download is 5 GB, or a maximum of 100 files if using the download list. To download larger files in greater numbers, we recommend using one of the /wiki/spaces/DOCS/pages/1985446128 programmatic clients.
Before you can download a file from Synapse, you must determine whether you have access to it. Click on a file name and look for a green or yellow lock symbol. A green unlock symbol means that the file is available for you to download. A yellow locked symbol means that the file is not available to you. Contact the project owner or click Request Access.
To learn more about data access, see /wiki/spaces/DOCS/pages/20149046112024276030.
...
To download a file from the web:
Navigate to the Files tab of your project and find a file to download. Note that you cannot download entire folders from the web interface, so you may need to expand a folder in the directory to see its contents.
Click the file name to see a detail page.
Click Download Options button and then Download File.
From this menu, you can also choose to Add to Download List, which will start a list of files that you can download all at once. Alternatively, you can view the Programmatic Options to see example code that you can use to download files with one of the programmatic clients.
See Getting Started with Synapse API Clients to install your preferred API client. For more instructions on how to download data from Synapse programmatically, visit the docs for Python, R, or command line.
Related Articles
Files and Folders, Annotations and Queries, /wiki/spaces/DOCS/pages/2024276030, Versioning Files, and /wiki/spaces/DOCS/pages/1972470373
...
information on downloading from the web, see Downloading Data From the Synapse UI.
For information on downloading data using an API client, see Downloading Data Programmatically.
For more information on installing and using our API Clients, see API Clients and Documentation.