Skip to main content

Scripts for using scanpy from the command line

Project description

scanpy-scripts

Scripts for using scanpy from the command line

In order to wrap scanpy's internal workflow in any given workflow language, it's important to have scripts to call each of those steps. These scripts are being written here, and will improve in completeness as time progresses.

Install

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

Test installation

There is an example script included:

scanpy-scripts-tests.sh

This downloads a well-known test 10X dataset and executes all of the scripts described below.

Commands

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](https://github.com/theislab/scanpy)

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

Commands:
  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.
  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.

Source Distribution

scanpy-scripts-0.2.7.tar.gz (29.7 kB view details)

Uploaded Source

File details

Details for the file scanpy-scripts-0.2.7.tar.gz.

File metadata

  • Download URL: scanpy-scripts-0.2.7.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.6.7

File hashes

Hashes for scanpy-scripts-0.2.7.tar.gz
Algorithm Hash digest
SHA256 c82d0c4c11b1aacb5dcb4d724ef5d1a0dbead3b79326d4008da55c26831b12e2
MD5 c6d5a8ed75e61d19b1c6be9f9db8c9f0
BLAKE2b-256 19362fdc5b473a5b31ee91879a06488d1c65f1ce623910af3a850f6cbb929c45

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