A pipeline for integrative analysis for scTCR- and scRNA-seq data
Project description
immunopipe
Integrative analysis for scTCR- and scRNA-seq data
Requirements & Installation
-
python
:3.7+
- Other python depedencies should be installed via
pip install -U immunopipe
- Other python depedencies should be installed via
-
R
- A bunch of R packages
-
Other
-
Checking requirements
pip install -U pipen-cli-require pipen require immunopipe.pipeline:pipeline <pipeline arguments>
-
Quick way to install the dependencies using conda
conda env install --name <env_name> --file docker/environment.yml # then conda activate <env_name>
Running as a container
Using docker:
docker run \
-w /immunopipe/workdir \
-v $(pwd)/:/immunopipe/workdir \
-v /tmp \
-v $(pwd)/prepared-data:/mnt \
justold/immunopipe:<tag> # or :dev to use the development version
Using singularity:
singularity run -w \ # need it to be writable
--pwd /immunopipe/workdir -B .:/immunopipe/workdir \ # Could use other directory instead of "."
# --contain: don't map host filesystem
# --cleanenv: recommended, to avoid other host's environment variables to be used
# For example, $CONDA_PREFIX to affect host's conda environment
--contain --cleanenv \
docker://justold/immunopipe:<tag> # or :dev to use the development version
# The mount your data directory to /mnt, which will make startup faster
# For example
# -B .:/immunopipe/workdir,/path/to/data:/mnt
# Where /path/to/data is the data directory containing the data files
# You may also want to bind other directories (i.e. /tmp)
# -B <other bindings>,/tmp
# Or you can pull the image first by:
singularity pull --force --dir images/ docker://justold/immunopipe:<tag>
# Then you can replace "docker://justold/immunopipe:<tag>" with "images/immunopipe.sif"
Modules
- Basic TCR data analysis using
immunarch
- Clone Residency analysis if you have paired samples (i.e. Tumor vs Normal)
- V-J usage, the frequency of various V-J junctions in circos-style plots
- Clustering cells and configurale arguments to separate T and non-T cells
- Clustering T cell, markers for each cluster and enrichment analysis for the markers
- Radar plots to show the composition of cells for clusters
- (Meta-)Markers finder for selected groups/clones of cells
- Psedo-bulk GSEA analysis of two groups of cells
- Seurat cluster statistics, including:
- Basic statistics of the clusters (e.g. number of cells in each cluster)
- Gene expressions (e.g. ridge, violin, feature, dot and heatmap plots)
- Dimensional reduction plots
- TCR clustering using CDR3 sequences and the statistics of the clusters
- Cell group distribution (TCR clones/clusters) in Seurat clusters
- Clone heterogeneity (TCR clone distribution) in Seurat clusters
- Metabolic landscape analysis (Ref: Xiao, Zhengtao, Ziwei Dai, and Jason W. Locasale. "Metabolic landscape of the tumor microenvironment at single cell resolution." Nature communications 10.1 (2019): 1-12.)
Documentaion
https://pwwang.github.io/immunopipe
Example
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
immunopipe-0.5.0.tar.gz
(26.4 kB
view details)
Built Distribution
File details
Details for the file immunopipe-0.5.0.tar.gz
.
File metadata
- Download URL: immunopipe-0.5.0.tar.gz
- Upload date:
- Size: 26.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1040-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54ae9cd8e18b59e953de0f59131aa55b39543195e9c4e3e5d14bdc6e568fab5c |
|
MD5 | 593c3dd65ea1992ad657c070ddaa1a21 |
|
BLAKE2b-256 | 48d63bf5dcd1ed21b0a331531af3084e859299cf3c6aeef9a9da304e3b808720 |
Provenance
File details
Details for the file immunopipe-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: immunopipe-0.5.0-py3-none-any.whl
- Upload date:
- Size: 30.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Linux/5.15.0-1040-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 21ae9b18dd81ef3d47a48537345076cd85e8109aa050dd206ec15f87961480de |
|
MD5 | 230c8f7d4265bd39fc8e12f7c4ba92cf |
|
BLAKE2b-256 | a9c5c1b5f6c3a8ca7114eba8010688267884913dceb34556df868f57e1aee82e |