Commit 93e8eb67 authored by Penom Nom's avatar Penom Nom
Browse files

update rseqc

parent b6124590
......@@ -436,6 +436,9 @@ class RSeQC (Analysis):
if rpkm:
rpkm_data=rpkm.group(2).split(",")
rpkm_group1 = rpkm.group(1)
if rpkm.group(1) == "S5":
rpkm_group1 = "S05"
for j,val in enumerate(rpkm_data):
rpkm_data[j]=float(rpkm_data[j])
mini=min(rpkm_data)
......@@ -443,7 +446,7 @@ class RSeQC (Analysis):
med=self.__median(rpkm_data)
lq=self.__lowquart(rpkm_data)
uq=self.__upquart(rpkm_data)
summary[quartiles[i]][rpkm.group(1)] = str(round(mini,3)*100) + "," + str(round(lq,3)*100) + "," + \
summary[quartiles[i]][rpkm_group1] = str(round(mini,3)*100) + "," + str(round(lq,3)*100) + "," + \
str(round(med,3)*100) + "," + str(round(uq,3)*100) + "," + str(round(maxi,3)*100)
elif boxplot:
i=i+1
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment