The afcn program applies a mechanistic model of gene
expression regulation by cis-regulatory elements developed
by Mohammadi et al. 2017 (1) and
Ehsan et al. 2024 (2). Here, we provide submodules
afcn fitto infer model parameters from dataafcn predictto generate gene expression predictions from phased genotypes.afcn twasto perform transcriptome wide association analysis, TWAS (3) / prediXcan (4), 🚧 under construction 🚧
The package requires Python >= 3.9 and can be installed directly
from the GitHub repo using pip
python -m pip install git+https://github.com/PejLab/haptwas.git
Alternatively, clone this repository then install from
local source code using pip.
Examples and ficticious data can be found in the example directory
of this repository. These examples demonstrate the enumerate options and
how to use each submodule. (afcn fit is under construction).
Mohammadi et al. 2017 (1) defined allele fold change (aFC) as the ratio in the number of gene transcripts under the alternative allele with respect to that of the reference allele. Consequently, it is a parameter that quantifies the effect of any one regulatory variant with its target gene. The authors of (1) showed mathematically how to combine individual phased genotypes and aFC values to predict observed gene expression. While this definition and model is general, the authors used it to specifically study cis-regulatory effects of gene regulation.
This software package for the Python programming language can be used as:
afcn fit 🚧 under construction 🚧
Infers model parameters (
then the total expression of the gene in sample
Where
afcn predict
Estimate the gene count of sample
@article{Mohammadi2017GenomeResearch,
title={Quantifying the regulatory effect size of cis-acting genetic variation using allelic fold change},
author={Mohammadi, Pejman and Castel, Stephane E and Brown, Andrew A and Lappalainen, Tuuli},
journal={Genome research},
volume={27},
number={11},
pages={1872--1884},
year={2017},
publisher={Cold Spring Harbor Lab}
}
@article{Ehsan2024NatureCommunications,
title={Haplotype-aware modeling of cis-regulatory effects highlights the gaps remaining in eQTL data},
author={Ehsan, Nava and Kotis, Bence M and Castel, Stephane E and Song, Eric J and Mancuso, Nicholas and Mohammadi, Pejman},
journal={Nature Communications},
volume={15},
number={1},
pages={522},
year={2024},
publisher={Nature Publishing Group UK London}
}
@article{Gusev2016NatureGenetics,
title={Integrative approaches for large-scale transcriptome-wide association studies},
author={Gusev, Alexander and Ko, Arthur and Shi, Huwenbo and Bhatia, Gaurav and Chung, Wonil and Penninx, Brenda WJH and Jansen, Rick and De Geus, Eco JC and Boomsma, Dorret I and Wright, Fred A and others},
journal={Nature Genetics},
volume={48},
number={3},
pages={245--252},
year={2016},
publisher={Nature Publishing Group US New York}
}
@article{Gamazon2015NatureGenetics,
title={A gene-based association method for mapping traits using reference transcriptome data},
author={Gamazon, Eric R and Wheeler, Heather E and Shah, Kaanan P and Mozaffari, Sahar V and Aquino-Michaels, Keston and Carroll, Robert J and Eyler, Anne E and Denny, Joshua C and GTEx Consortium and Nicolae, Dan L and others},
journal={Nature Genetics},
volume={47},
number={9},
pages={1091--1098},
year={2015},
publisher={Nature Publishing Group US New York}
}