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.1.8.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.1.8-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scanpy_cli-0.1.8.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.1.8.tar.gz
Algorithm Hash digest
SHA256 27a86afa3c2a282b1446e780cd428dbabe90ff637f1ea43b5d6610ab53b6106a
MD5 f3f3bf3ce5ac6de0e356e44683266692
BLAKE2b-256 881e71cb35b35f7f9b288627849f238702e1c431b2ee8403c2f5e28b17f3e7b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for scanpy_cli-0.1.8.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.1.8-py3-none-any.whl.

File metadata

  • Download URL: scanpy_cli-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 24.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.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 badfc368dac877cf906f65d8915063697a15860ae08e396a537930ca28352c6f
MD5 ab103e23c79920c175577718f8bd6ae1
BLAKE2b-256 11a240180c8a968027f9f6cdca3b5a00e3989a239be4dc6133cd2bcb764ac440

See more details on using hashes here.

Provenance

The following attestation bundles were made for scanpy_cli-0.1.8-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