Skip to main content

Plot Whole genome Hi-C contact matrix heatmap

Project description

PlotHiC

PlotHiC is used to visualize global interaction heatmaps after genome scaffolding.

If you have any questions, please Open Issues or provide us with your comments via the email below.

Email: jzjlab@163.com

Content

Installation

  • Dependency : python = "^3.10"

pip

# pip install 
pip install plothic

Usage

Input file

  • genome.hic

This file is taken directly from 3d-dna, you need to select the final hic file (which has already been error adjusted and chromosome boundaries determined).

  • chr.tx
  1. This file is used for heatmap labeling. The first column is the name of the chromosome.
  2. The second column is the length of the chromosome (this length is the length of the hic file in Juicebox and can be manually determined from Juicebox).
  3. The third column is the order in which the chromosomes are placed, which is used to customize the arrangement of chromosomes (for example, from max to min).

Note: the length is in .hic file, not true base length.

# name length index
Chr1 24800000 5
Chr2 44380000 4
Chr3 63338000 3
Chr4 81187000 2
Chr5 97650000 1

example

  • Default order
plothic -hic genome.hic -chr chr.txt -r 100000

# -hic > .hic file 
# -chr > chromosome length (in .hic file)
# -r > resolution to visualization

  • Custom order
plothic -hic genome.hic -chr chr.txt -r 100000 --order

# -hic > .hic file 
# -chr > chromosome length (in .hic file)
# -r > resolution to visualization
# --order > 

other parameter

Color map

PlotHiC uses YlOrRd by default, you can choose more colors from Matplotlib.

Citations

If you used PlotHiC in your research, please cite us:

Zijie Jiang, Zhixiang Peng, Zhaoyuan Wei, Jiahe Sun, Yongjiang Luo, Lingzi Bie, Guoqing Zhang, Yi Wang, A deep learning-based method enables the automatic and accurate assembly of chromosome-level genomes, Nucleic Acids Research, 2024;, gkae789, https://doi.org/10.1093/nar/gkae789

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

plothic-0.4.12.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

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

plothic-0.4.12-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file plothic-0.4.12.tar.gz.

File metadata

  • Download URL: plothic-0.4.12.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/8.5.0 keyring/24.3.1 pkginfo/1.11.2 readme-renderer/34.0 requests-toolbelt/1.0.0 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for plothic-0.4.12.tar.gz
Algorithm Hash digest
SHA256 0833502b3da15c4c7018f074fdf6b8c9afda1a7117f0eeaf182bd85bb40c5b77
MD5 1f0a0c758c695a3ebc6c7a1ac22d1d5c
BLAKE2b-256 eb3d61af85319e27b1a38378a6d94a0d9cb5854bc2aa849cf8e90497cea8a0ad

See more details on using hashes here.

File details

Details for the file plothic-0.4.12-py3-none-any.whl.

File metadata

  • Download URL: plothic-0.4.12-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/8.5.0 keyring/24.3.1 pkginfo/1.11.2 readme-renderer/34.0 requests-toolbelt/1.0.0 requests/2.32.3 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.12

File hashes

Hashes for plothic-0.4.12-py3-none-any.whl
Algorithm Hash digest
SHA256 fa07c3ac04eae84848c2dbea0c74d6c050008b16fdbd953e1aff91c9f3315890
MD5 a19280d010866648dbeaef25f52a60b7
BLAKE2b-256 52406e61cbd388c9e8a698902ce806f4da0b6f5664695a7198242e591bc2ab35

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