ABIDE II in BIDS format

How can I download a part of the ABIDE II database in BIDS format?

Also, how can I download only structural images without the functional ones?

Raw ABIDEII data in BIDS format are available on AWS S3. Make sure you have AWS CLI installed.

If you run aws s3 ls fcp-indi/data/Projects/ABIDE2/RawData/ then you can see all the sites they have available.

To download files from a site, you can use the aws sync command, e.g.:
aws s3 sync fcp-indi/data/Projects/ABIDE2/PUTSITEHERE/ YOUR_LOCAL_PATH_HERE/

To exclude functional images, you can add the the --exclude flag, e.g.:
aws s3 sync fcp-indi/data/Projects/ABIDE2/PUTSITEHERE/ YOUR_LOCAL_PATH_HERE/ --exclude */*/func/* (Iā€™m not sure if that command will work exactly as written but something close to it should work).

More information on these commands and options are found here.

Hope this helps,
Steven

1 Like

Thank you . it seems to work now .
I just modified this command
aws s3 sync fcp-indi/data/Projects/ABIDE2/PUTSITEHERE/ YOUR_LOCAL_PATH_HERE/ --exclude //func/*
to become
aws s3 sync s3://fcp-indi/data/Projects/ABIDE2/RawData/ YOUR_LOCAL_PATH_HERE/ --exclude //func/*

2 Likes