Skip to content

Commit ce2ec50

Browse files
authored
Merge pull request #315 from deeptools/develop
Release 3.6
2 parents 1c6b592 + 5f0353b commit ce2ec50

File tree

154 files changed

+1207
-403
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+1207
-403
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ lib64
2424
pip-log.txt
2525

2626
# Unit test / coverage reports
27-
.coverage
27+
.coverage*
2828
.tox
2929
nosetests.xml
3030
htmlcov

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ deploy:
1313
python:
1414
- 3.6
1515
- 3.7
16-
#- 3.8
16+
- 3.8
1717
env:
1818
- TRAVIS_PYTHON_VERSION=3.6
1919
- TRAVIS_PYTHON_VERSION=3.7
20-
#- TRAVIS_PYTHON_VERSION=3.8
20+
- TRAVIS_PYTHON_VERSION=3.8
2121

2222
os:
2323
- linux
@@ -58,7 +58,7 @@ before_install:
5858
- conda update -q conda
5959
- conda info -a
6060
install:
61-
- conda install --yes -c bioconda -c conda-forge python=$TRAVIS_PYTHON_VERSION --file requirements.txt
61+
- conda install --yes -c bioconda -c conda-forge python=$TRAVIS_PYTHON_VERSION --file requirements_travis.txt
6262
- conda install --yes -c conda-forge -c bioconda pytest nose ghostscript pathlib
6363
- python setup.py install
6464
script:

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ are highly customizable. Currently, it is possible to plot:
2020
* links (represented as arcs)
2121
* Hi-C matrices
2222

23+
Here is a scheme which describe how pyGenomeTracks is working (graphical abstract of [Lopez-Delisle et al. 2020](https://doi.org/10.1093/bioinformatics/btaa692)):
24+
25+
![pyGenomeTracks](./docs/content/images/graphicalabstract.png)
26+
2327
pyGenomeTracks can make plots with or without Hi-C data. The following is an example output of
2428
pyGenomeTracks from [Ramírez et al. 2017](https://www.nature.com/articles/s41467-017-02525-w)
2529

@@ -99,6 +103,8 @@ optional arguments:
99103
case, multiple files will be created using a prefix
100104
the value of --outFileName
101105
--width WIDTH figure width in centimeters (default is 40)
106+
--plotWidth PLOTWIDTH
107+
width in centimeters of the plotting (central) part
102108
--height HEIGHT Figure height in centimeters. If not given, the figure
103109
height is computed based on the heights of the tracks.
104110
If given, the track height are proportionally scaled
@@ -129,10 +135,13 @@ optional arguments:
129135

130136
Citation
131137
---------
132-
If you use pyGenomeTracks in your analysis, you can cite the following paper :
138+
If you use pyGenomeTracks in your analysis, you can cite the following papers:
133139

134140
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](https://www.nature.com/articles/s41467-017-02525-w)
135141

142+
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](https://doi.org/10.1093/bioinformatics/btaa692). Epub ahead of print. PMID: 32745185.
143+
144+
136145
Documentation
137146
-------------
138147

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
# For plotTracks in utilities
3030
'numpy',
3131
'tqdm',
32-
'intervaltree']
32+
'intervaltree',
33+
'pybedtools']
3334

3435
for mod_name in MOCK_MODULES:
3536
sys.modules[mod_name] = Mock()

docs/content/all_default_properties_rst.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ show_masked_bins
5656
scale_factor 1
5757
x_center not set
5858
size not set
59+
scalebar_start_position not set
60+
scalebar_end_position not set
5961
============================= ============================= ============================= ============================= ============================= ============================= ============================= ============================= ============================= ============================= ============================= ============================= ============================= =============================
6062

6163

docs/content/citation.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Citation
22
========
33

4-
If you use pyGenomeTracks in your analysis, you can cite the following paper :
4+
If you use pyGenomeTracks in your analysis, you can cite the following papers:
55

66
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 <https://www.nature.com/articles/s41467-017-02525-w>`_.
7+
8+
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 <https://doi.org/10.1093/bioinformatics/btaa692>`_. Epub ahead of print. PMID: 32745185.
977 KB
Loading

docs/content/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Python dependencies:
1818
* pyBigWig >= 0.3.16
1919
* hicmatrix >= 15
2020
* pysam >= 0.14
21-
* matplotlib == 3.1.1
21+
* matplotlib >=3.1.1,<=3.3.2
2222
* gffutils >= 0.9
2323
* pybedtools >= 0.8.1
2424
* tqdm >= 4.20

docs/content/releases.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Releases
44
.. toctree::
55
:maxdepth: 1
66

7+
releases/3.6
78
releases/3.5.1
89
releases/3.5
910
releases/3.4

docs/content/releases/3.6.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
3.6
2+
===
3+
4+
5+
Enhancements:
6+
^^^^^^^^^^^^^
7+
8+
- A new parameter for pyGenomeTracks allow to fix the width of the central part: ``--plotWidth``
9+
10+
- For scale bars, you can now define the position using 2 parameters among ``x_center``, ``size``, ``scalebar_start_position`` and ``scalebar_end_position``.
11+
12+
13+
Python dependency with conda:
14+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15+
16+
- Using conda which is the way we recommand installation it is now possible to use Python 3.8.
17+
18+
Relax version control on matplotlib:
19+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20+
21+
- Any version of matplotlib from 3.1.1 to 3.3.2 is now accepted.
22+
23+
Bugfixes:
24+
^^^^^^^^^
25+
26+
- When the ``--fontSize`` parameter was used it happened that the colorbar labels were not corresponding to the colorbar ticks. This bug has been fixed.
27+
28+
- The colormap ``pink`` was not working because it was both the name of a color and a colormap. This bug has been fixed.
29+
30+
- When setting ``min_value``, ``max_value``, if the track was empty these values were ignored. This bug has been fixed.
31+
32+
- When using ``operation`` in bedgraph with a ``second_file``, BEDTools is now used to intersect the second file. ``use_middle`` is now taken into account on the second file.
33+
34+
- Different handling of string evaluation of color, colormap and operation.

0 commit comments

Comments
 (0)