Skip to main content

CLI for the scanpy package

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scanpy_cli-0.2.0.tar.gz (23.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scanpy_cli-0.2.0-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

Details for the file scanpy_cli-0.2.0.tar.gz.

File metadata

  • Download URL: scanpy_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 23.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for scanpy_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 c729627003ba03e520cebcb161cf07d65f5ef40e91aa6129ebe7c1d3518a0727
MD5 342aba5bb109b6fc97ccbb02813e603b
BLAKE2b-256 a278ede684b5dbfdcfb366d54d8ecfef293c799bfae0a00ce6cb18ae6979d84b

See more details on using hashes here.

Provenance

The following attestation bundles were made for scanpy_cli-0.2.0.tar.gz:

Publisher: ci.yml on nictru/scanpy-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scanpy_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: scanpy_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 28.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for scanpy_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 64d9e0c179d222bdd8342b85457a314e50080eac9720a053f234bcad5cac672b
MD5 9466ac95f27c45e4aea6917028b118f6
BLAKE2b-256 3069cfe08689aa42aed1addb2adfd2e6ba922744f469203e84ed3c9fe1829f31

See more details on using hashes here.

Provenance

The following attestation bundles were made for scanpy_cli-0.2.0-py3-none-any.whl:

Publisher: ci.yml on nictru/scanpy-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page