Skip to content

Commit da28cfb

Browse files
authored
Merge pull request #67 from InPreD/develop_issue64
Fix the issue64 reported in GitHub.
2 parents 581c330 + cd380d1 commit da28cfb

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN apt-get update \
77
build-essential=12.9 \
88
libjpeg-dev=1:2.1.5-2 \
99
libxml2=2.9.14+dfsg-1.3~deb12u1 \
10-
libxslt1-dev=1.1.35-1 \
10+
libxslt1-dev=1.1.35-1+deb12u1 \
1111
zlib1g-dev=1:1.2.13.dfsg-1 \
1212
&& rm -rf /var/lib/apt/lists/* \
1313
&& apt-get clean \

Script/PRONTO.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -795,12 +795,10 @@ def update_ppt_variant_summary_table(data_nrows,DNA_sampleID,RNA_sampleID,TMB_DR
795795
MSI_TSO500 = line.split('\t')[2]
796796
# X(Y/Z)
797797
# Z<40: evaluation not reliable. Z>=40 && X=<10: MSI/Stable. Z>=40 && X>=20: MSI/Unstable. Z>=40 && 10<X<20: MSI/Likely unstable.
798-
X = float(line.split()[3])
799-
YZ = line.split()[4]
800-
Y_str = YZ.split('/')[0]
801-
Y = int(Y_str.split('(')[1])
802-
Z_str = YZ.split('/')[1]
803-
Z = int(Z_str.split(')')[0])
798+
X = float(MSI_TSO500.split()[0])
799+
YZ = MSI_TSO500.split("(")[1].split(")")[0]
800+
Y = int(YZ.split('/')[0])
801+
Z = int(YZ.split('/')[1])
804802
if(Z >= 40 and X >= 20):
805803
msi_text = "MS"
806804
stable_text = "Unstable"

0 commit comments

Comments
 (0)