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.

Install

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

Test installation

There is an example script included:

scanpy-scripts-tests.bats

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.

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.
  integrate  Integrate cells from different experimental batches.
  multiplet  Execute methods for multiplet removal.
  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-1.1.3.tar.gz (43.5 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-1.1.3-py3-none-any.whl (51.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: scanpy-scripts-1.1.3.tar.gz
  • Upload date:
  • Size: 43.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for scanpy-scripts-1.1.3.tar.gz
Algorithm Hash digest
SHA256 96eb39bedb5cd075509247d770cfd951e57f2834248bf1e6896c55e7fe2c524f
MD5 d818d268b6b4fa11c762b850bfd97a6c
BLAKE2b-256 c7c4830c1417174ec290ceaf72f67087ebfc85ca7d6594bb4b3aa2f69246c454

See more details on using hashes here.

File details

Details for the file scanpy_scripts-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: scanpy_scripts-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 51.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for scanpy_scripts-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c3dddc6acb90cfc610fb87da9e0407b10541c904fc4d21a3850941a094604675
MD5 6d65d79314958f0608cacd42e6b77ce9
BLAKE2b-256 ea5294e291d58f1869dff2cfd1f2e834bd3a00a9fe40eedfede608cd988cc7ec

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