data-io-loading
OmicVerse Data I/O
OmicVerse provides its own data readers under ov.io. These replace scanpy's IO functions with better format handling, spatial geometry support, and Rust backend options. When working in an OmicVerse project, always use ov.io.* for data loading — never fall back to sc.read_* or scanpy.read_*.
Why this matters
OmicVerse's readers are not thin wrappers — they are independent implementations that handle edge cases scanpy misses:
- 10x H5/MTX: Proper v2/v3 format detection, flexible prefix/compression options
- Visium: Auto-resolves tissue positions (parquet > csv > legacy csv), loads images + scale factors
- Visium HD: Cell segmentation with GeoJSON→WKT polygon conversion (not available in scanpy at all)
- Nanostring SMI: Auto-detects column names across CosMx format variants (not in scanpy)
Migration table: scanpy → OmicVerse
| Task | DON'T use | Use instead |
|---|---|---|
| Read any file | sc.read(path) |
ov.read(path) |
| Read h5ad | sc.read_h5ad(f) |
ov.read(f) or ov.io.read_h5ad(f) |
| Read 10x H5 | sc.read_10x_h5(f) |
ov.io.read_10x_h5(f) |
More from starlitnightly/omicverse
single-cell-downstream-analysis
AUCell pathway scoring, metacell DEG, scDrug response, SCENIC regulons, cNMF programs, and NOCD community detection in OmicVerse.
49single-cell-annotation-skills-with-omicverse
Cell type annotation: SCSA, MetaTiME, CellVote consensus, CellMatch, GPTAnno, weighted KNN label transfer in OmicVerse.
48bulk-rna-seq-deseq2-analysis-with-omicverse
PyDESeq2 differential expression: ID mapping, DE testing, fold-change thresholding, and GSEA enrichment visualization in OmicVerse.
47single-cell-preprocessing-with-omicverse
Single-cell QC, normalization, HVG detection, PCA, neighbor graph, UMAP/tSNE embedding pipelines in OmicVerse (CPU/GPU).
43single-cell-multi-omics-integration
Multi-omics integration: MOFA factor analysis, GLUE unpaired alignment, SIMBA batch correction, TOSICA label transfer, StaVIA trajectory. Covers scRNA+scATAC paired/unpaired workflows.
40data-export-pdf
Create professional PDF reports with text, tables, and embedded images using reportlab. Works with ANY LLM provider (GPT, Gemini, Claude, etc.).
38