Skip to main content

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 expressed
  • filter_genes: Filter genes based on counts or cells expressing them
  • regress_out: Regress out unwanted sources of variation
  • neighbors: Compute neighborhood graph
  • pca: Run principal component analysis
  • combat: Batch effect correction using ComBat
  • harmony: Batch effect correction using Harmony
  • scrublet: Detect doublets in single-cell RNA-seq data
  • highly_variable_genes: Identify highly variable genes

Tools (tl)

Commands for analysis tools:

  • umap: Run UMAP dimensionality reduction
  • leiden: Run Leiden clustering
  • paga: Run PAGA for trajectory inference
  • rank_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)

Source distribution for scanpy-cli 0.2.0
File Size Uploaded
scanpy_cli-0.2.0.tar.gz 23.6 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for scanpy-cli 0.2.0
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page