Support homeXenium RangerRelease Notes
System Requirements

System Requirements

Xenium Ranger pipelines run on Linux systems that meet the minimum requirements listed below.

Requirements for rename subcommand:

  • 8-core processor
  • 4GB RAM

Requirements for relabel, resegment, and import-segmentation:

  • 8-core Intel or AMD processor (32 cores recommended) with avx2
  • 64GB RAM (128GB recommended)
  • 1TB free disk space
  • 64-bit CentOS 7 and later/RedHat 7.4 or Ubuntu 16.04 and later; See the 10x Genomics OS Support page for details.

Running the following tissue area and input data have higher minimum memory requirements:

Tissue areaTranscript countsSubcommandMinimum memory
1cm2 dataset (e.g., full coronal mouse brain)500 million transcriptsImport transcript-assignment and viz-polygons (e.g., from Baysor)256GB RAM
2cm2 dataset1 billion transcriptsRelabel256GB RAM
2cm2 dataset1 billion transcriptsImport nucleus and cell boundary (e.g., GeoJSON from QuPath)488GB RAM
2cm2 dataset1 billion transcriptsImport nucleus and cell label mask (e.g., from Cellpose)256GB RAM

The pipeline can also run on clusters that meet these additional minimum requirements:

  • Shared filesystem (e.g. NFS)
  • Slurm batch scheduling system
  • Xenium Ranger runs with --jobmode=local by default, using 90% of available memory and all available cores. To restrict resource usage, please see the --localcores and --localmem arguments for xeniumranger subcommands.
  • In-house Xenium Ranger testing uses the following settings and we recommend customers do the same: --localcores=32 and --localmem=128.
  • Many Linux systems have default user limits (ulimits) for maximum open files and maximum user processes as low as 1024 or 4096. Because Xenium Ranger spawns multiple processes per core, jobs that use a large number of cores can exceed these limits. 10x Genomics recommends higher limits.
LimitRecommendation
user open files16k
system max files10k per GB RAM available to Xenium Ranger
user processes64 per core available to Xenium Ranger

There are three primary ways to run Xenium Ranger:

  1. Single server: Xenium Ranger can run directly on a dedicated server. This is the most straightforward approach and the easiest to troubleshoot. The majority of the information on this website uses the single server approach.
  2. Job submission mode: Xenium Ranger can run using a single node on the cluster. Less cluster coordination is required since all work is done on the same node. This method works well even with job schedulers that are not officially supported.
  3. Cluster mode: Xenium Ranger can run using multiple nodes on the cluster. This method provides high performance, but is difficult to troubleshoot since cluster setup varies among institutions.

Recommendations and requirements, in order of computational speed (left to right):

Cluster ModeJob Submission ModeSingle Server
Recommended forOrganizations using an HPC with SLURM for job schedulingOrganizations using an HPCUsers without access to an HPC
Compute detailsSplits each analysis across multiple compute nodes to decrease run timeRuns each analysis on a single compute nodeRuns each analysis directly on a dedicated server
RequirementsHPC with SLURM for job schedulingHPC with most job schedulersLinux computer with minimum 8 cores & 64 GB RAM (but see above)

These runtimes and plots are based on time trials using Amazon EC2 instances and Xenium Ranger v3.1.0.

The plots will be updated for subsequent releases of Xenium Ranger if pipeline performance changes significantly.

Prior to Xenium Ranger v3.1, time trials were conducted on machines with hard disk drives (HDD). From this release onwards, they will be conducted on machines with solid state drives (SSD), which result in slightly faster runtimes. Below, we show the runtime comparison for several Xenium Ranger pipelines to analyze a 200 FOV Xenium Prime 5K In Situ Gene Expression with Cell Segmentation Staining dataset (514,266,035 transcripts) on a r5.8xlarge Skylake machine.

AnalysisRuntime with SSDRuntime with HDD
resegment3h 21m3h 27m
relabel1h 14m1h 20m
Polygon input import-segmentation1h 33m1h 37m
Transcript assignment input import-segmentation1h 35m1h 58m

Shown below is a xeniumranger resegment analysis for a 200 FOV Xenium Prime 5K In Situ Gene Expression with Cell Segmentation Staining dataset (514,266,035 transcripts) on a machine with a SSD drive:

  • Wall time as a function of memory
  • Wall time as a function of threads

Shown below is a xeniumranger relabel analysis for a 200 FOV Xenium Prime 5K In Situ Gene Expression with Cell Segmentation Staining dataset (514,266,035 transcripts) on a machine with a SSD:

  • Wall time as a function of memory
  • Wall time as a function of threads