Upload Local Files
Upload files from your local computer to CryoSPARC directly in the browser
Last updated
Upload files from your local computer to CryoSPARC directly in the browser
Last updated
The ability to upload local files is a new feature available in CryoSPARC v4.5 and later
In the course of a typical cryo-EM project, it is often necessary to view, generate or modify files using an external program, for example, downloading a volume from CryoSPARC, opening it in ChimeraX and using that program to create a mask which will ultimately be used in a CryoSPARC Local Refinement. These downloaded and modified files typically reside on a user’s laptop or local computer through which they are accessing CryoSPARC, and are therefore outside of the filesystem that CryoSPARC itself has access to.
To simplify the process of incorporating these external files into the cryo-EM workflow, CryoSPARC v4.5+ allows users to upload files from their local computer to the CryoSPARC system directly in the browser. The uploaded files are added to the CryoSPARC project directory.
The easiest way to upload files to CryoSPARC is to drag the file (or multiple files) you want to upload from your filesystem to any CryoSPARC window:
This will open the Upload Files dialog, with the dragged file ready to upload to the CryoSPARC instance. If the file was dragged to a CryoSPARC window that does not currently have a Project open, a Project must be selected from the dropdown before proceeding:
The Upload Files dialog provides several functions:
Files uploaded to CryoSPARC through the browser are added to a directory named uploads
in the selected CryoSPARC project directory. The upload dialog lists all files already in the uploads directory in the first panel (left in the image above).
Clicking a filename in the uploaded files list copies the full path to that file to the clipboard (i.e., it is ready to paste as if it had been manually copied). This function is convenient for download or navigation in the terminal or interfacing with other programs.
The second panel (right hand side in the image above) lists files which will be uploaded along with their size. Hovering over a filename will display an option to remove it from the list (meaning it will not be uploaded). Alternately, all files can be cleared from the upload list by clicking Clear files
.
More files can be added to the upload by dragging and dropping additional files into the Upload Files dialog, or by clicking Upload additional files
and selecting them in the local filesystem.
Once the user clicks the green Upload
button, the upload process will start. All files are uploaded in parallel. Any number of files can be uploaded simultaneously. Individual files larger than 10 GB are not currently supported.
Once the uploads have completed, the Upload Files dialog can be closed (by clicking the green Done button) or more files can be uploaded by dragging and dropping into the dialog.
The upload dialog can also be opened by clicking Upload Local Files in the green New Job dropdown menu, under the Upload heading. This method also provides convenient access to the uploaded files list without having to upload a new file.
The upload dialog is also accessible from the spotlight search, which can be accessed by clicking the magnifying glass icon in the left-hand sidebar or by pressing Ctrl + K (Cmd + K on Mac):
The following file formats can be uploaded to CryoSPARC through the browser. Unsupported file types can be uploaded by first compressing them (e.g., to a .zip
file) and uploading the compressed file.
3D Volumes
.mrc
, .map
Cryo-EM movies and micrographs
.eer
, .mrc
, .tiff
, .tif
Cryo-EM particle stacks
.mrc
, .mrcs
CryoSPARC metadata files
.cs
BILD files
.bild
Segmentation files
.seg
JSON files
.json
PDFs
.pdf
Text files
.txt
Compressed files
.tar
, .tar.bz2
, .tar.gz
, .zip
Images and videos
CryoSPARC does not allow previously-uploaded files to be overwritten. If a file slated for upload has the same name as another file in the uploads
directory, it will be highlighted with an orange background. The file with which it conflicts will have orange text.
If a file with a conflicting name is uploaded, the new version will have the date (in YYMMDD format) and time (HHMMSS format) appended before the extension. The renamed file is highlighted in blue in the Upload Files dialog. The existing, previously-uploaded file remains unchanged.
Any file with the image or video, including but not limited to .jpeg
, .png
, .mp4