Skip to main content

AeQTL

eQTL analysis using region-based aggregation of rare variants.

Requirements

  • python 3.5
  • pip
  • bx_interval_tree (see installation instructions below)
  • git (optional)

Installation

First, install IntervalTree from bx-python. We strongly recommend using a standalone package called bx_interval_tree which is smaller and easier to compile than bx-python.

git clone https://github.com/ccwang002/bx_interval_tree
cd bx_interval_tree
python setup.py install
cd ..

Continue to install AeQTL by choosing one of the options below.

(1) From PyPI

The easiest way to install AeQTL is from PyPI.

pip install aeqtl

(2) From source code

Alternatively, download the source code of AeQTL

git clone https://github.com/Huang-lab/AeQTL

Then install AeQTL

cd AeQTL
pip install .

Append the path to AeQTL to your PATH environment variable

export PATH=/path/to/AeQTL/bin:$PATH

Run

aeqtl -v <vcf file> -b <bed file> -e <expression file> \
	  -cn <numerical covariates> -cc <categorical covariates> -s <covariate file> \
      -o <output directory>

Input data format

Note: demo input files with compatible format can be found in the "demo" folder

VCF file

A standard multi-sample VCF file with file extension .vcf (or .vcf.gz). Sample IDs in VCF file, expression file, and covariate file should match exactly.

BED file

A BED file (tab separated) with at least four columns and without header. The format of the file should follow:

<chromosome>	<start>		<end>		<region_name>		<tested_genes>

An example row:

chr17			41197693	41197821	BRCA1				BRCA1;SLC25A39;HEXIM2

The first four columns are required. The fifth column is a list of genes separated by ";". If the fifth column (tested_genes) is not provided, AeQTL by default will test each region with every gene from the expression file.

Expression file

A matrix-format, tab separated .tsv file with gene expression from RNA-seq. The first row (header) of the file should follow:

gene_id		<sample_id_1>		<sample_id_2>		<sample_id_3>		...

and the first column of the file should follow:

gene_id
<gene_1>
<gene_2>
...

Covariate file

A tab separated .tsv file with column names corresponding to covariates. A column of sample IDs with column name "sample_id" is required. Covariates entered in AeQTL and their corresponding column names must match exactly. However, the covariate file can contain other unused columns as well. If entering a categorical covariate, please make sure each category has the same value throughout the file (i.e. avoid instances such as having both "FEMALE" and "female" in the same column).

Output data format

A tab separated .tsv file of summary statistics (up to 5 digits after the decimal point). Each row is an eQTL test between a region and a gene. The file contains the following fields:

  • region
  • gene
  • coef_intercept
  • coef_genotype
  • coef_<covariate> (for each covariate)
  • pvalue_intercept
  • pvalue_genotype
  • pvalue_<covariate> (for each covariate)

Metadata

Release files for aeqtl 0.1.0

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

Source distribution (sdist)

Source distribution for aeqtl 0.1.0
File Size Uploaded Provenance Actions
aeqtl-0.1.0.tar.gz 6.7 kB Without provenance Details for aeqtl-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 14.8 kB

Release files / aeqtl-0.1.0.tar.gz

Download URL aeqtl-0.1.0.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
589d5e3aaa78db4ba954b4aaf17e4e8a0e5bf647c695fe8aa2eadcae08dc8048
BLAKE2b-256 checksum
How to use checksums
336a335e99bd7bf6a258217d22c88185dc4b9174c90481be62fb3f1a06508097
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.14.2 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.5

Release files / aeqtl-0.1.0-py3-none-any.whl

Download URL aeqtl-0.1.0-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db11198579cb99bb428bff10e655d17769adcf3b3ce0e5d059f16e206a9e4299
BLAKE2b-256 checksum
How to use checksums
79c28cf5ec53a8ec9bb9661a2480861be591ead90406d22ea0aefead146bbc88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.14.2 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.5

Security for aeqtl 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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