Skip to main content

Blood Transcription Modules for transcriptomics analysis

Project description

# BTM (Blood Transcription Modules)

Gene modules to interpret blood transcriptomics data.

Used as alternative to conventional pathways, offering granular immunology and often better sensitivity. The modules can also be used as gene sets for GSEA analysis. This is the BTM modules described in

  • Li, S., Rouphael, N., Duraisingham, S., Romero-Steiner, S., Presnell, S., Davis, C., …, Pulendran, B. (2014). Molecular signatures of antibody responses derived from a systems biological study of 5 human vaccines. Nature immunology, 15(2), 195. https://www.nature.com/articles/ni.2789

## Installation ` pip install BTM `

## BTM_Plus at 2021

An update with the help of Amnah Siddiqa.

This set of modules excludes all TBA modules, and replaces the cell specific markers by a new set of markers compiled from these three papers:

  • Aran, D., Hu, Z. and Butte, A.J., 2017. xCell: digitally portraying the tissue cellular heterogeneity landscape. Genome biology, 18(1), pp.1-14.

  • Zhang, X., Lan, Y., Xu, J., Quan, F., Zhao, E., Deng, C., Luo, T., Xu, L., Liao, G., Yan, M. and Ping, Y., 2019. CellMarker: a manually curated resource of cell markers in human and mouse. Nucleic acids research, 47(D1), pp.D721-D728.

  • Monaco, G., Lee, B., Xu, W., Mustafah, S., Hwang, Y.Y., Carre, C., Burdin, N., Visan, L., Ceccarelli, M., Poidinger, M. and Zippelius, A., 2019. RNA-Seq signatures normalized by mRNA abundance allow absolute deconvolution of human immune cell types. Cell reports, 26(6), pp.1627-1640.

The cell specific markers were merged by keeping genes in at least half of the source sets. I.e., if 5 genesets exist for the same cell population, a gene is kept if it appears in at least 3 of the genesets. All genesets/modules larger than 100 genes are excluded from BTM_Plus.

` >>> from BTM_Plus import BTM_Plus as B2 >>> len(B2) 276 >>> B2[88] {'id': 'P089', 'name': 'mismatch repair (I)', 'src': ['Li-Pulendran, Li_M22.0_mismatch repair (I)'], 'genes': ['SMC1A', 'POLA1', 'NCAPG2', 'RFC5', 'RFC4', 'MSH2', 'TMPO', 'MSH6', 'RFC2', 'GMNN', 'BUB1', 'RMI1', 'RACGAP1', 'EXO1', 'POLD3', 'PRIM1', 'ZWINT', 'CHEK1', 'CENPK', 'FIGNL1', 'MCM6', 'RFC3', 'SSBP1', 'TOPBP1', 'RPA3', 'SMC2']} `

## To generate permutations of BTM_Plus

In same directory, change Number_Permutation to your need - ` python permutate.py `

This writes two files, ‘resampled_BTM_Plus.txt’, ‘random_genesets.txt’, each line of a geneset of size 50 (default).

## Example use of the 2013 version (Companion to original paper)

To convert gene level data to BTM module activity scores: ` from btm.btm_tool import genetable_to_activityscores genetable_to_activityscores(infile, outfile) `

Download tutorial package at https://media.nature.com/original/nature-assets/ni/journal/v15/n2/extref/ni.2789-S5.zip

This “BTM_tutorial_package” download package should contain - btm_tool.py, btm_example_data.py, MCV4_D3v0_probesets.txt, gene_ab_correlation.rnk, BTM_for_GSEA_20131008.gmt, monocytes_vs_bcells.txt.

The btm_tool.py is to illustrate

  1. Converting gene level data to BTM activity table. (Can also convert Affy probeset level data to gene level data.)

  2. Enrichment test of an input gene list.

  3. Testing antibody correlation to gene expression at module level.

Project details


Download files

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

Source Distribution

BTM-1.1.5.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

BTM-1.1.5-py3-none-any.whl (1.6 MB view details)

Uploaded Python 3

File details

Details for the file BTM-1.1.5.tar.gz.

File metadata

  • Download URL: BTM-1.1.5.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.31.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.7.4

File hashes

Hashes for BTM-1.1.5.tar.gz
Algorithm Hash digest
SHA256 598b61de0bb51cfbf1adee2b1ecb5caf2cfd04e00bcd94976f6bab345b2a18d1
MD5 f547cb56d2922dc80c9ac6f5c6351511
BLAKE2b-256 b9812f11c3d5cbb05554283d16e99a002ad966ce63a9eb57bb803f7ef27e739d

See more details on using hashes here.

File details

Details for the file BTM-1.1.5-py3-none-any.whl.

File metadata

  • Download URL: BTM-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.31.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.63.0 CPython/3.7.4

File hashes

Hashes for BTM-1.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d1c219e40568d4cc9bd57c8f317601711909ec7bc417f79212cc87162dce11a7
MD5 31938ffda7c110dce6896d04014b01e9
BLAKE2b-256 2ee114d1fafb4cf4ab6f542db946c3fa6b891a3ceb23febaadf2b2716e5eb1c1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page