Skip to content

Commit 717e9db

Browse files
authored
Merge pull request #114 from AlexandrovLab/spa_r_i1
v0.1.2: Spa_r_i1
2 parents 327fb93 + 4d34eb9 commit 717e9db

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

SigProfilerAssignment/decomposition.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
SigProfilerMatrixGeneratorFunc as datadump,
2525
)
2626
from SigProfilerMatrixGenerator.scripts import CNVMatrixGenerator as scna
27+
from sigProfilerPlotting import sigProfilerPlotting as sigPlot
2728
import sigProfilerPlotting
2829
import os, sys
2930
from PyPDF2 import PdfMerger
@@ -302,6 +303,9 @@ def spa_analyze(
302303
mutation_type = str(genomes.shape[0])
303304
m = mutation_type
304305

306+
# Re-indexing the input matrix file by using process_input function from SigProfilePlotting
307+
genomes = sigPlot.process_input(genomes, m)
308+
305309
m_for_subgroups = ""
306310
if m == "96" or m == "288" or m == "1536":
307311
m_for_subgroups = "SBS"

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
if os.path.exists("dist"):
77
shutil.rmtree("dist")
88

9-
VERSION = "0.1.1"
9+
VERSION = "0.1.2"
1010

1111

1212
def write_version_py(filename="SigProfilerAssignment/version.py"):
@@ -15,7 +15,7 @@ def write_version_py(filename="SigProfilerAssignment/version.py"):
1515
# THIS FILE IS GENERATED FROM SigProfilerAssignment SETUP.PY
1616
short_version = '%(version)s'
1717
version = '%(version)s'
18-
Update = 'v0.1.1: Update cosmic fit and decompose fit to use SV COSMIC signatures.'
18+
Update = 'v0.1.2: Add matrix input format processing'
1919
2020
2121
"""

0 commit comments

Comments
 (0)