scanpy-cli
A command-line interface for Scanpy, a Python library for analyzing single-cell gene expression data.
Installation
pip install scanpy-cli
Usage
The scanpy-cli tool provides three main command groups for single-cell data analysis:
Preprocessing (pp)
Commands for preprocessing single-cell data:
filter_cells: Filter cells based on counts or genes expressedfilter_genes: Filter genes based on counts or cells expressing themregress_out: Regress out unwanted sources of variationneighbors: Compute neighborhood graphpca: Run principal component analysiscombat: Batch effect correction using ComBatharmony: Batch effect correction using Harmonyscrublet: Detect doublets in single-cell RNA-seq datahighly_variable_genes: Identify highly variable genes
Tools (tl)
Commands for analysis tools:
umap: Run UMAP dimensionality reductionleiden: Run Leiden clusteringpaga: Run PAGA for trajectory inferencerank_genes_groups: Find marker genes for clusters
Plotting (pl)
Commands for visualization:
umap: Plot UMAP embeddings
Development
Running Tests
To run the tests, you'll need to install the package with the test dependencies:
# Install in development mode with test dependencies
pip install -e ".[testing]"
# Run the tests with pytest
pytest
Getting Help
For help on any command, use the --help flag:
scanpy-cli --help
scanpy-cli pp --help
scanpy-cli tl umap --help
Metadata
Release files for scanpy-cli 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| scanpy_cli-0.2.0.tar.gz | 23.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scanpy_cli-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.6 MB
Release files / scanpy_cli-0.2.0.tar.gz
| Download URL | scanpy_cli-0.2.0.tar.gz |
|---|---|
| Size | 23.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c729627003ba03e520cebcb161cf07d65f5ef40e91aa6129ebe7c1d3518a0727
|
|
BLAKE2b-256 checksum How to use checksums |
a278ede684b5dbfdcfb366d54d8ecfef293c799bfae0a00ce6cb18ae6979d84b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2025.
Transparency logRelease files / scanpy_cli-0.2.0-py3-none-any.whl
| Download URL | scanpy_cli-0.2.0-py3-none-any.whl |
|---|---|
| Size | 28.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
64d9e0c179d222bdd8342b85457a314e50080eac9720a053f234bcad5cac672b
|
|
BLAKE2b-256 checksum How to use checksums |
3069cfe08689aa42aed1addb2adfd2e6ba922744f469203e84ed3c9fe1829f31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 13, 2025.
Transparency log