Jump to Section:
Overview
When you download results from a Project page of interest, CZ ID generates and compresses TAR files (extension "tar.gz"). After downloading generated TAR.GZ files, you need to decompress them to view and access data files for each sample selected for download. Below we briefly describe how to decompress or extract TAR.GZ files using Mac and Windows operating systems.
Decompressing TAR.GZ Files Using Mac
To decompress TAR.GZ files in your Mac OS, simply double-click on the file of interest and the files will be automatically extracted to a folder.
To extract files from TAR.GZ downloads, simply double-click the compressed file. In this example, downloaded files for selected samples will be found within the extracted "medical_detectives_70" folder.
Decompressing TAR.GZ Files Using Windows
If you are working on a Windows system, you can use a file archiver application, such as 7-zip, to extract TAR.GZ files. Alternatively, you can extract downloaded files from CZ ID through command line.
To use the command line:
1) Copy the path to the downloaded file ("tar.gz" extension). You can do this by finding the file within your Downloads folder, right-clicking on the file, and selecting "Copy as path". This action will copy the file path to your clipboard. You will use the copied path during step 3 below.
2) Open a Command Prompt window. You can find the Command Prompt App by searching for "Command" using the File Explorer. Click on the App to open a command prompt window.
3) You will need the following "tar" command to extract the file:
tar -xvzf
To decompress the downloaded file, type the "tar" command and paste the file path copied to the clipboard during step 1. For example:
tar -xvzf "C:\Users\UserX\Downloads\downloaded_file_tar.gz"
4) Run the "tar" command by pressing Enter. Decompressed files will be listed in the command prompt.
Example code and extracted files. Note that the list of files specifies the name of the newly decompressed folder. In this example, files will be found within the "medical_detectives_70" folder.
5) Navigate back to your Downloads folder where you will find the newly decompressed folder. You can access all of the results and/or data files by opening the folder.
Comments
0 comments
Please sign in to leave a comment.