Skip to main content

Scripts for using scanpy from the command line

Project description

scanpy-scripts Anaconda-Server Badge

A command-line interface for functions of the Scanpy suite, to facilitate flexible constrution of workflows, for example in Galaxy, Nextflow, Snakemake etc.


conda install scanpy-scripts
# or
pip3 install scanpy-scripts

Test installation

There is an example script included:


This requires the bats testing framework to run. The script downloads a well-known test 10X dataset and executes all of the commands described below.


Available commands are described below. Each has usage instructions available via --help, consult function documentation in scanpy for further details.

Usage: scanpy-cli [OPTIONS] COMMAND [ARGS]...

  Command line interface to [scanpy](

  --debug              Print debug information
  --verbosity INTEGER  Set scanpy verbosity
  --version            Show the version and exit.
  --help               Show this message and exit.

  read       Read 10x data and save in specified format.
  filter     Filter data based on specified conditions.
  norm       Normalise data per cell.
  hvg        Find highly variable genes.
  scale      Scale data per gene.
  regress    Regress-out observation variables.
  pca        Dimensionality reduction by PCA.
  neighbor   Compute a neighbourhood graph of observations.
  embed      Embed cells into two-dimensional space.
  cluster    Cluster cells into sub-populations.
  diffexp    Find markers for each clusters.
  paga       Trajectory inference by abstract graph analysis.
  dpt        Calculate diffusion pseudotime relative to the root cells.
  integrate  Integrate cells from different experimental batches.
  plot       Visualise data.

Project details

Download files

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

Files for scanpy-scripts, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size scanpy_scripts-0.3.2-py3-none-any.whl (47.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size scanpy-scripts-0.3.2.tar.gz (35.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page