## Hello everyone, I wanted to share what I did to download the dataset. I hope this can be helpful for beginners like me (using Synapse etc.). These are the steps to be followed: 1. Install the synapseclient python library using pip (in the command prompt): ``` pip install --upgrade synapseclient ``` 2. Go to your own Synapse profile > Account Settings > Personal Access Tokens. Create a new token with a test name say (lisa2-dataset-download) and **check** all permissions View, Download and Modify. 3. Now a token will be generated save this token, and run the following code: ``` ## download.py import synapseclient import synapseutils syn = synapseclient.Synapse() syn.login(authToken = "YOUR_TOKEN") # You set this token in step 1 files = synapseutils.syncFromSynapse(syn, 'syn68646516', path = "PATH_WHERE_YOU_WANT_TO_DOWNLOAD_DATASET") # Path where you want to download the dataset. ``` 4. This will recursively download all the files as there are different folders in the dataset, all folders contain subfolders and some nii files. 5. After this script runs, a file **synapse_metadata_manifest.tsv** is generated which contains the metadata. Thank you. I hope this will help the beginners in downloading the dataset

Created by Snehil Sanyal snehilsanyal
Thank you!, this helps a lot! I was downloading each folder at a time.

Downloading the Dataset using Python 💻 page is loading…