Skip to content

Commit b97325b

Browse files
committed
ErrMerr stuff, small changes
1 parent 57c1594 commit b97325b

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ utilBMF/cFqProc.c
3939
utilBMF/cstring.c
4040
Doc/*
4141
BMFTools.egg-info/*
42+
Bin/*

SecC/ArrayHeatmap2D.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030
r2data = np.array(r2data)
3131

3232
fig, ax = plt.subplots(figsize=(15,10))
33-
plt.suptitle("Observed Quality by Cycle and Nucleotide (Read 2)")
34-
heatmap = ax.pcolormesh(np.transpose(r2data), cmap=plt.cm.Blues)
33+
plt.suptitle("Observed Quality by Cycle and Nucleotide (Read 1)")
34+
heatmap = ax.pcolormesh(np.transpose(r1data), cmap=plt.cm.Blues)
3535
cbar = fig.colorbar(heatmap, label="Observed Quality")
3636
ax.axis('tight')
3737
ax.set_yticks([0.5, 1.5, 2.5, 3.5])
3838
ax.set_yticklabels(["A","C","G","T"])
3939
plt.xlabel("Cycle (Position in Read)")
4040
plt.ylabel("Nucleotide")
41-
plt.savefig("ErrorArrayHeatmapRead2.png")
41+
plt.savefig("ErrorArrayHeatmapRead1.png")
4242
plt.show()

SecC/ArrayHeatmap3D.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
r2data = np.array(r2data)
3737

3838
fig, ax = plt.subplots(figsize=(15,10))
39-
plt.suptitle("Observed Quality by Illumina Quality and Cycle (Read 1)")
40-
heatmap = ax.pcolormesh(np.transpose(r1data), cmap=plt.cm.Reds)
39+
plt.suptitle("Observed Quality by Illumina Quality and Cycle (Read 2)")
40+
heatmap = ax.pcolormesh(np.transpose(r2data), cmap=plt.cm.Reds)
4141
cbar = fig.colorbar(heatmap, label="Observed Quality")
4242
ax.axis('tight')
4343
plt.xlabel("Cycle (Position in Read)")
4444
plt.ylabel("Illumina Given Quality Score")
45-
plt.savefig("CycleQualityHeatmapRead1.png")
45+
plt.savefig("CycleQualityHeatmapRead2.png")
4646
plt.show()

SecC/ErrMerr.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ def cycleError(args):
150150
flag = read.flag
151151
if flag & 2820:
152152
continue
153+
qc += 1
153154
"""
154155
Equivalent to:
155156
if(read.is_secondary or read.is_supplementary or

0 commit comments

Comments
 (0)