Skip to main content

exosome-containing droplet identification and source tracking in scRNA-seq data

Project description

exoTras delineates exosome profiles at droplet resolution from single-cell transcriptomes

exoTras /ˈɛkoʊˌtɹeɪs/ stands for exosome-containing droplet identification and source tracking in scRNA-seq data.

You can freely use exoTras to explore exosome heterogeneity at single droplet, characterize cell type dynamics in light of exosome activity and unlock diagnostic potential of exosomes in concert with cells.

Overview of exoTras.

Prerequisites

"numpy", "pandas", "scipy",
"scanpy", "statsmodels", "gseapy"

Installation

pip install exoTras

We also suggest to use a separate conda environment for installing exoTras.

conda create -y -n exoTras_env python=3.7
conda activate exoTras_env
pip install exoTras

Basic Usage

Input for exoTras is a cell-by-gene matrix. In the case of scRNA-seq dataset using 10X Genomics, we used raw_feature_bc_matrix directory generated by Cell Ranger as input. Output of exoTras consists of the score of exosome signals and classification for each droplet. Such exosome information will be used for downstream analysis and as basis for the construction of the exosome secretion activity index (ESAI) and source tracking functions.

We implemented four functions for exosomes recognizing and functional analyses. In exoTras, exosomes_recognizer recognizes exosome-containing droplets in the raw scRNA-seq data; source_tracker and ESAI_celltype trace these droplets to their original cell type and estimited corresponding exosome secretion activity; and cellfree_simulator simulates transcriptional profile of cell free droplets in scRNA-seq.

Examples

For a study with multiple scRNA-seq samples, we support two input ways.

### first    if samples locate in one directory
exoTras.exosomes_recognizer(input_path='directory_path', sample_file='sample_name', out_path='output_path', species='Homo')
### second   if samples locate in differet directories
exoTras.exosomes_recognizer(sample_file='sample_path', out_path='output_path', species='Homo')

In the first way, directory_path is the path for the directory that contains all sample; and sample_name is the file that list each sample in th directory row by row. Every sample should contain directory structure like 'sample/outs/raw_feature_bc_matrix/', and exoTras would automatically recognize for each sample. The second way supports one sample file with abosulte path for each sample, if they are not in one directory.

And out_path defines the output of exoTras that is one h5ad file, named 'raw_exoTras.h5ad', with exoTras score and exosome classification in the 'obs' for all droplets, and one named 'exosomes_exoTras.h5ad' with only exosome-containing droplets.

Then, we could source these recoginzed exosomes to original cell type and calculate the exosome secretion activity.

celltype_exosome_number, adata_exo, adata_combined = exoTras.source_tracker(adata_exo, adata_cell, OBSsample='batch', OBScelltype='celltype')

exo_activity_dat = exoTras.ESAI_celltype(adata_exo, adata_cell, OBSsample='batch', OBScelltype='celltype')

In the parameters, the two adata variable represent the exosome- and cell- anndata objects. And batch and celltype are the indexes of sample names and cell types in the anndata of cells. The output of source_tracker is in the 'obsm' of 'adata_exo' indexed as 'source'.

Further tutorials please refer to https://exoTras.readthedocs.io/.

Project details


Release history Release notifications | RSS feed

This version

0.4

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exoTras-0.4.tar.gz (289.6 kB view details)

Uploaded Source

Built Distribution

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

exoTras-0.4-py3-none-any.whl (33.3 kB view details)

Uploaded Python 3

File details

Details for the file exoTras-0.4.tar.gz.

File metadata

  • Download URL: exoTras-0.4.tar.gz
  • Upload date:
  • Size: 289.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for exoTras-0.4.tar.gz
Algorithm Hash digest
SHA256 e70b8230ca8eff275e675948ad4b2c1c0c2c68b53e4fdfc67ce4c77d690debce
MD5 2671c426fa020cea88761a90bfc509bc
BLAKE2b-256 c3b6cce3954f3ba77095ced68a5e22fbba3111e43609da1eedf3a2e1614d9951

See more details on using hashes here.

File details

Details for the file exoTras-0.4-py3-none-any.whl.

File metadata

  • Download URL: exoTras-0.4-py3-none-any.whl
  • Upload date:
  • Size: 33.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.5

File hashes

Hashes for exoTras-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a21242dd430d3723fa65434d90056d12e41c2869a36f061ecbf838fceaadbbbd
MD5 fd0e18bc4331c2e5723a566cdddae014
BLAKE2b-256 f9770e7b2677cb14c7d7d00aefe84b67660bb514f3ad1a3efdc6077724a9470c

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