Skip to main content

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.9 bedtools==2.31.1
conda activate metaloci
pip install metaloci

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 do this with:

sudo apt install gawk

Contributors

METALoci is currently being developed at the MarciusLab by Iago Maceda, Marc A. Marti-Renom and Leo Zuber, with the contribution of other members of the lab.

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

metaloci-1.0.3.tar.gz (17.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

metaloci-1.0.3-py3-none-any.whl (18.0 MB view details)

Uploaded Python 3

File details

Details for the file metaloci-1.0.3.tar.gz.

File metadata

  • Download URL: metaloci-1.0.3.tar.gz
  • Upload date:
  • Size: 17.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for metaloci-1.0.3.tar.gz
Algorithm Hash digest
SHA256 1fdc3a69b7baad9e88ea34270596185bbb7b5499a007a59a94995bb1d48c7743
MD5 d3cf23eae1d46ee730ae8c86fbeb13c2
BLAKE2b-256 7d917ca541aa83b860930561ec7f8c52aeb34dd825f5e274ac17934fcb105601

See more details on using hashes here.

File details

Details for the file metaloci-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: metaloci-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 18.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for metaloci-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c6248e0fe119da6a1837eb5682e3115f1920636c5dae0532025d3f536deecf78
MD5 0c78c07d2c4293ba9003517cd3d4b3c4
BLAKE2b-256 4b63c5c7b2f69b216af3aaeb92b11cc59cecb8bc3058e9a45c76027e116045c1

See more details on using hashes here.

Supported by

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