Giter Site home page Giter Site logo

pygenometracks's Introduction

PyPI Version bioconda-badge bioconda-badge Build Status on Azure Coverage European Galaxy server

pyGenomeTracks

Standalone program and library to plot beautiful genome browser tracks

pyGenomeTracks aims to produce high-quality genome browser tracks that are highly customizable. Currently, it is possible to plot:

  • bigwig
  • bed/gtf (many options)
  • bedgraph
  • bedgraph matrices (like TAD-separation scores)
  • epilogos
  • narrow peaks
  • links (represented as arcs, triangles or squares)
  • Hi-C matrices (as triangle or squares)
  • fasta
  • maf (multiple alignment format)

Here is a scheme which describe how pyGenomeTracks is working (graphical abstract of Lopez-Delisle et al. 2020):

pyGenomeTracks

pyGenomeTracks can make plots with or without Hi-C data. The following is an example output of pyGenomeTracks from Ramírez et al. 2017

pyGenomeTracks example

Table of content

Installation

pyGenomeTracks works with python >=3.8.

The recommended way to install pyGenomeTracks is via conda

conda create -n pygenometracks -c bioconda -c conda-forge pygenometracks

To get a specific version, one can specify it. For example:

conda create -n pygenometracks -c bioconda -c conda-forge pygenometracks=3.5 python=3.7

However, we noticed that conda installation can be quite slow so using mamba can help. You first need to create the environment and install mamba:

conda create -n pygenometracks -c bioconda -c conda-forge mamba python=3.9

Then activate the environment and install pygenometracks with mamba:

conda activate pygenometracks
mamba install -c conda-forge -c bioconda pygenometracks

or if you want a specific version:

conda create -n pygenometracks -c bioconda -c conda-forge mamba python=3.7
conda activate pygenometracks
mamba install -c conda-forge -c bioconda pygenometracks=3.5

Also, pyGenomeTracks can be installed using pip

pip install pyGenomeTracks

Since version 3.5, pyGenomeTracks uses BEDTools, don't forget to install it or load it into your environment.

Usage

To run pyGenomeTracks a configuration file describing the tracks is required. The easiest way to create this file is using the program make_tracks_file which creates a configuration file with defaults that can be easily changed. The format is:

make_tracks_file --trackFiles <file1.bed> <file2.bw> ... -o tracks.ini

make_tracks_file uses the file ending to guess the file type.

Then, a region can be plotted using:

pyGenomeTracks --tracks tracks.ini --region chr2:10,000,000-11,000,000 --outFileName nice_image.pdf

The ending --outFileName defines the image format. If .pdf is used, then the resulting image is a pdf. The options are pdf, png and svg.

Description of other possible arguments:

options:
  -h, --help            show this help message and exit
  --tracks TRACKS       File containing the instructions to plot the tracks.
                        The tracks.ini file can be genarated using the
                        `make_tracks_file` program.
  --region REGION       Region to plot, the format is chr:start-end
  --BED BED             Instead of a region, a file containing the regions to
                        plot, in BED format, can be given. If this is the
                        case, multiple files will be created. It will use the
                        value of --outFileName as a template and put the
                        coordinates between the file name and the extension.
  --width WIDTH         figure width in centimeters (default is 40)
  --plotWidth PLOTWIDTH
                        width in centimeters of the plotting (central) part
  --height HEIGHT       Figure height in centimeters. If not given, the figure
                        height is computed based on the heights of the tracks.
                        If given, the track height are proportionally scaled
                        to match the desired figure height.
  --title TITLE, -t TITLE
                        Plot title
  --outFileName OUTFILENAME, -out OUTFILENAME
                        File name to save the image, file prefix in case
                        multiple images are stored
  --fontSize FONTSIZE   Font size for the labels of the plot (default is 0.3 *
                        figure width)
  --dpi DPI             Resolution for the image in case the ouput is a raster
                        graphics image (e.g png, jpg) (default is 72)
  --trackLabelFraction TRACKLABELFRACTION
                        By default the space dedicated to the track labels is
                        0.05 of the plot width. This fraction can be changed
                        with this parameter if needed.
  --trackLabelHAlign {left,right,center}
                        By default, the horizontal alignment of the track
                        labels is left. This alignemnt can be changed to right
                        or center.
  --decreasingXAxis     By default, the x-axis is increasing. Use this option
                        if you want to see all tracks with a decreasing
                        x-axis.
  --version             show program's version number and exit

Citation

If you use pyGenomeTracks in your analysis, you can cite the following papers:

Fidel Ramírez, Vivek Bhardwaj, Laura Arrigoni, Kin Chung Lam, Björn A. Grüning, José Villaveces, Bianca Habermann, Asifa Akhtar & Thomas Manke. High-resolution TADs reveal DNA sequences underlying genome organization in flies. Nature Communications (2018) doi:10.1038/s41467-017-02525-w

Lopez-Delisle L, Rabbani L, Wolff J, Bhardwaj V, Backofen R, Grüning B, Ramírez F, Manke T. pyGenomeTracks: reproducible plots for multivariate genomic data sets. Bioinformatics. 2020 Aug 3:btaa692. doi: 10.1093/bioinformatics/btaa692. Epub ahead of print. PMID: 32745185.

Documentation

Our documentation provide examples, as well as the full list of possible parameters and guidelines for developers who would like to add a new track type.

External users

  • CoolBox is an interactive genomic data explorer for Jupyter Notebooks
  • Galaxy integration offers a graphical user-interface to create PGT plots. It is also possible to include PGT into workflows and automatic pipelines.

pygenometracks's People

Contributors

bgruening avatar djakubosky avatar fidelram avatar gdelevoye avatar jeff1995 avatar joachimwolff avatar leilyr avatar lldelisle avatar mikewolfe avatar phlya avatar vivekbhr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pygenometracks's Issues

TypeError: '<' not supported between instances of 'str' and 'float'

I want to plot a bam file together with a gff file.

I therefore converted the bam + gff file to bed-files (bed6). Please see the input files below:

bedtools bamtobed -i file.bam >bam.bed
gff2bed <saccharomyces_cerevisiae_mod.gff | cut -f 1-6 >gff.bed

Then I run pyGenomeTracks:

make_tracks_file -f gff.bed bam.bed -o tracks.ini
pyGenomeTracks --tracks tracks.ini --region chrI:10090-13000 --outFileName nice_image.pdf

But I am getting the following error:

Traceback (most recent call last):
  File "/home/user/viehboeck/.conda/envs/pygenometracks/bin/pyGenomeTracks", line 11, in <module>
    main(args)
  File "/home/user/viehboeck/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/plotTracks.py", line 303, in main
    track_label_width=args.trackLabelFraction, pRegion=region)
  File "/home/user/viehboeck/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/tracksClass.py", line 107, in __init__
    self.track_obj_list.append(track_class(properties))
  File "/home/user/viehboeck/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/tracks/BedTrack.py", line 114, in __init__
    self.interval_tree, min_score, max_score = self.process_bed()
  File "/home/user/viehboeck/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/tracks/BedTrack.py", line 162, in process_bed
    if bed.score < min_score:
TypeError: '<' not supported between instances of 'str' and 'float'

files.zip

numpy issues

Hi, I followed install instructions for conda, but I am getting an error which looks numpy related:
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
Traceback (most recent call last):
File "/home/kqwt693/.conda/envs/pygenometracks/bin/pyGenomeTracks", line 11, in
main(args)
File "/home/kqwt693/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/plotTracks.py", line 278, in main
track_label_width=args.trackLabelFraction)
File "/home/kqwt693/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/tracksClass.py", line 119, in init
self.track_obj_list.append(track_class(properties))
File "/home/kqwt693/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/tracksClass.py", line 745, in init
import pyBigWig
ImportError: numpy.core.multiarray failed to import

