I am trying to plot TADs using the HiCPlotTADs tool in usegalaxy.eu, but I keep receiving the same error.
INFO:pygenometracks.tracksClass:plotting 1. [x-axis]
INFO:pygenometracks.tracksClass:plotting 2. [hic matrix]
WARNING:pygenometracks.tracks.GenomeTrack:*Warning*
There is no data for the region considered on the matrix. This will generate an empty track!!
In the provided .ini file, I did use the H5 file produced by Hicexplorer. Why is the matrix still empty?
You sent in a bug report to the UseGalaxy.org team a few days ago, correct?
Did you enter a valid region onto the form? Is the format Ok? Do you know if the file contains data in that exact region? The tool doesn’t think so … so maybe the region entered has some problem. Mismatched chromosome identifiers would be one guess.
Hello, because I am exploring the changes in chromosomes related to antiviral genes, for example: I want to examine “DDX58,” so I have set up the command:
Your command has the first format specified but many genomes indexed in Galaxy were sourced from UCSC, so use the latter format.
This is a gotcha for everyone, but the short advice is to just double check your own data to make sure that everything is based off of the same exact genome assembly release to avoid problems (may not even fail a tool, and instead produce odd scientific results). Mismatched Chromosome identifiers and how to avoid them
Could you run this tool please? I’m wondering if your data is not mapped/annotated yet, and this report would reveal that case.
hicInfo get information about the content of a Hi-C matrix
And, if it is annotated, what was the target reference genome? Custom genome? Locally cashed? Which? Does that chr9 actually exist in that reference genome? At those coordinates? Did you expect data to map there (some tutorial data may be limited to other genome regions)?
If not, maybe try and see if the Galaxy tool works? The command line would be part of the output, and you could compare your local string to the Galaxy string and maybe spot an important difference.
The only other item I can think of is some problem with the configuration of the tool outside of Galaxy.
Hi @jennaj
Thank you very much for your help.
Later on, I wanted to try if I could correctly visualize the matrix from my original hic-data H5 file.
It feels like I succeeded (comparing it to the empty matrix I had before, haha…). However, the output result is still very strange.
pyGenomeTracks --tracks hic_track.ini -o 101901hic_track.png --region chrX:2500000-3500000
INFO:pygenometracks.tracksClass:initialize 1. [x-axis]
INFO:pygenometracks.tracksClass:initialize 2. [hic matrix]
INFO:pygenometracks.tracksClass:time initializing track(s):
INFO:pygenometracks.tracksClass:1.0279624462127686
DEBUG:pygenometracks.tracksClass:Figure size in cm is 40 x 23.86279692855858. Dpi is set to 72
INFO:pygenometracks.tracksClass:plotting 1. [x-axis]
INFO:pygenometracks.tracksClass:plotting 2. [hic matrix]
INFO:pygenometracks.tracks.GenomeTrack:setting min, max values for track 2. [hic matrix] to: 61757.57107070611, 17540.482597922633
[x-axis]
where = top
[hic matrix]
file = 1019Mock_KR.h5
title = hic_data
# depth is the maximum distance plotted in bp. In Hi-C tracks
# the height of the track is calculated based on the depth such
# that the matrix does not look deformed
depth = 1250000
transform = log1p
file_type = hic_matrix
I really appreciate your help.
Hi,
Indeed pyGenomeTracks and HiCPlotTADs are the same. As this seems more linked to the tool than galaxy. Do not hesitate to write an issue in Sign in to GitHub · GitHub I will be happy to answer you.
Best,
Lucille (main developer of pyGenomeTracks)