Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PGT 3.5 #269

Merged
merged 261 commits into from
Jul 17, 2020
Merged

PGT 3.5 #269

merged 261 commits into from
Jul 17, 2020

Conversation

lldelisle
Copy link
Collaborator

@lldelisle lldelisle commented Jul 16, 2020

  • The _version.py needs to be updated for pypi deploy.

@lldelisle
Copy link
Collaborator Author

lldelisle commented Jul 16, 2020

3.5

Enhancements:

  • pyGenomeTracks goes much faster:

    • We now use bedtools to load only a portion of bed, gtf, bedgraph, narrowPeak, bedgraphMatrix, Epilogos, links. This speeds up the process dramatically especially for gtf files.

    • When you use a cool matrix, only the plotted region is loaded, this speeds up the process. If multiple regions on different chromosomes are provided in a BED this option is not used.

    • Unfortunately, it is not possible to speed the process with h5 matrices so you may want to convert them to cool with hicConvertFormat.

  • pyGenomeTracks does not require sorted bed anymore.

  • For coverage tracks (bedgraph and bigwig), there is a new parameter: grid which allows to display horizontal lines.

  • For links, you can choose to use the middle of start1 and end1 and the middle of start2 and end2 thanks to use_middle instead of the extremities coordinates.

  • For Hi-C matrices, mcool files are now supported.

  • For vlines, the line_width can now be set.

Minor enhancements:

  • Bedgraph with NA values in the 4-th column do not raise error anymore.

  • There is a progress bar for links.

  • For Hi-C matrices,

    • there is no error when the plot goes over the chromosome size provided by the matrix.

    • if the depth is smaller than binsize it makes an empty plot instead of raising errors.

  • When the overlay_previous is set in the first track it is ignored and a warning is given instead of giving an error with a not meaningful error message.

  • The color for negative values in coverage tracks (bigwig and bedgraph) is now part of the output of make_tracks_file.

  • Others output of make_tracks_file have been modified for better clarity.

  • Others code related enhancements which are transparent to the users.

  • The format of bed12 is more stringent (the blocks must span the chromStart and chromEnd).

  • Improve the documentation regarding the installation. We highly recommand to use conda.

Bugfixes:

  • For bed tracks when gene_rows or global_max_row was set the last row was very close to the bottom (sometimes even overlaying the next track). Now it is vertically centered and do not go over the track height.

  • Solve some bugs how non conventional bed files are handle.

  • Display more meaningful error messages.

  • Only plot scale bar when in the region of plot.

  • Do not show a warning when file_type is set for x_axis or spacer.

  • Solve some incompatibilities with python 3.8. However, python 3.8 is not officially supported by now as bioconda do not support it yet https://bioconda.github.io/user/versions.html#python.

@lldelisle
Copy link
Collaborator Author

Note: on linux the current version of libopenblas make segmentation faults (on my laptop and on travis at least).
For the bioconda recipe, I propose that we modify it to add:

libopenblas < 0.3.10

To avoid issues and we will relax it in the next release if it is fixed.

@lldelisle
Copy link
Collaborator Author

I would say, let's go...

README.md Outdated Show resolved Hide resolved
docs/content/installation.rst Outdated Show resolved Hide resolved
docs/content/installation.rst Outdated Show resolved Hide resolved
docs/content/releases/3.3.rst Outdated Show resolved Hide resolved
docs/content/releases/3.3.rst Outdated Show resolved Hide resolved
docs/content/releases/3.4.rst Outdated Show resolved Hide resolved
docs/content/releases/3.5.rst Outdated Show resolved Hide resolved
docs/content/releases/3.5.rst Outdated Show resolved Hide resolved
docs/content/releases/3.5.rst Outdated Show resolved Hide resolved
docs/content/tracks/auto/bed_options_text.txt Show resolved Hide resolved
@lldelisle lldelisle merged commit 709aa6e into master Jul 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants