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
Release history Release notifications | RSS feed
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.5.post1.tar.gz
(27.6 kB
view hashes)
Built Distribution
Close
Hashes for scanpy-scripts-0.2.5.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0162d83bd6bcf50f47833b542e0d4f088e1861eb9470957d3405bfa144825f3 |
|
MD5 | 617676b53d6d44acd70073260eee4fb1 |
|
BLAKE2b-256 | d115a20f9a53e67f3cbdf00756dba7887b2b2b6721d91312939bf29a5f81dfe2 |
Close
Hashes for scanpy_scripts-0.2.5.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fa9168cc5ef0da850d49fcb15a30d7331d3a049f27ee76ede58abf8573c576b |
|
MD5 | 54afa580f70e3aa24237f62949facc89 |
|
BLAKE2b-256 | 98f76413f6ca0efcb9eeda850d64bfaa53da53097b8132771080fb80b4dd9d3f |