METALoci: spatially auto-correlated signals in 3D genomes
Project description
METALoci
Spatially auto-correlated signals in 3D genomes.
METALoci relies on spatial autocorrelation analysis, classically employed in geostatistics, to describe how the variation of a variable depends on space at a global and local scales (e.g., identifying contamination hotspots within a city). METALoci repurposes this type of analysis to quantify spatial genome hubs of similar epigenetic properties. Briefly, the overall flowchart of METALoci consists of four steps:
-
First, a genome-wide Hi-C normalized matrix is taken as input and the top interactions selected.
-
Second, the selected interactions are used to build a graph layout (equivalent to a physical map) using the Kamada-Kawai algorithm with nodes representing bins in the Hi-C matrix and the 2D distance between the nodes being inversely proportional to their normalized Hi-C interaction frequency.
-
Third, epigenetic/genomic signals, measured as coverage per genomic bin (e.g., ChIP-Seq signal for H3K27ac), are next mapped into the nodes of the graph layout.
-
The fourth and final step involves the use of a measure of autocorrelation (specifically, the Local Moran’s I or LMI) to identify nodes and their neighborhoods with an enrichment of similar epigenetic/genomic signals.
METALoci is compatible with .cool, .mcool and .hic Hi-C formats; and with .bed signal files. The signal used in METALoci may be any numerical signal (as long as it is in a .bed file, with the location of such signal).
Have a look at the documentation!
Install metaloci from PyPI:
conda create -n metaloci -c bioconda python==3.12 bedtools
conda activate metaloci
pip install metaloci
Do you have trouble compiling dependencies? Perhaps you need an upgraded version of libcurl.
In Ubuntu, you can do this with:
sudo apt install -y libcurl4-openssl-dev
If you are experiencing any unexpected results with METALoci (e.g. your signal after binning is 0 for every bin), we suggest to update the version of awk you are using. The recommended version is 5.1.0 or newer.
In Ubuntu, you can install it with:
sudo apt install -y gawk
Contributors
METALoci is currently being developed at the MarciusLab by Leo Zuber, Iago Maceda and Marc A. Marti-Renom, with the original contribution of Juan Antonio Rodríguez as well as other members of the lab.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metaloci-1.3.1.tar.gz.
File metadata
- Download URL: metaloci-1.3.1.tar.gz
- Upload date:
- Size: 18.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ca791c7e115451a9309487a8b91fa7459ec5ff3f15b61340c396d4db55c3cd5
|
|
| MD5 |
d16547dbb24c123760e21eb0162b347c
|
|
| BLAKE2b-256 |
1dcdaa3a93d0624b75f73cef70ad3e6db265761cafb409f32a5b2cb312b0bf69
|
File details
Details for the file metaloci-1.3.1-py3-none-any.whl.
File metadata
- Download URL: metaloci-1.3.1-py3-none-any.whl
- Upload date:
- Size: 18.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64bd3c424d555ce7d2875fb38d0cb9c3da26afd0e7ba23f93b8e933df64035cc
|
|
| MD5 |
cb97cb9d2c27440f726a8c98bc5d0b7b
|
|
| BLAKE2b-256 |
d91e0713ab5391e7e67d6b061cb19d964acbe13c234ade462acc74042c4be802
|