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
This package requires the external tool:
- bedtools (>=2.30)
Make sure it is installed and available in your PATH.
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.
Metadata
Release files for metaloci 1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| metaloci-1.4.tar.gz | 18.0 MB | Without provenance | Details for metaloci-1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| metaloci-1.4-py3-none-any.whl | Python 3 | none | any | Details for metaloci-1.4-py3-none-any.whl |
Total release size: 36.4 MB
Release files / metaloci-1.4.tar.gz
| Download URL | metaloci-1.4.tar.gz |
|---|---|
| Size | 18.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1984dddd8a8cf216eb18937368982c6851a2e3bca15afc9206ea5c7443e25768
|
|
BLAKE2b-256 checksum How to use checksums |
6e58491249845b4f863e4cfeb254b7093f63462fb16c728e0aca613289b9aeb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Release files / metaloci-1.4-py3-none-any.whl
| Download URL | metaloci-1.4-py3-none-any.whl |
|---|---|
| Size | 18.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f4b9e5c21ae197d2ae6e8b05450ecf0df201a80b71f2698f9949876e0cf80c8
|
|
BLAKE2b-256 checksum How to use checksums |
3197ff9d6ec59af8004667d23fab57ce11d03e22c6f8e0cf2163a7e78dfbe0a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.0
|
Security for metaloci 1.4
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.