Cluster Alignment Tool
Project description
Cluster Alignment Tool (CAT)
Install with pip
pip install cat-python
Install from source
git clone https://github.com/brickmanlab/CAT.git && cd CAT
conda create --name cat python=3.7
pip install -e .
How to run
$ catcli \
--ds1 ds1.h5ad \
--ds1_name DS1 \
--ds1_cluster seurat_clusters \
--ds2 ds2.h5ad \
--ds2_name DS2 \
--ds2_cluster seurat_clusters \
--output ./results/ds1-vs-ds2
# generate sankey plot
$ Rscript ./CAT/scripts/sankey.R \
--excel ./results/ds1-vs-ds2/ds1_ds2_euclidean.xlsx \
--output ./results/ds1-vs-ds2/
Help
$ conda activate cat
$ catcli --help
usage: catcli [-h] [--ds1 DS1] [--ds1_name DS1_NAME]
[--ds1_cluster DS1_CLUSTER] [--ds1_genes DS1_GENES] [--ds2 DS2]
[--ds2_name DS2_NAME] [--ds2_cluster DS2_CLUSTER]
[--ds2_genes DS2_GENES] [--features FEATURES] [--output OUTPUT]
[--distance DISTANCE] [--sigma SIGMA] [--n_iter N_ITER]
[--format {excel,html}] [--verbose] [--version]
Cluster Alignment Tool (CAT)
optional arguments:
-h, --help show this help message and exit
--ds1 DS1 Processed dataset (h5/h5ad)
--ds1_name DS1_NAME Dataset name
--ds1_cluster DS1_CLUSTER
Column name for comparison
--ds1_genes DS1_GENES
Gene column, using `index` as default
--ds2 DS2 Processed dataset (h5/h5ad)
--ds2_name DS2_NAME Dataset name
--ds2_cluster DS2_CLUSTER
Column name for comparison
--ds2_genes DS2_GENES
Gene column, using `index` as default
--features FEATURES File containing list of genes on new lines
--output OUTPUT Output location
--distance DISTANCE Distance measurement
--sigma SIGMA Sigma cutoff (1.6 => p-value: 0.05)
--n_iter N_ITER Number of bootstraps, default 1,000
--format {excel,html}
Report output format
--verbose Verbose mode
--version show program's version number and exit
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
cat_python-1.0.1.tar.gz
(9.9 kB
view details)
Built Distribution
File details
Details for the file cat_python-1.0.1.tar.gz
.
File metadata
- Download URL: cat_python-1.0.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01e065efc3057ec959e473150d65c7b84c7d1d3ead20de1df8d0bfea8994afcc |
|
MD5 | d712017bae03d70b8c53e9474cf6fdd9 |
|
BLAKE2b-256 | 30bdb3cffb69e0b4a994ef7e9367d4ad13df9f5b120925551485f14128dc05b4 |
File details
Details for the file cat_python-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: cat_python-1.0.1-py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6300f6f58751cf5077f4a2d0e1878c94f7a767fa3b7de5c8e35cc6cfb337c30 |
|
MD5 | 90a1945f672902a4f5ab0a35036ae91d |
|
BLAKE2b-256 | ffbd25ff1c724e13221d96794e4ee7006a09b76f652422c23ad09905e70c2be0 |