<p>The direct answer is yes. If you have never worked with hdf5 you can start <a href="https://portal.hdfgroup.org/display/HDF5/Introduction+to+HDF5" rel="nofollow noreferrer"> here</a>.</p>

<p>But, cellranger outputs several hdf5 files. You can extract the count matrix from the  "/outs/filtered_gene_bc_matrices_h5.h5" file.</p>

<p>They provide a lot of information on how to use the hdf5 format so their <a href="https://support.10xgenomics.com/single-cell-gene-expression/software/pipelines/latest/advanced/h5_matrices" rel="nofollow noreferrer">their documentation</a> is a good place to start.</p>

<p>In addition: you can also load the data into Seurat, monocle or scanpy and follow their tutorials to analyze the data.</p>

CC BY-SA 4.0
2019-08-01T21:43:56.413Z
2019-08-01T21:43:56.413Z
Mack123456
<p>Is it possible to run cell ranger clustering using only a gene x cell matrix? Cellranger reanalyze performs clustering but requires a hd5f file. I don't want to run the whole pipeline (including alignment). I was trying to manually generate a hd5f file to input to cellranger reanalyze. Is this possible?</p>

CC BY-SA 4.0
2019-08-02T07:14:17.840Z
Hi @guest (nice distinctive username), your question is understandable. I'm not sure whether its possible, but seems reasonable. If you are seeking conversion to h5df, is there any chance you can provide a limited example of the raw matrix output/input?
M__
<clustering><cellranger>
Clustering using cellranger
# Clustering using cellranger

(Asked by: username_0 on 2019-08-01)

Is it possible to run cell ranger clustering using only a gene x cell matrix? Cellranger reanalyze performs clustering but requires a hd5f file. I don't want to run the whole pipeline (including alignment). I was trying to manually generate a hd5f file to input to cellranger reanalyze. Is this possible?

**Tags:** clustering, cellranger
> **Comments:**
> **username_1**: Hi @guest (nice distinctive username), your question is understandable. I'm not sure whether its possible, but seems reasonable. If you are seeking conversion to h5df, is there any chance you can provide a limited example of the raw matrix output/input?  

---

## 1 answers

### Answer by username_2 on 2019-08-01. Score: 2

The direct answer is yes. If you have never worked with hdf5 you can start  [here](https://portal.hdfgroup.org/display/HDF5/Introduction+to+HDF5).

But, cellranger outputs several hdf5 files. You can extract the count matrix from the "/outs/filtered\_gene\_bc\_matrices\_h5.h5" file.

They provide a lot of information on how to use the hdf5 format so their [their documentation](https://support.10xgenomics.com/single-cell-gene-expression/software/pipelines/latest/advanced/h5_matrices) is a good place to start.

In addition: you can also load the data into Seurat, monocle or scanpy and follow their tutorials to analyze the data.


---

