Upload large files
Files over 500 MB go into a project with the Omics-OS CLI: install it, sign in, and run one command.
For security reasons, the browser uploads files up to 500 MB. A larger file goes into a project with the Omics-OS CLI, omics-os, which sends it straight to the project's storage in parts.
When you pick a file over 500 MB in the organization admin panel, the panel shows the exact command for that file and project, with a Copy button.
Sign in to your organization
omics-os login --tenant <your-organization>Use the first part of your Omics-OS address: for acme.omics-os.com, that is omics-os login --tenant acme. A browser window opens to finish signing in. On a machine without a browser, add --device: the CLI prints a link to open in a browser on any device, and waits until you sign in there. You sign in once per computer.
Upload
In a terminal, go to the folder that holds the file, then run:
omics-os upload GSE276492_combined.h5 --project <project-id>The project id is the last part of the project's address in the admin panel (/org/admin/projects/<project-id>). omics-os projects list also shows the ids of your organization's projects that you created or were assigned to. You can type the first 8 characters of an id instead of all of it.
To upload a whole folder, give the folder instead: omics-os upload ./run1 --project <project-id>. Each file keeps its path, starting with the folder's name (run1/…).
The file then appears in the project's Files tab.
If the upload stops
Run the same command again. Files that finished are skipped, and a file that was partly sent resumes from its last finished part, for up to 7 days after the upload started.
Good to know
- A different file at the same path in the project is not overwritten. Add
--replaceto replace it; the previous version is kept for 30 days. - Files and folders whose names start with a dot (
.DS_Store,.git) are not uploaded, except Zarr metadata files such as.zgroup(omics-os 1.3.3 and later). Some file types, such as programs and installers, are refused: in a folder they are skipped and listed. See Hidden files and agent files. - Uploads with the CLI work for organizations that have them enabled. If the CLI answers that uploads are not enabled, contact support@omics-os.com.
- Every option is in the Omics-OS CLI reference.