Any advice on how to resolve this error?

How to show uncertainty, error bars, or multiple lines?

Hi Fidel,

Thanks for the excellent package! I want to use it with my own data, but I wonder if you can help me to show multiple replicates of a specific measurement.

You have a nice example in the README.md:

deeptools_pygenometracks__python_module_to_plot_beautiful_and_highly_customizable_genome_browser_tracks

I'm looking at the second track with the blue line and the gray lines.

Could you please share the config.ini for this type of track?

In general, where can I find more information about existing configurations such as [genes]? For example, I'd like to know if I can use a GTF file for [genes], or if that will have to be added as a custom track.

Before I try to make my own custom tracks, I was hoping that I might try to reuse one of the existing ones.

Thanks for any tips!

What is the best way to prepare genes.bed.gz from gencode?

Hi,
I'm trying to show GENCODE as a gene track. I tried several patterns but I couldn't get what I expected. In concrete, I prepared bed12 using the script here and sorted and converted gene ids into symbols.

From the results (showing below), I may be able to use the flybase style, but somehow the UCSC style ends up in the weird strand directions.

Now, I want to know the best way to show an appropriate gene track. How should I prepare the bed12 from gtf or do you have a plan to add gtf as an applicable file format?

Best,
Yoshi

image

Error in narrowPeak format

Hello,
There is an example of using MACS2 narrowPeak format in README. But it seems don't work when I try to use "make_tracks_file" to produce .ini file. Error like this:
image
So, I try to add the configuration into .ini manually, like this:
image
But still doesn't work:
image

feature request: visualize chromatin state epilogos

Hi,
Many thanks for adding Hi-C support. I also deal with chromHMM state data.
can you please add visualizing epilogos?

https://epilogos.altiusinstitute.org/

https://github.com/Altius/epilogos

you can download some example files http://egg2.wustl.edu/roadmap/data/byFileType/chromhmmSegmentations/ChmmModels/epilogos/

https://github.com/kcakdemir/HiCPlotter#epilogos-plotting- has some support, but it is hard-coded for 15 states. I have some in-house data and the states number maybe different.

Thanks!
Tommy

TAD classification track

Hi,

I am updating the test cases of HiCExplorer hicPlotTADs right now, and there is the track 'TAD classification'. With the usage of pyGenomeTracks it is just blue and does not show different kind of chromatin stages anymore. How can I bring this back?

Thanks,

Joachim

Using in python scripts

Hi!

The plots look really nice, I was just wondering whether this library can be used in python scripts to plot on matplotlib axes, and not as a standalone CLI tool?

Thanks!
Ilya

Arcs color scale based on score

Hello @fidelram and @vivekbhr ,

I started using pyGenomeTracks and I really enjoy it, thanks for the hard work 👍

