Skip to main content

PyPI Docs Build Status

BRIE: Bayesian Regression for Isoform Estimate

Top News

  • [29/05/2022] We have released v2.2 that fully supports counting droplet-based data for both Skipping Exon events and other types of splcing events. See the brie-count manual

  • [29/05/2022] We have include small-sized test data sets (15MB) for both smart-seq2 and 10x Genomics. See data in brie-tutorials/tests repo

About BRIE

Welcome to the new BRIE (>=2.0 or BRIE2), Bayesian Regression for Isoform Estimate, a scalable Bayesian method to accurately identify splicing phenotypes in single-cell RNA-seq experiments and quantify isoform proportions and their uncertainty.

BRIE2 supports the analysis of splicing processes at two molecular levels, either between alternative splicing isoforms or between unspliced and spliced RNAs. In either case, it returns cell-by-event or cell-by-gene matrices of PSI value and its 95% confidence interval (quantification) and the statistics for detecting DAS and DMG on each event or gene:

  1. Differential alternative splicing (DAS): This task is to quantify the proportions of alternative splicing isoforms and to detect DAS between groups of cells or along with a continuous covariate, e.g., pseudotime. BRIE2 is designed for two-isoform splicing events with a focus on exon skipping, but in principle also applicable for mutual exclusion, intron-retaining, alternative poly-A site, 3’ splice site and 5’ splice site.

  2. Differential momentum genes (DMG): This task is to quantify the proportions of unspliced and spliced RNAs in each gene and each cell. Similar to DAS, the DMG is a principled selection of genes that capture heterogeneity in transcriptional kinetics between cell groups, e.g., cell types, or continuous cell covariates, hence may enhance the RNA velocity analyses by focusing on dynamics informed genes.

Installation

BRIE2 is available through PyPI. To install, type the following command line, and add -U for upgrading:

pip install -U brie

Alternatively, you can install from this GitHub repository for the latest (often development) version with the following command line

pip install -U git+https://github.com/huangyh09/brie

In either case, add --user if you don’t have the write permission for your Python environment.

For more instructions, see the installation manual.

Manual and examples

In short, there are two steps for running BRIE2. First, obtain cell-by-gene or cell-by-event count matrices for each isoform. For the exon-skipping event, you can run brie-count, which will return count matrices and hdf5 file for AnnData. For spliced and unspliced matrices, we listed a few options in the manual.

Then you can use brie-quant to perform quantification of splicing ratio and detect differential alternative splicing or differential momentum genes.

Type command line brie-count -h and brie-quant -h to see the full arguments.

References

Metadata

Release files for brie 2.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for brie 2.3.1
File Size Uploaded Provenance Actions
brie-2.3.1.tar.gz 344.8 kB Without provenance Details for brie-2.3.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for brie 2.3.1
File Interpreter ABI Platform Actions
brie-2.3.1-py3-none-any.whl Python 3 none any Details for brie-2.3.1-py3-none-any.whl

Total release size: 410.2 kB

Release files / brie-2.3.1.tar.gz

Download URL brie-2.3.1.tar.gz
Size 344.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9f1efc7f72472c75fde950478e219218d35e1c861d472f60b706b5ae2772739e
BLAKE2b-256 checksum
How to use checksums
82bb24b5a188eed390fb05fbbf5337922ac9d9717833e5465a2ef9fadf68877c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.3

Release files / brie-2.3.1-py3-none-any.whl

Download URL brie-2.3.1-py3-none-any.whl
Size 65.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f704653d96db27c63ec8f97604cc72de5be3573429136d3b6fa68cc2c444f660
BLAKE2b-256 checksum
How to use checksums
c9a2754f0a61e91c3165424112bdeddcb69808d4428186262ec8456e030774e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.3

Security for brie 2.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page