A Python library for working with Loom file format (version 3.0.8), which is used for storing single-cell RNA-seq data. It supports reading, writing, and creating Loom files with sparse matrices, variable-length string attributes, and provides a command-line tool for creating Loom files from FASTQ. Release cadence is irregular.
pip install loompyVerified import paths — ran on the pinned version, not inferred.
Create a Loom file with a small matrix and read it back.
Migrate from LoomFile('file.loom', 'r') to loompy.connect('file.loom'), and from creating with LoomFile('file.loom', 'w') to loompy.create().Use mode='r+' to read/write without truncation, or check file existence beforehand.
Replace with loompy.connect() for reading/writing and loompy.create() for creating new files.
Install with pip install loompy
Use loompy.connect() to open files and loompy.create() to create them.
Check that the file path is correct and the file exists.
Ensure that the number of rows in the matrix equals the length of row attribute values, and columns equal length of column attributes.
No dependency data recorded yet.