Would it be possible to use the last column of test.arcs file (https://github.com/deeptools/pyGenomeTracks/blob/master/pygenometracks/tests/test_data/test.arcs) as a basis for a color scale of the arcs in order to display, for example, the interaction strength between 2 loci?

https://github.com/deeptools/pyGenomeTracks/blob/master/pygenometracks/tests/test_data/test.arcs

Best,
Gautier

Missing y-axis scale on hicPlotTADs

Hi,

I am making great use of this tool but am having trouble with plotting a scale bar on the HiC matrix generated via hicPlotTADs.

My figure looks the same as one of your test images at: https://github.com/deeptools/HiCExplorer/blob/master/hicexplorer/test/test_data/hicPlotTADs/pygenometracks.png

The colour scale bar is present but no numbers are there. I can't find the .ini file associated with the above test data plot but I was wondering if there was a setting in the configuration file that is causing these to not be plotted? As in the above figure all my other tracks plot the scales correctly.

Thanks,
Stephen

Vertical axis line for data range

What setting do I specify to set the Y-axis of a bigWig track to a vertical line? Right now the data range is drawn like "[0 - 10]" but I would like the vertical axis line as demonstrated in the tracks on the homepage.

I'm using version 2.0 from bioconda with Python 3

error message from pygenometracks

Hi,
I was wondering if you could be so kind as to help me with a problem. I freshly installed deeptools and pygenometracks, but I found an error from matplotlib when trying to use the second:

#runned pygenometracks
$ pyGenomeTracks --tracks tracks.ini --region SL2.50ch03:66,540,000-66,610,000 --outFileName nice_image_minus.pdf &
[1] 13902
diego_test@boeing:~/1_RNAseq_tomato_fig$ [INFO:tracksClass.py:130 - init()] time initializing track(s):
[INFO:tracksClass.py:356 - print_elapsed()] 0.00660514831543
[DEBUG:tracksClass.py:161 - plot()] Figure size in cm is 40 x 10. Dpi is set to 72

Traceback (most recent call last):
File "/home/diego_test/miniconda2/bin/pyGenomeTracks", line 11, in
main(args)
File "/home/diego_test/miniconda2/lib/python2.7/site-packages/pygenometracks/plotTracks.py", line 300, in main
trp.plot(args.outFileName, *region, title=args.title)
File "/home/diego_test/miniconda2/lib/python2.7/site-packages/pygenometracks/tracksClass.py", line 178, in plot
track.plot(axis, label_axis, chrom, start, end)
File "/home/diego_test/miniconda2/lib/python2.7/site-packages/pygenometracks/tracksClass.py", line 720, in plot
ax.axis['x'].axis.set_tick_params(which='minor', bottom='on')
File "/home/diego_test/miniconda2/lib/python2.7/site-packages/matplotlib/axis.py", line 856, in set_tick_params
kwtrans = self._translate_tick_kw(kw, to_init_kw=True)
File "/home/diego_test/miniconda2/lib/python2.7/site-packages/matplotlib/axis.py", line 898, in _translate_tick_kw
kwtrans['tick1On'] = _string_to_bool(kw.pop('bottom'))
File "/home/diego_test/miniconda2/lib/python2.7/site-packages/matplotlib/cbook/init.py", line 641, in _string_to_bool
warn_deprecated("2.2", "Passing one of 'on', 'true', 'off', 'false' as a "
File "/home/diego_test/miniconda2/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py", line 107, in warn_deprecated
warnings.warn(message, mplDeprecation, stacklevel=1)
matplotlib.cbook.deprecation.MatplotlibDeprecationWarning: Passing one of 'on', 'true', 'off', 'false' as a boolean is deprecated; use an actual boolean (True/False) instead.

I suspect this happens due to the installation process. In a fresh Miniconda2 session, I first installed deeptools as:
$ conda create --name deeptools deeptools -c conda-forge -c bioconda

I then installed pygenometracks:
$ conda install -c bioconda pygenometracks

While doing this, I realized that conda made an update of itself, and after finishing the installation of pygenometracks, deeptools 'dissapeared', and I had to install it afresh:
$ conda install -c bioconda deeptools

While doing the re-installation of deeptools, I realized that matplotlib was upgraded to a newer version, whereas pygenometracks was dowgraded to a previous version. The outcome was that the deeptools functions I tried (bamCoverage) works, but the pygenometrack doenst.
Find below all the report of the installation process:

diego_test_CONDA.txt

Hi-C matrix format

I noticed that a .h format is used. I have the raw bin files, how should I change it to the format pyGenomeTracks require?

Bin1	Bin2	Bin3	Bin4	Bin5	Bin6
7.85957	4.80329	11.4766	9.57416	4.5288	8.55022
8.61621	4.98956	2.35654	5.69483	11.1187	10.1322
4.06803	4.07801	7.98047	2.59144	6.3851	7.74306
4.52869	2.70624	8.94544	4.29185	8.29491	8.38257
2.91472	3.84658	1.56752	4.48515	7.4955	8.77461
3.08096	2.96487	7.23623	2.33142	3.08529	5.5379
3.12141	3.06905	4.97247	2.39298	5.03621	7.22344
3.4037	2.26455	1.48176	1.41958	3.40252	7.7027
3.8696	1.41425	7.68872	2.21027	5.06846	3.20063

Thanks,
Tommy

Moved user request from HiCExplorer

Hello,
This tool is really great. It helps to save time with illustrator...
A possible bug:

It looks like for a bed file when you do not want to print the label, they are printed anyway.
I would add:

  • the possibility to plot all annotations from a bed file on one row (even if the label overlap).

the possibility to plot the normalized count of the matrices (not only log transformed data).
the possibility to auto-width the matrices in order to have square bins (not diamond).
Many thanks,

Lucille

@lldelisle I moved your request because hicPlotTADs is developed as pyGenomeTracks now.

bedgraph loading is very slow

Hi, I understand that bigWigs should be preferred to bedgraphs for high resolution data, and they should be much faster than bedgraphs, but currently it seems that loading bedgraphs is unreasonably slow... A ~360Mb file takes a few seconds to load with pandas, but I have been waiting a few minutes for it to load as a BedGraphTrack and just had to interrupt it because I got bored. Is it something that might get improved? Thanks!

Import error

Hi, I upgraded PGT to the master branch and now can't import it in python:

ImportError                               Traceback (most recent call last)
<ipython-input-6-b7529b25397d> in <module>()
     29 import _mysql
     30 import re
---> 31 from pygenometracks import tracksClass# import BigWigTrack, BedGraphTrack, BedTrack
     32 import decimal

/usr/local/lib/python3.5/dist-packages/pygenometracks/tracksClass.py in <module>()
     29 from collections import OrderedDict
     30 
---> 31 from pygenometracks.tracks import *
     32 
     33 FORMAT = "[%(levelname)s:%(filename)s:%(lineno)s - %(funcName)20s()] %(message)s"

ImportError: No module named 'pygenometracks.tracks'

Single Exon Transcript UCSC version

pyGenomeTracks 2.1
python2.7.12

pyGenomeTracks --tracks tracks_new.ini --region chrZ:1-13581 --outFileName blahblah.svg

title not set for 'section 8. [blahblah]'
INFO:pygenometracks.tracksClass:time initializing track(s):
INFO:pygenometracks.tracksClass:0.0181858539581
DEBUG:pygenometracks.tracksClass:Figure size in cm is 40 x 18.3. Dpi is set to 72

INFO:pygenometracks.tracksClass:plotting 1. [x-axis]
/home/mitch/.local/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:107: MatplotlibDeprecationWarning: Passing one of 'on', 'true', 'off', 'false' as a boolean is deprecated; use an actual boolean (True/False) instead.
warnings.warn(message, mplDeprecation, stacklevel=1)
INFO:pygenometracks.tracksClass:plotting 2. [spacer]
INFO:pygenometracks.tracksClass:plotting 3. [blah1]
INFO:pygenometracks.tracksClass:plotting 4. [blah2]
INFO:pygenometracks.tracksClass:plotting 5. [blah3]
INFO:pygenometracks.tracksClass:plotting 6. [blah4]
INFO:pygenometracks.tracksClass:plotting 7. [spacer]
INFO:pygenometracks.tracksClass:plotting 8. [bedfile1]
DEBUG:pygenometracks.tracks.GenomeTrack:ylim 790.0,0
INFO:pygenometracks.tracksClass:plotting 9. [spacer]
INFO:pygenometracks.tracksClass:plotting 10. [bedfile2]
DEBUG:pygenometracks.tracks.GenomeTrack:ylim 100,0

bedfile1 example:
chrZ 2341 4681 gene1 . + 2365 4638 . 1 2340 0

relevant tracks_new.ini section:
[bedfile1]
file=bedfile1.bed

title of track (plotted on the right side)

height of track in cm (ignored if the track is overlay on top the previous track)

height = 3

if the track wants to be plotted upside-down:

orientation = inverted

if the track wants to be plotted on top of the previous track. Options are 'yes' or 'share-y'. For the 'share-y'

option the y axis values is shared between this plot and the overlay plot. Otherwise, each plot use its own scale

#overlay previous = yes

if the type=genes is given

the the file is interpreted as gene

file. If the bed file contains the exon

structure (bed 12) then this is plotted. Otherwise

a region with direction is plotted.

if the bed file contains a column for color (column 9), then this color can be used by

setting:

color = bed_rgb

color = darkblue
#if color is a valid colormap name (like RbBlGn), then the score is mapped

to the colormap. If the color is simply a color name, then this color is used and the score is not considered.

For the colormap option, the the min_value and max_value for the score can be provided, otherwise

the maximum score and minimum score found are used.

#color = RdYlBu
#min_value=0
#max_value=100

height of track in cm

height = 3

to turn off/on printing of labels

labels = off

optional: font size can be given to override the default size

fontsize = 5

optional: line width

#line width = 2.5

the display parameter defines how the bed file is plotted.

The options are ['colapsed', 'interleaved', 'triangles'] This options asume that the regions do not overlap.

collapsed: The bed regions are plotted one after the other in one line.

interleaved: The bed regions are plotted in two lines, first up, then down, then up etc.

if display is not given, then each region is plotted using the gene style

#optional, default is black. To remove the background color, simply set 'color' and 'background color' to the

same value

#border color = black

style to plot the genes when they have exon information

display = interleaved
style = UCSC
#style = flybase

maximum number of gene rows to be plotted. This

field is useful to limit large number of close genes

to be printed over many rows. When several images want

to be combined this must be set to get equal size, otherwise, on each image the height of each gene changes

#gene rows = 1

if the track wants to be plotted on top of the previous track. Options are 'yes' or 'share-y'. For the 'share-y'

option the y axis values is shared between this plot and the overlay plot. Otherwise, each plot use its own scale

#overlay previous = yes

by default the ymax is the number of

rows occupied by the genes in the region plotted. However,

by setting this option, the global maximum is used instead.

This is useful to combine images that are all consistent and

have the same number of rows.

#global max row = yes

optional. If not given is guessed from the file ending.

file_type = bed

Does pyGenomeTracks 2.1 allow visualization of single-exon UCSC-style bed files? With output above and example bed file, the thickstart is functional, but the program appears to ignore the thickend column. I can otherwise plot multi-exon bed files.

Jupyter notebook

Hi there,

Is there an example of how this could be used in a notebook? Or is this package not meant to be used that way?

Thanks!

pip install issue

I would like to install pyGenomeTracks using pip, since there isn't yet a conda package available for MacOS Mojave running Anaconda with python 3.7. However, I get the following error after doing pip install:

/var/folders/37/kbrfsr294cl4wq86whp5vn4h0000gn/T/H5closew0bllnx0.c:2:5: warning: implicit declaration of function 'H5close' is invalid in C99 [-Wimplicit-function-declaration]
    H5close();
    ^
2 warnings generated.
ld: library not found for -lhdf5
clang: error: linker command failed with exit code 1 (use -v to see invocation)
* Using Python 3.7.0 (default, Jun 28 2018, 07:39:16)
* USE_PKGCONFIG: False
.. ERROR:: Could not find a local HDF5 installation.
   You may need to explicitly state where your local HDF5 headers and
   library can be found by setting the ``HDF5_DIR`` environment
   variable or by using the ``--hdf5`` command-line option.

KeyError: 'I'

I have two bed files, one generated from a bam and the other one generated from a gff.
They have a structure like this:

head gff.bed
chrI 	 0 	 62 	 TEL01L_telomeric_repeat 	60	 -
chrI 	 0 	 801 	 TEL01L 	60	 -
chrI 	 0 	 230218 	 chrI 	60	 .
chrI 	 62 	 336 	 TEL01L_X_element_combinatorial_repeat 	60	 -

head bam.bed
chrI	0	1574	9e439cde-c337-4cd6-adf2-beda246c108c	60	+
chrI	0	1513	31ae2db4-29b1-46fb-8d7f-94529b54af00	60	-
chrI	11179	26816	3e486d74-3165-4c5c-840c-ed4611925077	60	+
chrI	12468	22428	b29fae08-e8de-4401-80be-6838516bc907	60	+

I would like to display the region 10,090-13,000 of chrI, but I am getting the following error when I try the command pyGenomeTracks --tracks tracks.ini --region chrI:10,090-13,000 --outFileName nice_image.pdf

INFO:pygenometracks.tracksClass:time initializing track(s):
INFO:pygenometracks.tracksClass:4.751986980438232
DEBUG:pygenometracks.tracksClass:Figure size in cm is 40 x 12.0. Dpi is set to 72

INFO:pygenometracks.tracksClass:plotting 1. [x-axis]
/home/user/viehboeck/.conda/envs/pygenometracks/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:424: MatplotlibDeprecationWarning: 
Passing one of 'on', 'true', 'off', 'false' as a boolean is deprecated; use an actual boolean (True/False) instead.
  warn_deprecated("2.2", "Passing one of 'on', 'true', 'off', 'false' as a "
INFO:pygenometracks.tracksClass:plotting 2. [spacer]
INFO:pygenometracks.tracksClass:plotting 3. [gff_cut_real]
Traceback (most recent call last):
  File "/home/user/viehboeck/.conda/envs/pygenometracks/bin/pyGenomeTracks", line 11, in <module>
    main(args)
  File "/home/user/viehboeck/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/plotTracks.py", line 304, in main
    trp.plot(args.outFileName, *region, title=args.title)
  File "/home/user/viehboeck/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/tracksClass.py", line 246, in plot
    track.plot(plot_axis, chrom, start, end)
  File "/home/user/viehboeck/.conda/envs/pygenometracks/lib/python3.6/site-packages/pygenometracks/tracks/BedTrack.py", line 247, in plot
    genes_overlap = sorted(self.interval_tree[chrom_region][start_region:end_region])
KeyError: 'I'

Intervaltree API update breaking Epilogos track

Hello,

So currently when i'm trying to visualize w/ the following epilogos_test.ini track file:

[Segway Chromatin State]
file = epilog.qcat.bgz

using the following command:
pyGenomeTracks --tracks epilogos_test.ini --region chr19:39107638-39140062 --outFileName test_epilogos.png
I get this error:
AttributeError: 'EpilogosTrack' object has no attribute 'interval_tree'

I think this has to do w/ intervaltree getting updated to version 3.0.0 and it breaking the API. What's weird though is that i tried pinning version 2.1.0 of intervaltree and it still not working.
Regardless, I think its something that might need a proper fix / may break other things.

[Galaxy wrappers] Values of legend

We have the issue that for very small chromsomes e.g. less than 1kb in total the legend shows only 0 instead of the correct values.
Could be an issue with the relableTicks function.

difference between bigwig tracks

Hi,

Would be really cool if it was possible to subtract one track from another and show difference between them. Or log ratio. I suppose, ideally any mathematical operations :) Thanks!

Ilya

pyGenomeTracks should be able to visualized BED6+4 format?

Hello pyGenomeTracks developers.

I'd like to visualize the results of an ATAC-Seq run, which is a narrowPeaks file from MACS2. Here's the reference about the narrowPeaks BED6+4 format.

The first 6 are the expected fields, the next 4 are:

  • signalValue - Measurement of overall (usually, average) enrichment for the region.
  • pValue - Measurement of statistical significance (-log10). Use -1 if no pValue is assigned.
  • qValue - Measurement of statistical significance using false discovery rate (-log10). Use -1 if no qValue is assigned.
  • peak - Point-source called for this peak; 0-based offset from chromStart. Use -1 if no point-source called.

These can potentially be ignored, as a first pass, and the file can be visualized as a BED6. Unfortunately, current behavior is:

AssertionError: File type detected is bed6 but line 2: chr1	10003	10466	HC1_peak_1	2075	.	18.13246	212.86768	207.53099	73
 does not have 6 fields.

Note: @dpryan79 If you think there's a better tool for visualizing tracks resulting from ChIP/ATAC/DNase (callable from a python program, ideally not on the web) then I'm happy to ignore this issue and use that other tool. But This might be a quick fix...?

elif self.file_type == 'bed6':
assert len(line_data) == 6, "File type detected is bed6 but line {}: {} does " \
"not have 6 fields.".format(self.line_number, bed_line)

[Feature Request]: call pyGenomeTracks from python without a .ini file (or document this ability)

Hello @fidelram and others,

As always, many thanks for building this package and making it open source.

I'd love to call pyGenomeTracks from a python script without a .ini file. The signature might look something like this:

files = ["filename1.bigwig", "filename2.bigwig"]
pyGenomeTracks(files=files, region="chr9:120578911-120581531", outfile="outfile.jpg")

or maybe

track1 = pyGenomeTracks.Track("filename1.bigwig", options={...})
track2 = pyGenomeTracks.Track("filename2.bigwig", options={...})
tracks = [track1, track2]
pyGenomeTracks.plot(tracks=tracks, region="chr9:120578911-120581531", outfile="outfile.jpg")

What do you think? (If this is already possible, I might just be asking for documentation)

Cannot be installed in Windows 10

Windows 10 Pro, 64 bit, version 1803

Python 3.6.7 :: Anaconda, Inc.

====================================

(base) C:\Users\zhnan>conda install -n zsfpy36 pygenometracks
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  • pygenometracks

Current channels:

To search for alternate channels that may provide the conda package you're
looking for, navigate to

https://anaconda.org

and use the search bar at the top of the page.

====================================

(zsfpy36) C:\Users\zhnan>pip install pyGenomeTracks
Collecting pyGenomeTracks
Downloading https://files.pythonhosted.org/packages/46/cd/367dd0b75fc53cd9cf6c848299125937a5c84f31cea4ed568fe142c54ddd/pyGenomeTracks-2.1.tar.gz (47kB)
100% |████████████████████████████████| 51kB 142kB/s
Requirement already satisfied: numpy>=1.12.1 in c:\users\zhnan\miniconda3\envs\zsfpy36\lib\site-packages (from pyGenomeTracks) (1.15.4)
Requirement already satisfied: matplotlib>=2.0.0 in c:\users\zhnan\miniconda3\envs\zsfpy36\lib\site-packages (from pyGenomeTracks) (3.0.2)
Collecting intervaltree>=2.1.0 (from pyGenomeTracks)
Downloading https://files.pythonhosted.org/packages/e8/f9/76237755b2020cd74549e98667210b2dd54d3fb17c6f4a62631e61d31225/intervaltree-3.0.2.tar.gz
Collecting pyBigWig>=0.3.7 (from pyGenomeTracks)
Downloading https://files.pythonhosted.org/packages/d5/0d/8e2a1edb9524790c6a4d0b70bc800a8e4afee1bc7bdd048c54b8d9cf1c32/pyBigWig-0.3.12.tar.gz (66kB)
100% |████████████████████████████████| 71kB 147kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\zhnan\AppData\Local\Temp\pip-install-rc8bv0br\pyBigWig\setup.py", line 24, in
for e in sysconfig.get_config_vars('BLDLIBRARY')[0].split():
AttributeError: 'NoneType' object has no attribute 'split'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in C:\Users\zhnan\AppData\Local\Temp\pip-install-rc8bv0br\pyBigWig\

what's wrong with my dekker Hi-C matrix

Hi,
Using the testing data Li_et_al.h5 in the repo worked fine.
However, for an in-house generated Hi-C matrix, I got some errors.

The format is dekker, and I converted it to h5 using hicExport.
I think my matrix format may not compatible with hicExport?

hicExport --inFile HiCMDA-WM115-R1__hg19__chr1__C-40000-iced.matrix.gz --outFileName WM115-R1_chr1 --inputFormat dekker --outputFormat h5

pyGenomeTracks  --tracks hic_chr1.ini -o hic_track.pdf --region chr1:106,731,614-117,436,036
INFO:pygenometracks.tracksClass:time initializing track(s):
INFO:pygenometracks.tracksClass:2.0906879901885986
DEBUG:pygenometracks.tracksClass:Figure size in cm is 40 x 2.1874365565931537. Dpi is set to 72

INFO:pygenometracks.tracksClass:plotting 1. [x-axis]
INFO:pygenometracks.tracksClass:plotting 2. [spacer]
INFO:pygenometracks.tracksClass:plotting 3. [WM115-R1_chr1]
INFO:pygenometracks.tracks.GenomeTrack:setting min, max values for track 3. [WM115-R1_chr1] to: 0.01, 3.0

/Users/mtang1/anaconda/envs/pgt/lib/python3.6/site-packages/matplotlib/colors.py:1012: RuntimeWarning: invalid value encountered in less_equal
  mask |= resdat <= 0

hic.ini


[x-axis]
#optional
#fontsize=20
# default is bottom meaning below the axis line
# where=top

[spacer]
# height of space in cm (optional)
height = 0.5

[WM115-R1]
file=WM115-R1_chr1.h5

title = WM115-R1_chr1
# The different options for color maps can be found here: https://matplotlib.org/users/colormaps.html
# the default color map is RdYlBu_r (_r) stands for reverse
colormap = RdYlBu_r
# depth is the maximum distance that should be plotted.
depth = 100000
# height of track (in cm) can be given. Otherwise, the height is computed such that the proportions of the
# hic matrix are kept (e.g. the image does not appear shrink or extended)
# height = 10
# min_value and max_value refer to the contacts in the matrix.
min_value = 0.1
max_value = 5

# the matrix can be transformed using the log1 (or log, but zeros could be problematic)
transform = log1p
# show masked bins plots as white lines
# those bins that were not used during the correction
# the default is to extend neighboring bins to
# obtain an aesthetically pleasant output
show_masked_bins = no
# if the track wants to be plotted upside-down:
# orientation = inverted
# optional if the values in the matrix need to be scaled the
# following parameter can be used. This is useful to plot multiple hic-matrices on the same scale
# scale factor = 1
file_type = hic_matrix

Some errors with the values. I noticed that in my matrix, there are nan. Is this a problem?
attached is the 40kb resolution contact matrix for chr1:
HiCMDA-WM115-R1__hg19__chr1__C-40000-iced.matrix.gz

How to best set the min_value and max_value? what transformation should be used? some values are 0, log transform will cause problems?

Thanks,
Tommy

Problem with colorbar

Some weird lines appear to the left of the plot; they seem to be from a colorbar. Is there something wrong with any of my commands / config files? I would like to either remove the lines, or if they are from a colorbar, to get it to display correctly. I have attached the ini file as well (renamed to a txt so it attaches). Thanks!

image

chr10-1058405-1058516.ini.txt

Software versions:
pyGenomeTracks 3.0
Python 3.6.7

Output:

title not set for 'section 6. [10-1034895-0]'

title not set for 'section 8. [bigwig]'

title not set for 'section 10. [bigwig]'

title not set for 'section 12. [bigwig]'
INFO:pygenometracks.tracksClass:time initializing track(s):
INFO:pygenometracks.tracksClass:5.124847412109375
DEBUG:pygenometracks.tracksClass:Figure size in cm is 40 x 6.0. Dpi is set to 220

INFO:pygenometracks.tracksClass:plotting 1. [x-axis]
/project2/yangili1/tonyzeng/software/miniconda3/envs/test/lib/python3.6/site-packages/matplotlib/cbook/__init__.py:424: MatplotlibDeprecationWarning:
Passing one of 'on', 'true', 'off', 'false' as a boolean is deprecated; use an actual boolean (True/False) instead.
  warn_deprecated("2.2", "Passing one of 'on', 'true', 'off', 'false' as a "
INFO:pygenometracks.tracksClass:plotting 2. [spacer]
INFO:pygenometracks.tracksClass:plotting 3. [refseq.sorted]
DEBUG:pygenometracks.tracks.GenomeTrack:ylim 229.99999999999997,0
INFO:pygenometracks.tracksClass:plotting 5. [spacer]
INFO:pygenometracks.tracksClass:plotting 6. [10-1034895-0]
DEBUG:pygenometracks.tracks.GenomeTrack:ylim 100,0
INFO:pygenometracks.tracksClass:plotting 8. [bigwig]
DEBUG:pygenometracks.tracks.GenomeTrack:ylim 100,0
INFO:pygenometracks.tracksClass:plotting 10. [bigwig]
DEBUG:pygenometracks.tracks.GenomeTrack:ylim 100,0
INFO:pygenometracks.tracksClass:plotting 12. [bigwig]

Command:
pyGenomeTracks --tracks chr10-1058405-1058516.ini --region chr10:1052818-1063742 --outFileName chr10-1058405-1058516.png --dpi 220

errors when using --BED for <200kb regions

using --BED argument,
line: 297-299 in file pyGenomeTracks/pygenometracks/plotTracks.py

if end - start < 200000:
    start -= 100000
    end += 100000

If the region is shorter than 200kb and starts before 100kb on chromosome, or the chromosome is shorter than 100kb. the program will fail.

the output:

$ head demo.bed
chr1    1    7480

$ pyGenomeTracks --tracks track.demo.ini --BED demo.bed -o aaaaaa
INFO:pygenometracks.tracksClass:time initializing track(s):
INFO:pygenometracks.tracksClass:0.004621744155883789
saving _chr1-1-7480.aaaaaa
chr1 -99999 107480
DEBUG:pygenometracks.tracksClass:Figure size in cm is 40 x 14.0. Dpi is set to 72

INFO:pygenometracks.tracksClass:plotting 1. [x-axis]
/home/wangming/anaconda3/lib/python3.6/site-packages/matplotlib/cbook/deprecation.py:107: MatplotlibDeprecationWarning:
Passing one of 'on', 'true', 'off', 'false' as a boolean is deprecated; use an actual boolean (True/False) instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
INFO:pygenometracks.tracksClass:plotting 2. [spacer]
INFO:pygenometracks.tracksClass:plotting 3. [a.fwd]
WARNING:pygenometracks.tracks.GenomeTrack:error found while reading bigwig scores (Invalid interval bounds!).
Trying again. Iter num: 1
WARNING:pygenometracks.tracks.GenomeTrack:error found while reading bigwig scores (Invalid interval bounds!).
Trying again. Iter num: 2
WARNING:pygenometracks.tracks.GenomeTrack:error found while reading bigwig scores (Invalid interval bounds!).
Trying again. Iter num: 3
WARNING:pygenometracks.tracks.GenomeTrack:error found while reading bigwig scores (Invalid interval bounds!).
Trying again. Iter num: 4
WARNING:pygenometracks.tracks.GenomeTrack:error found while reading bigwig scores (Invalid interval bounds!).
Trying again. Iter num: 5
Traceback (most recent call last):
  File "/home/wangming/anaconda3/bin/pyGenomeTracks", line 11, in <module>
    main(args)
  File "/home/wangming/.local/lib/python3.6/site-packages/pygenometracks/plotTracks.py", line 302, in main
    trp.plot(file_name, chrom, start, end, title=args.title)
  File "/home/wangming/.local/lib/python3.6/site-packages/pygenometracks/tracksClass.py", line 246, in plot
    track.plot(plot_axis, chrom, start, end)
  File "/home/wangming/.local/lib/python3.6/site-packages/pygenometracks/tracks/BigWigTrack.py", line 142, in plot
    facecolor=self.properties['color'], where=scores_per_bin >= 0, interpolate=True)
TypeError: '>=' not supported between instances of 'NoneType' and 'int'

Min and Max summary methods for bigwig tracks

Would it be possible to add Min and Max summary methods to the display of bigwig tracks, similar to the way that the WashU Epigenome browser works (currently, I assume you're using 'average' as the summary method).

Many thanks

gene label not shown when gene number to large

I have two gene file, one file contains 59 genes, anther contains 89 genes. When I draw tracks, the first genes set can show gene label, the other can't. And, I have set the "labels = on" in both track.
It seems caused by the gene number.
I also try to plot with a single gene file contain more than 100 genes, the label can't shown either.
image

Y axis is missing ?

I'm not sure if I'm doing something terribly wrong or if this is a bug. But when I'm plotting the bigwig files the Y axis is simply missing. Bellow is my configuration file:

[smF]
file = smRNA.reverse.bw
height = 8
title = bigwig
min_value = 0
max_value = 160
show data range = yes
color = #0000FF80

[spacer]

[smR]
file = smRNA.forward.bw
height = 8
title = bigwig
min_value = 0
max_value = 150
show data range = yes
orientation = inverted
color = #FF000080

[spacer]

[t_f]
file = B1.forward.bw
height = 8
title = bigwig
min_value = 0
max_value = 10
show data range = yes
color = #0000FF80

[spacer]

[t_r]
file = B1.reverse.bw
height = 8
title = bigwig
min_value = 0
max_value = 10
orientation = inverted
show data range = yes
color = #FF000080

[x-axis]

I'm using the bioconda route to use the package in an isolated environment. Output: bigwig.pdf

ValueError: Format when using --BED

Hi, when using the --BED option to supply multiple regions to plot, I get an error about not specifying a filetype for output, because the --outFileName is prepended to the coordinates, e.g. ValueError: Format "pdf_chr1:8938478-9238478" is not supported.

Is there a hidden option to specify output file type?

thanks

No entries in a chromosome causes an error

I have a bed file which has intervals only on certain chromosomes, and if I include it when creating figures for regions on other chromosomes, I get an error:

/usr/local/lib/python3.5/dist-packages/pygenometracks/tracks/BedTrack.py in plot(self, ax, chrom_region, start_region, end_region)
    245         chrom_region = self.check_chrom_str_bytes(self.interval_tree, chrom_region)
    246 
--> 247         genes_overlap = sorted(self.interval_tree[chrom_region][start_region:end_region])
    248 
    249         # turn labels off when too many intervals are visible.

KeyError: '11'

/usr/local/lib/python3.5/dist-packages/matplotlib/colors.py:1028: RuntimeWarning: invalid value encountered in less_equal
  mask |= resdat <= 0

I think a simple fix would be to use self.interval_tree.get(chrom_region, [])[start_region:end_region] instead of self.interval_tree[chrom_region][start_region:end_region] on line 247 - assuming expected output is just an empty list.

ModuleNotFoundError: No module named 'hicmatrix'

Hi,

After installing pyGenomeTracks, I used make_tracks_file -o tracks.ini to generate the configure file, but error was reported as " File "/home/wxk/anaconda3/lib/python3.6/site-packages/pygenometracks/tracks/HiCMatrixTrack.py", line 1, in
from hicmatrix import HiCMatrix
ModuleNotFoundError: No module named 'hicmatrix'"

I generate a .ini file manually, and run pyGenomeTracks --tracks tracks.ini --region X:21690985-21939387 --outFileName nice_image.pdf to try to generate picture, but the same error was reported.

What should I do to solve this problem? Thanks.

kai

Next release

Hi Fidel,

I updating the hicPlotTads Galaxy wrapper to be pyGenomeTracks wrapper and I have seen that since the last 2.0 release you added 50+ commits to master. I would like to include the latest changes to a new pyGenomeTracks wrapper. Do you plan to release a new version soon?

Best,

Joachim

Vertical plots

Hi, I think it is currently impossible to plot tracks vertically, i.e. with swapped x and y axes? I think this would be a very useful option for Hi-C maps away from the diagonal, when the heatmap is not symmetrical, or for comparing two triangular Hi-C maps in the same square.

Like this, from HiGlass
image

bigwig plot wrong

HI, I use pyGenomeTracks to draw igv plot for bigwig files, but I met a problem for the output plot, some of them seems wrong , it has many blank and fake signals, attached is two examples. I have checked the bigwig file in igv, the bigwig file are correct, why? Thanks.
test1.pdf
test2.pdf

color_only_init error

When using pygenometracks to plot Hi-C data (at least from cooler files) I get an error:

INFO:root:Generating grammar tables from /usr/lib/python3.5/lib2to3/Grammar.txt
INFO:root:Generating grammar tables from /usr/lib/python3.5/lib2to3/PatternGrammar.txt

title not set for 'section 3. [Genes]'
Traceback (most recent call last):
  File "/usr/local/bin/pyGenomeTracks", line 11, in <module>
    main(args)
  File "/usr/local/lib/python3.5/dist-packages/pygenometracks/plotTracks.py", line 279, in main
    track_label_width=args.trackLabelFraction)
  File "/usr/local/lib/python3.5/dist-packages/pygenometracks/tracksClass.py", line 102, in __init__
    self.track_obj_list.append(track_class(properties))
  File "/usr/local/lib/python3.5/dist-packages/pygenometracks/tracks/HiCMatrixTrack.py", line 50, in __init__
    self.hic_ma = HiCMatrix.hiCMatrix(self.properties['file'], color_only_init=True)
TypeError: __init__() got an unexpected keyword argument 'color_only_init'

[install] hicexplorer breaks python2 install

Was trying to pip2 in a docker. hicexplorer broke the call

Collecting hic2cool>=0.4 (from hicexplorer>=2.1.1->pyGenomeTracks->-r requirements.txt (line 37))
  Downloading https://files.pythonhosted.org/packages/8d/6d/a75f15ea12c70bc12ee168a16d2ad347baa326465
3365902ebe6018661a1/hic2cool-0.5.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-d3w6Uh/hic2cool/setup.py", line 52, in <module>

pyGenomeTracks & Epilogo's for a >8kb region

Hi,

I'm having issues when trying to plot more than 8kb regions.

This is my input.qcat

chr10	12829801	12830001	id:1174730,qcat:[ [-0.2403,25], [-0.004582,17], [0,13], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,16], [0,14], [0,1], [0,12], [0,11], [0,10], [0,9], [0,6], [0,5], [0,4], [0,3], [0,2], [0.004148,15], [0.009821,18], [0.2731,8], [0.5698,7] ]
chr10	12830001	12830201	id:1174731,qcat:[ [-0.2858,25], [0,13], [0,24], [0,23], [0,22], [0,21], [0,20], [0,18], [0,16], [0,15], [0,1], [0,12], [0,10], [0,9], [0,6], [0,5], [0,4], [0,3], [0,2], [0.006585,17], [0.00834,14], [0.04288,11], [0.1326,19], [0.2277,8], [0.5698,7] ]
chr10	12830201	12830401	id:1174732,qcat:[ [-0.2638,25], [0,13], [0,24], [0,23], [0,22], [0,21], [0,20], [0,16], [0,1], [0,12], [0,10], [0,9], [0,6], [0,5], [0,4], [0,3], [0,2], [0.004148,15], [0.006585,17], [0.00834,14], [0.009821,18], [0.01357,11], [0.0322,7], [0.04267,19], [0.7562,8] ]
chr10	12830401	12830601	id:1174733,qcat:[ [-0.198,25], [0,13], [0,24], [0,23], [0,22], [0,21], [0,20], [0,16], [0,1], [0,12], [0,10], [0,9], [0,6], [0,5], [0,4], [0,3], [0,2], [0.001742,19], [0.00834,14], [0.009821,18], [0.01357,11], [0.0237,17], [0.0322,7], [0.1122,15], [0.4468,8] ]
chr10	12830601	12830801	id:1174734,qcat:[ [-0.1028,25], [0,13], [0,24], [0,23], [0,22], [0,21], [0,20], [0,18], [0,16], [0,1], [0,12], [0,10], [0,9], [0,6], [0,5], [0,4], [0,3], [0,2], [0.001742,19], [0.00834,14], [0.01357,11], [0.0171,7], [0.04988,15], [0.06851,17], [0.2502,8] ]
chr10	12830801	12831001	id:1174735,qcat:[ [-0.0503,25], [0,13], [0,24], [0,23], [0,22], [0,21], [0,20], [0,18], [0,16], [0,15], [0,1], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,2], [0.00834,14], [0.06996,19], [0.09463,17], [0.2731,8] ]
chr10	12831001	12831201	id:1174736,qcat:[ [-0.03942,25], [0,13], [0,24], [0,23], [0,22], [0,21], [0,20], [0,18], [0,16], [0,15], [0,1], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,2], [0.00834,14], [0.09463,17], [0.1001,19], [0.2277,8] ]
chr10	12831201	12831401	id:1174737,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.009821,18], [0.02835,25], [0.09463,17], [0.2058,8] ]
chr10	12831401	12831601	id:1174738,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.009821,18], [0.04005,25], [0.06851,17], [0.2058,8] ]
chr10	12831601	12831801	id:1174739,qcat:[ [-0.004582,17], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.009821,18], [0.125,25], [0.1435,8] ]
chr10	12831801	12832001	id:1174740,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.009821,18], [0.1376,25], [0.1435,8] ]
chr10	12832200	12832400	id:1174741,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.07013,8], [0.202,25] ]
chr10	12832400	12832600	id:1174742,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.07013,8], [0.202,25] ]
chr10	12832600	12832800	id:1174743,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.07013,8], [0.202,25] ]
chr10	12832800	12833000	id:1174744,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.05383,8], [0.2152,25] ]
chr10	12833000	12833200	id:1174745,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.03847,8], [0.2285,25] ]
chr10	12833200	12833400	id:1174746,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.006585,17], [0.01096,8], [0.2285,25] ]
chr10	12833400	12833600	id:1174747,qcat:[ [-0.004582,17], [0,2], [0,23], [0,21], [0,20], [0,18], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.001742,19], [0.01096,8], [0.0367,16], [0.0432,22], [0.07697,24], [0.1002,25] ]
chr10	12833600	12833800	id:1174748,qcat:[ [-0.004582,17], [0,2], [0,23], [0,21], [0,20], [0,18], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.001742,19], [0.01096,8], [0.0367,16], [0.0432,22], [0.07697,24], [0.1002,25] ]
chr10	12833800	12834000	id:1174749,qcat:[ [0,2], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.006585,17], [0.01096,8], [0.07697,24], [0.1503,25] ]
chr10	12834000	12834200	id:1174750,qcat:[ [-0.004582,17], [0,2], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.01096,8], [0.07697,24], [0.1631,25] ]
chr10	12834200	12834400	id:1174751,qcat:[ [0,2], [0,23], [0,22], [0,21], [0,20], [0,18], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.01096,8], [0.0367,16], [0.04267,19], [0.05186,25], [0.06851,17], [0.07697,24] ]
chr10	12834400	12834600	id:1174752,qcat:[ [0,2], [0,23], [0,22], [0,21], [0,20], [0,18], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.01048,16], [0.01096,8], [0.0237,17], [0.04267,19], [0.05379,24], [0.1002,25] ]
chr10	12834600	12834800	id:1174753,qcat:[ [0,2], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.006585,17], [0.01096,8], [0.05379,24], [0.1631,25] ]
chr10	12834800	12835000	id:1174754,qcat:[ [0,2], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.01096,8], [0.0237,17], [0.05379,24], [0.1503,25] ]
chr10	12835000	12835200	id:1174755,qcat:[ [-0.007525,24], [-0.004582,17], [0,2], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.02414,8], [0.2152,25] ]
chr10	12835200	12835400	id:1174756,qcat:[ [-0.007525,24], [-0.004582,17], [0,2], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.02414,8], [0.2152,25] ]
chr10	12835400	12835600	id:1174757,qcat:[ [-0.007525,24], [0,2], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.02414,8], [0.02835,25], [0.03243,14], [0.3556,17] ]
chr10	12835600	12835800	id:1174758,qcat:[ [-0.2238,25], [-0.01146,8], [-0.007525,24], [0,2], [0,23], [0,21], [0,20], [0,19], [0,18], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.02404,15], [0.0377,13], [0.1601,22], [0.1722,14], [0.4149,16], [0.5085,17] ]
chr10	12835800	12836000	id:1174759,qcat:[ [-0.353,25], [-0.03174,8], [0,2], [0,24], [0,21], [0,20], [0,18], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.004148,15], [0.0112,23], [0.0377,13], [0.1722,14], [0.2158,17], [0.2988,22], [0.6715,16], [0.9577,19] ]
chr10	12836000	12836200	id:1174760,qcat:[ [-0.123,25], [-0.03174,8], [0,2], [0,24], [0,23], [0,21], [0,20], [0,18], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.001742,19], [0.01098,13], [0.02404,15], [0.2131,14], [0.2158,17], [0.2988,22], [0.3663,16] ]
chr10	12836200	12836400	id:1174761,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.004148,15], [0.0367,16], [0.06246,14], [0.1376,25], [0.2158,17] ]
chr10	12836400	12836600	id:1174762,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12836600	12836800	id:1174763,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12836800	12837000	id:1174764,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12837000	12837200	id:1174765,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12837200	12837400	id:1174766,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12837400	12837600	id:1174767,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12837600	12837800	id:1174768,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12837800	12838000	id:1174769,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.006585,17], [0.3241,25] ]
chr10	12838000	12838200	id:1174770,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12838200	12838400	id:1174771,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12838400	12838600	id:1174772,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12838600	12838800	id:1174773,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12838800	12839000	id:1174774,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.3523,25] ]
chr10	12839000	12839200	id:1174775,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.0237,17], [0.3102,25] ]
chr10	12839200	12839400	id:1174776,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.004148,15], [0.06851,17], [0.2689,25] ]
chr10	12839400	12839600	id:1174777,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.02404,15], [0.1523,17], [0.2152,25] ]
chr10	12839600	12839800	id:1174778,qcat:[ [-0.03174,8], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,16], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.04988,15], [0.1227,17], [0.2152,25] ]
chr10	12839800	12840000	id:1174779,qcat:[ [-0.2403,25], [0,13], [0,24], [0,23], [0,22], [0,21], [0,20], [0,18], [0,1], [0,12], [0,11], [0,10], [0,9], [0,8], [0,7], [0,6], [0,5], [0,4], [0,3], [0,2], [0.001742,19], [0.0367,16], [0.09635,14], [0.4778,15], [1.16,17] ]
chr10	12840000	12840200	id:1174780,qcat:[ [-0.3627,25], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,18], [0,12], [0,11], [0,10], [0,9], [0,8], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.06246,14], [0.07037,13], [0.1049,16], [0.2403,19], [0.6177,15], [1.348,17] ]
chr10	12840200	12840400	id:1174781,qcat:[ [-0.3832,25], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,18], [0,12], [0,11], [0,10], [0,9], [0,8], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.07037,13], [0.09635,14], [0.2728,16], [0.589,17], [0.7629,19], [0.8637,15] ]
chr10	12840400	12840600	id:1174782,qcat:[ [-0.3191,25], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,12], [0,11], [0,10], [0,9], [0,8], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.03243,14], [0.1023,18], [0.1069,13], [0.1438,16], [0.3556,17], [0.4014,19], [0.9146,15] ]
chr10	12840600	12840800	id:1174783,qcat:[ [-0.198,25], [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,12], [0,11], [0,10], [0,9], [0,8], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.001742,19], [0.03243,14], [0.0367,16], [0.1069,13], [0.1405,18], [0.3556,17], [0.8134,15] ]
chr10	12840800	12841000	id:1174784,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.01096,8], [0.07958,15], [0.202,25] ]
chr10	12841000	12841200	id:1174785,qcat:[ [0,2], [0,24], [0,23], [0,22], [0,21], [0,20], [0,19], [0,18], [0,17], [0,16], [0,15], [0,14], [0,13], [0,12], [0,11], [0,10], [0,9], [0,7], [0,6], [0,5], [0,4], [0,3], [0,1], [0.05383,8], [0.2152,25] ]

