ArchR-h5ad
A lightweight python package to parse .arrow files produced by ArchR - to AnnData.
Installation
Install the last-released (v0.0.12) distrubution from PYPI:
pip install ArchR_h5ad
Alternatively, clone the repo to install the development version, locally:
git clone https://github.com/mvinyard/ArchR-h5ad.git; cd ArchR_h5ad
pip install -e .
A brief example
As an example, we will use the data from the ArchR hematopoiesis tutorial.
Option 1. Directly read a .arrow file to adata
import ArchR_h5ad
arrow_path = "/home/user/data/scATAC_CD34_BMMC_R1.arrow"
adata = ArchR_h5ad.read_arrow(arrow_path, use_matrix="GeneScoreMatrix")
Alternatively, one may use the "TileMatrix" generated by ArchR.
adata = ArchR_h5ad.read_arrow(arrow_path, use_matrix="TileMatrix")
Option 2. Instantiate the Arrow class.
arrow = ArchR_h5ad.Arrow(arrow_path)
arrow.to_adata()
import numpy as np
np.array(arrow.__dir__())[
np.array([not i.startswith("__") for i in arrow.__dir__()])
].tolist()
Metadata
Release files for ArchR-h5ad 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ArchR_h5ad-0.0.12.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ArchR_h5ad-0.0.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / ArchR_h5ad-0.0.12.tar.gz
| Download URL | ArchR_h5ad-0.0.12.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da9914ceff84d023553c19e00521684ecc15ba2a472aff76d4791d9bb4da353a
|
|
BLAKE2b-256 checksum How to use checksums |
972fb105a3f4566fb0c3e23343f550f20966468c371e0dada17563918b6f4a98
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / ArchR_h5ad-0.0.12-py3-none-any.whl
| Download URL | ArchR_h5ad-0.0.12-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca32dc4daa91f6ab146cceda1df63bafcc54803385c8a62a4d3f21c043648bd4
|
|
BLAKE2b-256 checksum How to use checksums |
c2ea9ed953b20c284b612daaa1ef4da3686fe33d62dcad74057a2ac0ca374649
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|