Skip to main content

Add your description here

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:

Preprocessing (pp)

Commands for preprocessing single-cell data:

scanpy-cli pp normalize  # Normalize data
scanpy-cli pp filter_cells  # Filter cells
scanpy-cli pp filter_genes  # Filter genes
scanpy-cli pp regress_out KEYS --input-file INPUT.h5ad --output-file OUTPUT.h5ad  # Regress out unwanted variation

Example of regress_out:

# Regress out cell cycle effects using S_score and G2M_score
scanpy-cli pp regress_out S_score,G2M_score -i data.h5ad -o data_regressed.h5ad

# Regress out with specified parameters
scanpy-cli pp regress_out percent_mito -l counts -j 4 -i data.h5ad -o data_regressed.h5ad

# You can use either long or short parameter names
scanpy-cli pp regress_out percent_mito --layer counts --n-jobs 4 --input-file data.h5ad --output-file data_regressed.h5ad

Tools (tl)

Commands for analysis tools:

scanpy-cli tl pca  # Run PCA
scanpy-cli tl umap  # Run UMAP
scanpy-cli tl clustering  # Run clustering

Plotting (pl)

Commands for visualization:

scanpy-cli pl umap  # Plot UMAP
scanpy-cli pl heatmap  # Plot heatmap
scanpy-cli pl violin  # Plot violin plot

Getting Help

For help on any command, use the --help flag:

scanpy-cli --help
scanpy-cli pp --help
scanpy-cli tl pca --help
scanpy-cli pp regress_out --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.0.tar.gz (34.7 kB 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.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scanpy_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 34.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for scanpy_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2787a6467c9d84ba549dba323b5bb50451142d57f653a01fad70b9b4ca96fb94
MD5 eb26272789f4f030e692d505fae2788d
BLAKE2b-256 4fa0094c8619b79d47d1164fdaf0175d69646def0724acc188baae7ad372e665

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for scanpy_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b25832d82d94db69ae9631c8a4770f3d3c89be2fda69e7238d36b752d1c6e4d
MD5 3a2fe34673cf575143728c03c8101b11
BLAKE2b-256 c385daa891bd3dee3bd0b6b6019264d396d2097f853f92da9a9d69d6a0e25ab7

See more details on using hashes here.

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