my categories_file.json

{
"categories":{
"24": [
          "Repressed PolyComb",
          "#808080"
        ],
        "25": [
          "Quiescent/Low",
          "#ffffff"
        ],
        "20": [
          "ZNF genes & repeats",
          "#66cdaa"
        ],
        "21": [
          "Heterochromatin",
          "#8a91d0"
        ],
        "22": [
          "Poised Promoter",
          "#e6b8b7"
        ],
        "23": [
          "Bivalent Promoter",
          "#7030a0"
        ],
        "1": [
          "Active TSS",
          "#ff0000"
        ],
        "3": [
          "Promoter Downstream TSS with DNase",
          "#ff4500"
        ],
        "2": [
          "Promoter Upstream TSS",
          "#ff4500"
        ],
        "5": [
          "Transcription 5",
          "#008000"
        ],
        "4": [
          "Promoter Downstream TSS",
          "#ff4500"
        ],
        "7": [
          "Transcription 3",
          "#008000"
        ],
        "6": [
          "Transcription",
          "#008000"
        ],
        "9": [
          "Transcription Regulatory",
          "#c2e105"
        ],
        "8": [
          "Weak transcription",
          "#009600"
        ],
        "11": [
          "Transcription 3 Enhancer",
          "#c2e105"
        ],
        "10": [
          "Transcription 5 Enhancer",
          "#c2e105"
        ],
        "13": [
          "Active Enhancer 1",
          "#ffc34d"
        ],
        "12": [
          "Transcription Weak Enhancer",
          "#c2e105"
        ],
        "15": [
          "Active Enhancer Flank",
          "#ffc34d"
        ],
        "14": [
          "Active Enhancer 2",
          "#ffc34d"
        ],
        "17": [
          "Weak Enhancer 2",
          "#ffff00"
        ],
        "16": [
          "Weak Enhancer 1",
          "#ffff00"
        ],
        "19": [
          "DNase only",
          "#ffff66"
        ],
        "18": [
          "Enhancer Acetylation Only",
          "#ffff00"
        ]
}

and my tracks.ini

[x-axis]
#optional
#fontsize=20
# default is bottom meaning below the axis line
# where=top

[spacer]
# height of space in cm (optional)
height = 0.5


[input.qcat]
file=/Users/tmp/input.qcat

# title of track (plotted on the right side)
title = INPUT


categories_file=/Users/favilaco/categories_file.json

This command (region > 8kb) doesn't work (I also tried tabix with -m 1000 instead of the default 200, but it doesn't work):
pyGenomeTracks --tracks tracks.ini --region chr10:12836000-12841000 -o OUTPUT.pdf

