Skip to content

Commit 8ffaee5

Browse files
authored
Merge pull request #1049 from deeptools/develop
Develop- for the 3.5.1 release
2 parents 7811ae7 + 32666a6 commit 8ffaee5

23 files changed

+59
-47
lines changed

.planemo.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ else
2828
fi
2929

3030
planemo lint ${wrappers}
31-
planemo test --no_dependency_resolution --galaxy_branch release_18.05 --install_galaxy ${wrappers} 2>&1 | grep -v -e "^galaxy" | grep -v -e "^requests"
31+
planemo test --no_dependency_resolution --galaxy_branch release_20.09 --install_galaxy ${wrappers} 2>&1 | grep -v -e "^galaxy" | grep -v -e "^requests"
3232
test ${PIPESTATUS[0]} -eq 0

CHANGES.txt

+11
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
3.5.1
2+
* cmp usage is updated to fit the recent mpl updates.
3+
* The requirements.txt is updated.
4+
* "NA" occurences in plotFingerprint.py have been replaced by numpy.NAN (PR #1002)
5+
* computeMatrixOperations.xml is fixed (brought up in #1003)
6+
* plotly error is fixed. (issue #1013)
7+
* relase version is updated in planemo.sh
8+
* fixed galaxy tests
9+
* A bug is taken care of in computeMatrixOperations.py / dataRange
10+
* in plotProfile.py legen location is changed from auto to best (issue #1042)
11+
112
3.5.0
213

314
* Fixed a small issue in computeGCBias (issue #969)

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
[![Build Status](https://dev.azure.com/dpryan79/dpryan79/_apis/build/status/deeptools.deepTools?branchName=master)](https://dev.azure.com/dpryan79/dpryan79/_build/latest?definitionId=1&branchName=master)
33
[![Documentation Status](https://readthedocs.org/projects/deeptools/badge/)](http://deeptools.readthedocs.org/) [![PyPI Version](https://img.shields.io/pypi/v/deeptools.svg?style=plastic)](https://pypi.org/project/deepTools/)
44
[![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg?style=flat)](http://bioconda.github.io/recipes/deeptools/README.html)
5-
[![European Galaxy server](https://img.shields.io/badge/usegalaxy-.eu-brightgreen?logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAASCAYAAABB7B6eAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAACXBIWXMAAAsTAAALEwEAmpwYAAACC2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS40LjAiPgogICA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOlJlc29sdXRpb25Vbml0PjI8L3RpZmY6UmVzb2x1dGlvblVuaXQ+CiAgICAgICAgIDx0aWZmOkNvbXByZXNzaW9uPjE8L3RpZmY6Q29tcHJlc3Npb24+CiAgICAgICAgIDx0aWZmOk9yaWVudGF0aW9uPjE8L3RpZmY6T3JpZW50YXRpb24+CiAgICAgICAgIDx0aWZmOlBob3RvbWV0cmljSW50ZXJwcmV0YXRpb24+MjwvdGlmZjpQaG90b21ldHJpY0ludGVycHJldGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KD0UqkwAAAn9JREFUOBGlVEuLE0EQruqZiftwDz4QYT1IYM8eFkHFw/4HYX+GB3/B4l/YP+CP8OBNTwpCwFMQXAQPKtnsg5nJZpKdni6/6kzHvAYDFtRUT71f3UwAEbkLch9ogQxcBwRKMfAnM1/CBwgrbxkgPAYqlBOy1jfovlaPsEiWPROZmqmZKKzOYCJb/AbdYLso9/9B6GppBRqCrjSYYaquZq20EUKAzVpjo1FzWRDVrNay6C/HDxT92wXrAVCH3ASqq5VqEtv1WZ13Mdwf8LFyyKECNbgHHAObWhScf4Wnj9CbQpPzWYU3UFoX3qkhlG8AY2BTQt5/EA7qaEPQsgGLWied0A8VKrHAsCC1eJ6EFoUd1v6GoPOaRAtDPViUr/wPzkIFV9AaAZGtYB568VyJfijV+ZBzlVZJ3W7XHB2RESGe4opXIGzRTdjcAupOK09RA6kzr1NTrTj7V1ugM4VgPGWEw+e39CxO6JUw5XhhKihmaDacU2GiR0Ohcc4cZ+Kq3AjlEnEeRSazLs6/9b/kh4eTC+hngE3QQD7Yyclxsrf3cpxsPXn+cFdenF9aqlBXMXaDiEyfyfawBz2RqC/O9WF1ysacOpytlUSoqNrtfbS642+4D4CS9V3xb4u8P/ACI4O810efRu6KsC0QnjHJGaq4IOGUjWTo/YDZDB3xSIxcGyNlWcTucb4T3in/3IaueNrZyX0lGOrWndstOr+w21UlVFokILjJLFhPukbVY8OmwNQ3nZgNJNmKDccusSb4UIe+gtkI+9/bSLJDjqn763f5CQ5TLApmICkqwR0QnUPKZFIUnoozWcQuRbC0Km02knj0tPYx63furGs3x/iPnz83zJDVNtdP3QAAAABJRU5ErkJggg==)](https://usegalaxy.eu/root?tool_id=deeptools_multi_bam_summary)
65

76
## User-friendly tools for exploring deep-sequencing data
87

deeptools/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# This file is originally generated from Git information by running 'setup.py
33
# version'. Distribution tarballs contain a pre-generated copy of this file.
44

5-
__version__ = '3.5.0'
5+
__version__ = '3.5.1'

deeptools/bamPEFragmentSize.py

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ def main(args=None):
341341

342342
if args.plotFileFormat == 'plotly':
343343
fig = go.Figure()
344-
fig['data'] = data
344+
fig.add_traces(data)
345345
fig['layout']['yaxis1'].update(title='Frequency')
346346
fig['layout']['xaxis1'].update(title='Fragment Length')
347347
fig['layout'].update(title=args.plotTitle)

deeptools/computeGCBias.py

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ def plotlyGCbias(file_name, frequencies, reads_per_gc, region_size):
571571
x = np.linspace(0, 1, frequencies.shape[0])
572572
trace = go.Scatter(x=x, y=np.log2(frequencies[:, 2]), xaxis='x2', yaxis='y2', showlegend=False, line=dict(color='rgb(107,174,214)'))
573573
data.append(trace)
574-
fig['data'] = data
574+
fig.add_traces(data)
575575
fig['layout']['annotations'] = annos
576576
py.plot(fig, filename=file_name, auto_open=False)
577577

deeptools/computeMatrixOperations.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def parse_arguments():
7373
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
7474
parents=[infoArgs(), relabelArgs()],
7575
help="Change sample and/or group label information",
76-
usage='An example usage is:\n computeMatrixOperations relabel -m input.mat.gz -o output.mat.gz --samples "sample 1" "sample 2"\n\n')
76+
usage='An example usage is:\n computeMatrixOperations relabel -m input.mat.gz -o output.mat.gz --sampleLabels "sample 1" "sample 2"\n\n')
7777

7878
# subset
7979
subparsers.add_parser(
@@ -795,10 +795,9 @@ def main(args=None):
795795
hm = heatmapper.heatmapper()
796796
if not isinstance(args.matrixFile, list):
797797
hm.read_matrix_file(args.matrixFile)
798-
799798
if args.command == 'info':
800799
printInfo(hm)
801-
if args.command == 'dataRange':
800+
elif args.command == 'dataRange':
802801
printDataRange(hm)
803802
elif args.command == 'subset':
804803
sIdx = getSampleBounds(args, hm)

deeptools/correlation.py

100644100755
+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import sys
22
import itertools
3+
import copy
34
import numpy as np
45
import scipy.cluster.hierarchy as sch
56
import scipy.stats
@@ -291,7 +292,7 @@ def plot_correlation(self, plot_filename, plot_title='', vmax=None,
291292
link_color_func=lambda k: 'darkred')
292293
axdendro.set_xticks([])
293294
axdendro.set_yticks([])
294-
cmap = plt.get_cmap(colormap)
295+
cmap = copy.copy(plt.get_cmap(colormap))
295296

296297
# this line simply makes a new cmap, based on the original
297298
# colormap that goes from 0.0 to 0.9
@@ -421,7 +422,7 @@ def plotly_scatter(self, plot_filename, corr_matrix, plot_title='', minXVal=None
421422
data[-1]['colorbar'].update(title="log10(instances per bin)", titleside="right")
422423
data[-1].update(showscale=True)
423424

424-
fig['data'] = data
425+
fig.add_traces(data)
425426
fig['layout'].update(title=plot_title, showlegend=False, annotations=annos)
426427

427428
offline.plot(fig, filename=plot_filename, auto_open=False)
@@ -588,7 +589,7 @@ def plotly_pca(self, plotFile, Wt, pvar, PCs, eigenvalues, cols, plotTitle):
588589
annos.append({'yanchor': 'bottom', 'xref': 'paper', 'xanchor': 'center', 'yref': 'paper', 'text': 'PCA', 'y': 1.0, 'x': 0.25, 'font': {'size': 16}, 'showarrow': False})
589590
annos.append({'yanchor': 'bottom', 'xref': 'paper', 'xanchor': 'center', 'yref': 'paper', 'text': 'Scree plot', 'y': 1.0, 'x': 0.75, 'font': {'size': 16}, 'showarrow': False})
590591

591-
fig['data'] = data
592+
fig.add_traces(data)
592593
fig['layout']['annotations'] = annos
593594
offline.plot(fig, filename=plotFile, auto_open=False)
594595

deeptools/correlation_heatmap.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import scipy.cluster.hierarchy as sch
77
from matplotlib import rcParams
88
import matplotlib.colors as pltcolors
9+
import copy
910

1011
rcParams['pdf.fonttype'] = 42
1112
rcParams['svg.fonttype'] = 'none'
@@ -43,7 +44,7 @@ def plot_correlation(corr_matrix, labels, plotFileName, vmax=None,
4344
link_color_func=lambda k: 'darkred')
4445
axdendro.set_xticks([])
4546
axdendro.set_yticks([])
46-
cmap = plt.get_cmap(colormap)
47+
cmap = copy.copy(plt.get_cmap(colormap))
4748

4849
# this line simply makes a new cmap, based on the original
4950
# colormap that goes from 0.0 to 0.9

deeptools/plotCoverage.py

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def main(args=None):
320320
# Don't clip plots
321321
y_max = max(y_max)
322322
if args.plotFileFormat == "plotly":
323-
fig['data'] = data
323+
fig.add_traces(data)
324324
fig['layout']['yaxis1'].update(range=[0.0, min(1, y_max + (y_max * 0.10))])
325325
fig['layout']['yaxis2'].update(range=[0.0, 1.0])
326326
py.plot(fig, filename=args.plotFile, auto_open=False)

deeptools/plotEnrichment.py

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ def plotEnrichment(args, featureCounts, totalCounts, features):
440440
ax.set_ylim(0.0, 100.0)
441441

442442
if args.plotFileFormat == 'plotly':
443-
fig['data'] = data
443+
fig.add_traces(data)
444444
py.plot(fig, filename=args.plotFile, auto_open=False)
445445
# colors
446446
else:

deeptools/plotFingerprint.py

100644100755
+6-6
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,10 @@ def getCHANCE(args, idx, mat):
202202
"""
203203
# Get the index of the reference sample
204204
if args.JSDsample not in args.bamfiles:
205-
return ["NA", "NA", "NA"]
205+
return [np.NAN, np.NAN, np.NAN]
206206
refIdx = args.bamfiles.index(args.JSDsample)
207207
if refIdx == idx:
208-
return ["NA", "NA", "NA"]
208+
return [np.NAN, np.NAN, np.NAN]
209209

210210
subMatrix = np.copy(mat[:, [idx, refIdx]])
211211
subMatrix[np.isnan(subMatrix)] = 0
@@ -271,10 +271,10 @@ def getJSD(args, idx, mat):
271271

272272
# Get the index of the reference sample
273273
if args.JSDsample not in args.bamfiles:
274-
return "NA"
274+
return np.NAN
275275
refIdx = args.bamfiles.index(args.JSDsample)
276276
if refIdx == idx:
277-
return "NA"
277+
return np.NAN
278278

279279
# These will hold the coverage histograms
280280
chip = np.zeros(MAXLEN, dtype=np.int)
@@ -338,7 +338,7 @@ def signalAndBinDist(x):
338338

339339
if abs(sum(PMFinput) - 1) > 0.01 or abs(sum(PMFchip) - 1) > 0.01:
340340
sys.stderr.write("Warning: At least one PMF integral is significantly different from 1! The JSD will not be returned")
341-
return "NA"
341+
return np.NAN
342342

343343
# Compute the JSD from the PMFs
344344
M = (PMFinput + PMFchip) / 2.0
@@ -430,7 +430,7 @@ def main(args=None):
430430

431431
if args.plotFileFormat == 'plotly':
432432
fig = go.Figure()
433-
fig['data'] = data
433+
fig.add_traces(data)
434434
fig['layout'].update(title=args.plotTitle)
435435
fig['layout']['xaxis1'].update(title="rank")
436436
fig['layout']['yaxis1'].update(title="fraction w.r.t bin with highest coverage")

deeptools/plotHeatmap.py

100644100755
+8-8
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@
99
matplotlib.use('Agg')
1010
matplotlib.rcParams['pdf.fonttype'] = 42
1111
matplotlib.rcParams['svg.fonttype'] = 'none'
12-
from deeptools import cm # noqa: F401
1312
import matplotlib.pyplot as plt
1413
from matplotlib.font_manager import FontProperties
1514
import matplotlib.gridspec as gridspec
1615
from matplotlib import ticker
17-
16+
import copy
1817
import sys
1918
import plotly.offline as py
2019
import plotly.graph_objs as go
2120

2221
# own modules
22+
from deeptools import cm # noqa: F401
2323
from deeptools import parserCommon
2424
from deeptools import heatmapper
2525
from deeptools.heatmapper_utilities import plot_single, plotly_single
@@ -371,7 +371,7 @@ def plotlyMatrix(hm,
371371
trace.update(zmin=zMinUse, zmax=zMaxUse, colorscale=convertCmap(cmap[0], vmin=zMinUse, vmax=zMaxUse))
372372

373373
dataSummary.extend(dataHeatmap)
374-
fig['data'] = dataSummary
374+
fig.add_traces(dataSummary)
375375
fig['layout']['annotations'] = annos
376376
py.plot(fig, filename=outFilename, auto_open=False)
377377

@@ -477,7 +477,8 @@ def plotMatrix(hm, outFileName,
477477
if colorMapDict['colorMap']:
478478
cmap = []
479479
for color_map in colorMapDict['colorMap']:
480-
cmap.append(plt.get_cmap(color_map))
480+
copy_cmp = copy.copy(plt.get_cmap(color_map))
481+
cmap.append(copy_cmp)
481482
cmap[-1].set_bad(colorMapDict['missingDataColor']) # nans are printed using this color
482483

483484
if colorMapDict['colorList'] and len(colorMapDict['colorList']) > 0:
@@ -529,7 +530,6 @@ def plotMatrix(hm, outFileName,
529530
else:
530531
color_list = cmap_plot(np.arange(numgroups) / numgroups)
531532
alpha = colorMapDict['alpha']
532-
533533
if image_format == 'plotly':
534534
return plotlyMatrix(hm,
535535
outFileName,
@@ -735,7 +735,7 @@ def plotMatrix(hm, outFileName,
735735
col = sample
736736
ax = fig.add_subplot(grids[-1, col])
737737
tick_locator = ticker.MaxNLocator(nbins=3)
738-
cbar = fig.colorbar(img, cax=ax, alpha=alpha, orientation='horizontal', ticks=tick_locator)
738+
cbar = fig.colorbar(img, cax=ax, orientation='horizontal', ticks=tick_locator)
739739
labels = cbar.ax.get_xticklabels()
740740
ticks = cbar.ax.get_xticks()
741741
if ticks[0] == 0:
@@ -759,15 +759,15 @@ def plotMatrix(hm, outFileName,
759759
grid_start = 0
760760

761761
ax = fig.add_subplot(grids[grid_start:, -1])
762-
fig.colorbar(img, cax=ax, alpha=alpha)
762+
fig.colorbar(img, cax=ax)
763763

764764
if box_around_heatmaps:
765765
plt.subplots_adjust(wspace=0.10, hspace=0.025, top=0.85, bottom=0, left=0.04, right=0.96)
766766
else:
767767
# When no box is plotted the space between heatmaps is reduced
768768
plt.subplots_adjust(wspace=0.05, hspace=0.01, top=0.85, bottom=0, left=0.04, right=0.96)
769769

770-
plt.savefig(outFileName, bbox_inches='tight', pdd_inches=0, dpi=dpi, format=image_format)
770+
plt.savefig(outFileName, bbox_inches='tight', pad_inches=0.1, dpi=dpi, format=image_format)
771771
plt.close()
772772

773773

deeptools/plotProfile.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def __init__(self, hm, out_file_name,
9999
plot_type='lines',
100100
image_format=None,
101101
color_list=None,
102-
legend_location='auto',
102+
legend_location='best',
103103
plots_per_row=8,
104104
label_rotation=0,
105105
dpi=200):
@@ -454,7 +454,7 @@ def plotly_hexbin(self):
454454
for trace in data:
455455
trace.update(zmin=vmin, zmax=vmax)
456456

457-
fig['data'] = data
457+
fig.add_traces(data)
458458
fig['layout']['annotations'] = annos
459459
py.plot(fig, filename=self.out_file_name, auto_open=False)
460460

@@ -668,7 +668,7 @@ def plotly_heatmap(self):
668668
zmaxUse = self.y_max[i % len(self.y_max)]
669669
trace.update(zmin=zminUse, zmax=zmaxUse)
670670

671-
fig['data'] = data
671+
fig.add_traces(data)
672672
fig['layout']['annotations'] = annos
673673
py.plot(fig, filename=self.out_file_name, auto_open=False)
674674

@@ -828,15 +828,16 @@ def plotly_profile(self):
828828
yMin = None
829829
yMax = None
830830
for i in range(self.numplots):
831-
row = rows - i / self.plots_per_row - 1
831+
row = np.floor(i / self.plots_per_row)
832+
# row = rows - i / self.plots_per_row - 1
832833
col = i % self.plots_per_row
833834
xanchor = 'x{}'.format(i + 1)
834835
yanchor = 'y{}'.format(i + 1)
835836
base = row * (domainHeight + bufferHeight)
836837
domain = [base, base + domainHeight]
837838
titleY = base + domainHeight
838-
base = col * (domainWidth + bufferWidth)
839839
fig['layout']['yaxis{}'.format(i + 1)] = {'domain': domain, 'title': self.y_axis_label, 'anchor': xanchor, 'autorange': False}
840+
base = col * (domainWidth + bufferWidth)
840841
domain = [base, base + domainWidth]
841842
titleX = base + 0.5 * domainWidth
842843
fig['layout']['xaxis{}'.format(i + 1)] = {'domain': domain, 'anchor': yanchor}
@@ -900,7 +901,7 @@ def plotly_profile(self):
900901
yRange[1] = self.y_max[i % len(self.y_max)]
901902
fig['layout'][yaxis].update(range=yRange)
902903

903-
fig['data'] = data
904+
fig.add_traces(data)
904905
fig['layout']['annotations'] = annos
905906
py.plot(fig, filename=self.out_file_name, auto_open=False)
906907

deeptools/utilities.py

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def convertCmap(c, vmin=0, vmax=1):
4141
h = 1.0 / 254
4242
colorScale = []
4343
for k in range(255):
44-
C = map(np.uint8, np.array(cmap(k * h)[:3]) * 255)
44+
C = list(map(np.uint8, np.array(cmap(k * h)[:3]) * 255))
4545
colorScale.append([k * h, 'rgb' + str((C[0], C[1], C[2]))])
4646

4747
return colorScale

galaxy/wrapper/computeMatrixOperations.xml

100644100755
+1-1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
#else if $submodule.command == "dataRange":
7575
dataRange
7676
-m $submodule.matrixFile
77+
> $outFileTxt
7778
#end if
7879
]]>
7980
</command>
@@ -159,7 +160,6 @@
159160
<when value="dataRange">
160161
<param argument="matrixFile" format="deeptools_compute_matrix_archive" type="data"
161162
label="Matrix file from the computeMatrix tool" help=""/>
162-
</param>
163163
</when>
164164
</conditional>
165165
</inputs>

galaxy/wrapper/deepTools_macros.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<macros>
22

33
<token name="@THREADS@">--numberOfProcessors "\${GALAXY_SLOTS:-4}"</token>
4-
<token name="@WRAPPER_VERSION@">3.5.0.0</token>
4+
<token name="@WRAPPER_VERSION@">3.5.1.0</token>
55
<xml name="requirements">
66
<requirements>
7-
<requirement type="package" version="3.5.0">deeptools</requirement>
7+
<requirement type="package" version="3.5.1">deeptools</requirement>
88
<requirement type="package" version="1.9">samtools</requirement>
99
</requirements>
1010
<expand macro="stdio" />

galaxy/wrapper/test-data/bamPEFragmentSize_result1.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Median: 242.0
1212
Max.: 251.0
1313
Std: 4.496912521077347
1414
MAD: 1.0
15-
Len. 10%: 241.20000000000002
15+
Len. 10%: 241.2
1616
Len. 20%: 241.4
1717
Len. 30%: 241.6
1818
Len. 40%: 241.8
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Frag. Sampled Frag. Len. Min. Frag. Len. 1st. Qu. Frag. Len. Mean Frag. Len. Median Frag. Len. 3rd Qu. Frag. Len. Max Frag. Len. Std. Frag. Med. Abs. Dev. Frag. Len. 10% Frag. Len. 20% Frag. Len. 30% Frag. Len. 40% Frag. Len. 60% Frag. Len. 70% Frag. Len. 80% Frag. Len. 90% Frag. Len. 99% Reads Sampled Read Len. Min. Read Len. 1st. Qu. Read Len. Mean Read Len. Median Read Len. 3rd Qu. Read Len. Max Read Len. Std. Read Med. Abs. Dev. Read Len. 10% Read Len. 20% Read Len. 30% Read Len. 40% Read Len. 60% Read Len. 70% Read Len. 80% Read Len. 90% Read Len. 99%
2-
bowtie2 test1.bam 3 241.0 241.5 244.66666666666666 242.0 246.5 251.0 4.496912521077347 1.0 241.20000000000002 241.4 241.6 241.8 243.8 245.6 247.4 249.2 250.82 3 251.0 251.0 251.0 251.0 251.0 251.0 0.0 0.0 251.0 251.0 251.0 251.0 251.0 251.0 251.0 251.0 251.0
2+
bowtie2 test1.bam 3 241.0 241.5 244.66666666666666 242.0 246.5 251.0 4.496912521077347 1.0 241.2 241.4 241.6 241.8 243.8 245.6 247.4 249.2 250.82 3 251.0 251.0 251.0 251.0 251.0 251.0 0.0 0.0 251.0 251.0 251.0 251.0 251.0 251.0 251.0 251.0 251.0
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
Sample AUC Synthetic AUC X-intercept Synthetic X-intercept Elbow Point Synthetic Elbow Point JS Distance Synthetic JS Distance % genome enriched diff. enrichment CHANCE divergence
2-
bowtie2 test1.bam 0.00493632029863651 0.481650684757865 0.984443061605476 1.1531044350267195e-24 0.9849408836341008 0.5232688298112538 NA 0.26900449806812143 NA NA NA
3-
bowtie2 test1.bam 0.00493632029863651 0.481650684757865 0.984443061605476 1.1531044350267195e-24 0.9849408836341008 0.5232688298112538 0.0 0.26900449806812143 0 0 0
2+
bowtie2 test1.bam 0.00493632029863651 0.481650684757865 0.984443061605476 1.1531044350267195e-24 0.9849408836341008 0.5232688298112538 nan 0.2690044980681214 nan nan nan
3+
bowtie2 test1.bam 0.00493632029863651 0.481650684757865 0.984443061605476 1.1531044350267195e-24 0.9849408836341008 0.5232688298112538 0.0 0.2690044980681214 0 0 0
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#plotPCA --outFileNameData
22
Component bowtie2-test1.bam bowtie2-test1.bam Eigenvalue
33
1 -0.7071067811865476 -0.7071067811865475 4.0
4-
2 -0.7071067811865475 0.7071067811865476 1.2325951644078315e-32
4+
2 -0.7071067811865475 0.7071067811865476 2.49319462166397e-32

requirements.txt

100644100755
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
numpy>=1.9.0
22
scipy>=0.17.0
3-
matplotlib>=3.1.0
3+
matplotlib>=3.3.0
44
pysam>=0.14.0
55
py2bit>=0.2.0
66
numpydoc>=0.5
77
pyBigWig>=0.2.1
8-
plotly>=2.0.0
8+
plotly>=4.9
99
deeptoolsintervals>=0.1.8

0 commit comments

Comments
 (0)