This is a test version of Biostars. For the public version, visit https://www.biostars.org.
How to convert 10x matrix.mtx.gz files to hdf5 format?

I have a bunch of folders containing barcodes.tsv.gz, features.tsv.gz, and matrix.mtx.gz from the Cellranger Count output for a single-cell dataset that was sent to me from another lab. I need the .h5 version of these count matrices, but I do not have access to the original Cellranger Count output which contains the generated .h5 files.

Is there an R or Python function that can reliably convert these files into the proper hdf5 format? I haven't found anything online yet.

x-post:

cellranger scrna-seq hdf5

Do not shotgun post on multiple fora. It is bad etiquette.

1 answer

Log in to answer this question.