LOG:

INFO:pygenometracks.tracksClass:time initializing track(s):
INFO:pygenometracks.tracksClass:0.0038521289825439453
DEBUG:pygenometracks.tracksClass:Figure size in cm is 40 x 4.0. Dpi is set to 72

INFO:pygenometracks.tracksClass:plotting 1. [x-axis]
/Users/favilaco/miniconda3/lib/python3.5/site-packages/matplotlib/cbook/__init__.py:424: MatplotlibDeprecationWarning:
Passing one of 'on', 'true', 'off', 'false' as a boolean is deprecated; use an actual boolean (True/False) instead.
  warn_deprecated("2.2", "Passing one of 'on', 'true', 'off', 'false' as a "
INFO:pygenometracks.tracksClass:plotting 2. [spacer]
INFO:pygenometracks.tracksClass:plotting 3. [input.qcat]
Traceback (most recent call last):
  File "/Users/favilaco/miniconda3/bin/pyGenomeTracks", line 11, in <module>
    main(args)
  File "/Users/favilaco/miniconda3/lib/python3.5/site-packages/pygenometracks/plotTracks.py", line 304, in main
    trp.plot(args.outFileName, *region, title=args.title)
  File "/Users/favilaco/miniconda3/lib/python3.5/site-packages/pygenometracks/tracksClass.py", line 246, in plot
    track.plot(plot_axis, chrom, start, end)
  File "/Users/favilaco/miniconda3/lib/python3.5/site-packages/pygenometracks/tracks/EpilogosTrack.py", line 95, in plot
    qcat_json = '{' + qcat_json.replace('id', '"id"').replace('qcat', '"qcat"') + '}'
AttributeError: 'numpy.float64' object has no attribute 'replace'

However, after re-doing the tabix command (with region chr10:12836000-12841000, only 5kb) to get the .qcat file, the following command works (PDF correctly generated):
pyGenomeTracks --tracks tracks.ini --region chr10:12830000-12841000 -o OUTPUT.pdf

LOG

INFO:pygenometracks.tracksClass:time initializing track(s):
INFO:pygenometracks.tracksClass:0.003542184829711914
DEBUG:pygenometracks.tracksClass:Figure size in cm is 40 x 4.0. Dpi is set to 72

INFO:pygenometracks.tracksClass:plotting 1. [x-axis]
/Users/favilaco/miniconda3/lib/python3.5/site-packages/matplotlib/cbook/__init__.py:424: MatplotlibDeprecationWarning:
Passing one of 'on', 'true', 'off', 'false' as a boolean is deprecated; use an actual boolean (True/False) instead.
  warn_deprecated("2.2", "Passing one of 'on', 'true', 'off', 'false' as a "
INFO:pygenometracks.tracksClass:plotting 2. [spacer]
INFO:pygenometracks.tracksClass:plotting 3. [input.qcat]

Could you look into this?

Thank you very much!

Francisco

Wig files?

Hi there. Is there a way to use Wig files with this (ie, by conversion to BigWig or otherwise)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.