Requesting data out of the TRE
Getting your results out¶
You might be wondering "How do I get my results of my analytical code out into the world so they can be used in publications or other studies?"
What is allowed out?¶
Individual level data is not allowed out of the TRE. Any data out requests are reviewed by the Genes & Health core team to make sure they do not contain individual level data. Summary statistics, graphs etc are all usually fine.
TRE data export policy
For more information, please read the TRE data export policy document
Requesting data¶
You can make a request to download your results by right-clicking the file and selecting "request file download" for any file in:
or
This sends an automated email to the Genes & Health team. If you have not received a response within 48h please feel free to chase us up. The team will copy the data to either green (for users of your sandbox only, to be able to download) or to library-green (for all users to be able to download). For small files, your data may be directly emailed (to the email address used to make the request).
Info
Please note that you can make one data out request per week.
Tip
If you are trying to download multiple files, please do not make a per-file download request. Rather, create a tar archive containing the requested files. If the files are large, you may wish to compress the tar file.
For example, if you wanted to compress a folder into a .tar.gz file:
This says: “Create (c option) a gzip-compressed (z option) archive of my directory-of-files-to-export folder, show me what’s happening (v option), and name it (f option) backup.tar.gz.” Please only use the compress option is your archive is large.
See the How to Tar a File in Linux: Commands, Examples & Best Practices guide for more details (external unverified link)
The 'Trying to request more than 1 file to download.' error¶

If you get the 'Trying to request more than 1 file to download.' error, there is probably a space somewhere in your file path or filename. This throws the systems so /genesandhealth/red/Joe Blogs/my_requested_file.tar (space in Joe Bloggs element of the path) or /genesandhealth/red/Joe_Blogs/my requested file.tar (spaces in my requested file.tar) will cause the error, but /genesandhealth/red/Joe_Blogs/my_requested_file.tar will not.
Note
If you get this error, rename your file and/or copy it into a path with no spaces. Alternatively, tar your files/paths with spaces to a single (space-free named) file.
Tip
Enter a linux/unix file system frame of mind and, if possible, avoid spaces in paths and files: /this_will/make/things-a-lot/simpler_v0.1.txt.
Existing data¶
There are a number of files in library-green that are available for download. These do not need a request to be made.
Accessing TRE data from external systems/internet¶
Users can download data from greendownloads or library-green using linux command line gcloud storage.
Alternatively, you can use the web-interface for your Sandbox specific green-downloads bucket, you can find the link for your sandbox using the table below:
From your external system, ideally Linux server rather than laptop if you are downloading lots of data (e.g. our GWAS).
Login to gcloud with:
Login with your username@genesandhealth.qmul.ac.uk that you use for TRE access from your browser. It is likely to ask you for 2 Factor Authentication either via phone or via a website link.
From a multicore Linux server, and especially if you are trying to transfer lots of data/files
To transfer file use: