3.4¶
Improved documentation:¶
fix url of test_data thanks to @sonnynguyen
Better documentation for pyGenomeTracks / makeTracksFile
Documentation of each track
Enhancements:¶
Different bed files format (BED3, BED4, BED5, BED6, BED8, BED9, BED12) is guessed based on the first line and rely not only on number of columns but on the type of each column (string/float etc.). This way, broadPeaks/gappedPeaks and other bed-like formats can be accepted as
file_type = bedwithout preprocessing.gtf has now its own
file_type. Warning:file_type = bedfor gtf will be no longer supported in a future version.You can use a decreasing x-axis (from larger coordinates to smaller coordinates) with the option
--decreasingXAxisinpyGenomeTracks.For bedgraph and bigwig:
logScale: To apply a log transformation to your data you can set
transformtolog1p,log,log2,log10,-log. For others thanlog1p, you can set alog_pseudocount. By default the y axis values will represent the transformed values and the transformation will be written on the left of the y axis but you can decide to keep the original values by settingy_axis_values = original.operation on files: You can plot the result of an operation on one or two files without preprocessing. To use it, put the operation in
operationwith the variablefileor both variablesfileandsecond_file, for exampleoperation = 0.89 * fileoroperation = max(file, second_file)oroperation = file - second_file. In the two later cases, you need to put the path of the second file insecond_file. However, this operation can be time consuming if you do it multiple times and you may prefer to convert your files in advance.
For more examples on these two new features, visit the examples.
Both
type = lineandtype = linesare working in bedgraph_matrix
Bugfix:¶
In version 3.3, if you were using a colormap in bed the
border_colorandcolor_utrwere ignored. Now each one can be set to different color/colormap/bed_rgb.