Support homeCloud AnalysisTutorials
Uploading a Custom Reference for Mac

Uploading a Custom Reference for Mac

In addition to the pre-built human and mouse reference packages available in Cloud Analysis, you can upload and use your own custom references in your Cloud Analysis projects.

To use custom references in your analyses, you must upload the the entire output directory produced from runningΒ the appropriate mkref pipeline. For the latest details on what is supported, see Analysis and Supported Products.

Each uploaded custom reference will be stored at no cost for 365 days. If you would like to store your custom references past the free storage limit, you can opt-in to ongoing paid storage at $0.02/GB per month.

The steps are operating system dependent. Please select the tab for your operating system below to continue.

Use our command line tool to upload custom references to your account. To download and view a tutorial on running commands, visit theΒ 10x Genomics Cloud CLI DocumentationΒ page.

To upload a custom reference you must use the 10x Genomics Cloud CLI version 1.1.0 or above. You can verify the version using theΒ txg --versionΒ command.

Before you upload, make sure your reference meets the requirements:

  • It was generated usingΒ a supported pipeline.
  • All the files are contained in a single folder, either compressed as a single tar archive file (.tar.gz/.tgz) or uncompressed.
  • All the required files are present. The list of required files can be foundΒ here.

Before the upload begins, the 10x Genomics Cloud CLI will verify that your reference meets the above requirements.

Use the command below to upload:

./txg references upload [insert path to reference]

Example upload commands

To upload an uncompressed directory:

./txg references upload /user.name/references/GRCz11/

To upload a tar compressed archive (.tar.gz/.tgz):

./txg references upload /user.name/references/GRCz11.tar.gz

Enter your access token

If this is your first time using the uploader, you will be prompted to provide an access token, which verifies your identity. The access token can be found in yourΒ Account Settings.

If you have provided a path to an uncompressed directory, you will see a message similar to the following:

Verifying all required files are present... All required files are present. You are required to upload a compressed directory (.tar.gz). 10x Genomics Cloud CLI can create a compressed version of the directory for you. Compression could take several minutes. Estimated size: Up to 8.5 GB on /Users/path/to/directory/ Would you like to proceed with compressing the directory? To cancel, press Ctrl+C. Proceed? [y/N]

After successfully creating the compressed directory, you will see a message similar to the following:

You are about to upload 1 custom reference directory to your 10x Genomics Cloud account. Custom reference name: "name-of-reference-directory" Reference type: [GEX or VDJ] Cell Ranger mkref version: cellranger-X.Y.Z /Users/path/to/compressed/reference (8.5 GB) Total: 8.5 GB To proceed and delete the compressed directory after uploading, type y. To proceed with the upload and keep the compressed directory, type k. To cancel, type N. Proceed? [y/k/N]

You will receive an email once the upload is complete. The email will be sent to the address associated with your 10x Genomics account.

Once the upload is complete, you can begin to use the reference in analyses in any of your projects. You can also record important details about the reference in Cloud Analysis including the organism, a description, and build notes.

We require that you upload the entire output directory produced from runningΒ mkref. Selected examples are shown below.

Gene expression references generated by Cell Ranger / Space Ranger mkref

└─ /mkref output/ β”œβ”€β”€ reference.json β”œβ”€β”€ /pickle/1 β”‚ └── genes.pickle1 β”œβ”€β”€ /genes/ β”‚ └── genes.gtf β”œβ”€β”€ /star/ β”‚ β”œβ”€β”€ chrLength.txt β”‚ β”œβ”€β”€ chrName.txt β”‚ β”œβ”€β”€ chrNameLength.txt β”‚ β”œβ”€β”€ chrStart.txt β”‚ β”œβ”€β”€ exonGeTrInfo.tab β”‚ β”œβ”€β”€ exoninfo.tab β”‚ β”œβ”€β”€ geneinfo.tab β”‚ β”œβ”€β”€ Genome β”‚ β”œβ”€β”€ genomeParameters.txt β”‚ β”œβ”€β”€ SA β”‚ β”œβ”€β”€ SAindex β”‚ β”œβ”€β”€ sjdbinfo.txt β”‚ β”œβ”€β”€ sjdbList.fromGTF.out.tab β”‚ β”œβ”€β”€ sjdbList.out.tab β”‚ └── transcriptinfo.tab └── /fasta/ β”œβ”€β”€ genome.fa.fai └── genome.fa
The /pickle/ directory and the genes.pickle file is only required for references produced with Cell Ranger v3.1 and 4.0. The /pickle/ directory is deprecated in newer versions of Cell Ranger.

V(D)J references generated by Cell Ranger mkrefvdj

└─ /mkvdjref output/ β”œβ”€β”€ reference.json └── /fasta/ β”œβ”€β”€ supp_regions.fa └── regions.fa

Multiome references generated by Cell Ranger ARC mkref

/mkref output/ β”œβ”€β”€ fasta β”‚ β”œβ”€β”€ genome.fa β”‚ β”œβ”€β”€ genome.fa.amb β”‚ β”œβ”€β”€ genome.fa.ann β”‚ β”œβ”€β”€ genome.fa.bwt β”‚ β”œβ”€β”€ genome.fa.fai β”‚ β”œβ”€β”€ genome.fa.pac β”‚ └── genome.fa.sa β”œβ”€β”€ genes β”‚ └── genes.gtf.gz β”œβ”€β”€ reference.json β”œβ”€β”€ regions β”‚ β”œβ”€β”€ motifs.pfm # present if motifs file was supplied β”‚ β”œβ”€β”€ transcripts.bed β”‚ └── tss.bed └── star β”œβ”€β”€ chrLength.txt β”œβ”€β”€ chrNameLength.txt β”œβ”€β”€ chrName.txt β”œβ”€β”€ chrStart.txt β”œβ”€β”€ exonGeTrInfo.tab β”œβ”€β”€ exonInfo.tab β”œβ”€β”€ geneInfo.tab β”œβ”€β”€ Genome β”œβ”€β”€ genomeParameters.txt β”œβ”€β”€ SA β”œβ”€β”€ SAindex β”œβ”€β”€ sjdbInfo.txt β”œβ”€β”€ sjdbList.fromGTF.out.tab β”œβ”€β”€ sjdbList.out.tab └── transcriptInfo.tab

Additional Files

If you provide files beyond the required files (for example, a README file), the files will be uploaded and stored with your reference on Cloud Analysis. Please check and ensure that you only provide files that you wish to include with your custom reference.