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.4.post1.tar.gz (27.1 kB view details)

Uploaded Source

Built Distribution

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

scanpy_scripts-0.2.4.post1-py3-none-any.whl (39.1 kB view details)

Uploaded Python 3

File details

Details for the file scanpy-scripts-0.2.4.post1.tar.gz.

File metadata

  • Download URL: scanpy-scripts-0.2.4.post1.tar.gz
  • Upload date:
  • Size: 27.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for scanpy-scripts-0.2.4.post1.tar.gz
Algorithm Hash digest
SHA256 1df263fb72ed7164f629561cb6b99ef6a7759e196d47d74e4637baef5902a166
MD5 4f4b39e2c0d76aeb44535295590c02c1
BLAKE2b-256 1e278791ad9c170154555454f2a533b4c9c03ab7592f083cce2d239bbc988467

See more details on using hashes here.

File details

Details for the file scanpy_scripts-0.2.4.post1-py3-none-any.whl.

File metadata

  • Download URL: scanpy_scripts-0.2.4.post1-py3-none-any.whl
  • Upload date:
  • Size: 39.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for scanpy_scripts-0.2.4.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 619284b59475652d9753c357235a4e1fcffe39b81700e9f70bcd33e060417a7a
MD5 332969dae7898dbb6dfcebdf13be56a3
BLAKE2b-256 4bad89eb88cb9406c4077eaadad4f3107bee9b644f061b867cb64718d9cc84b8

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