sainsc.read_StereoSeq

sainsc.read_StereoSeq(filepath, *, resolution=None, sep='\t', n_threads=None, **kwargs)

Read a Stereo-seq GEM file.

Parameters:
  • filepath (PathLike or str) – Path to the Stereo-seq file.

  • resolution (float, optional) – Center-to-center distance of Stere-seq beads in nm, if None it will try to detect it from the chip definition in the file header if one exists.

  • sep (str, optional) – Separator used in polars.read_csv().

  • n_threads (int, optional) – Number of threads used for reading and processing file. If None this will default to the number of available CPUs.

  • kwargs – Other keyword arguments will be passed to polars.read_csv().

Return type:

LazyKDE