Skip to content

cellgeni/cloupe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloupe

Loupe Browser is a powerful visualization software that provides the intuitive functionality you need to explore and analyze 10x Genomics Chromium and Visium data. This is a PoC parser to read CLOUPE files using python.

Install

pip install git+https://github.com/cellgeni/cloupe.git

Run

from cloupe import Cloupe

# parse file
c = Cloupe("/path/to/file.cloupe")

# extract barcodes, features and projections to CSVs
c.to_csv(outdir="/path/to/out")

# create anndata with the same name as input file but `.h5ad` extension
c.to_anndata()

Command line

Export barcodes, features and projections to CSV in current folder

cloupe --cloupe /path/to/file.cloupe --csv