Plot whole genome contact heatmap
Project description
PlotHiC
PlotHiC
is an extension of AutoHiC that is used to visualize global interaction heatmaps after genome scaffolding.
Note: PlotHiC is currently under development. If you have any questions, please Open Issues or provide us with your comments via the email below.
Author: Zijie Jiang
Email: jzjlab@163.com
Content
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
Installation
- Dependency :
python = "^3.10"
pip
# pip install
pip install plothic
Usage
Input file
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).
- Chromosome txt
This file is used for heatmap labeling. The first column is the name of the chromosome and 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).
**Note: **the length is in .hic file, not true base length.
# name length
Chr1 24800000
Chr2 44380000
Chr3 63338000
Chr4 81187000
Chr5 97650000
example
plothic -hic test.hic -chr chr.txt -r 100000
# -hic > .hic file
# -chr > chromosome length (in .hic file)
# -r > resolution to visualization
other parameter
Color map
PlotHiC uses YlOrRd
by default, you can choose more colors from Matplotlib.
Dev
Currently only use hic
and chr txt
are supported for visualization, and assembly
files will be supported in the future. However, from the perspective of usage, using chr txt
files seems to be more convenient. If you have better suggestions or other requirements, please Open Issues.
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
File details
Details for the file plothic-0.1.3.tar.gz
.
File metadata
- Download URL: plothic-0.1.3.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b8e3172bd8e3dd4ff10420618c85da30ce8cca61d7b73f20e82c477806281fe |
|
MD5 | 43eb35033e465b4c219b7d2f8f74e3be |
|
BLAKE2b-256 | c39cadaa13aced92b2e7c872cee275270507f81df2e6124f5200203b86126777 |
File details
Details for the file plothic-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: plothic-0.1.3-py3-none-any.whl
- Upload date:
- Size: 20.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.10.12 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8b92b08717f168142c81f99afb984437c55c20ac09042a9cb99ec3c1ef433fb |
|
MD5 | 4603f88b7bbdabfc79be00f9e82a36e9 |
|
BLAKE2b-256 | 40c5ce6c1bf688de09596eeee6f85005a971cafc0f54fdab76ae02be58e51251 |