File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 2424 SigProfilerMatrixGeneratorFunc as datadump ,
2525)
2626from SigProfilerMatrixGenerator .scripts import CNVMatrixGenerator as scna
27+ from sigProfilerPlotting import sigProfilerPlotting as sigPlot
2728import sigProfilerPlotting
2829import os , sys
2930from 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"
Original file line number Diff line number Diff line change 66if os .path .exists ("dist" ):
77 shutil .rmtree ("dist" )
88
9- VERSION = "0.1.1 "
9+ VERSION = "0.1.2 "
1010
1111
1212def 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
1616short_version = '%(version)s'
1717version = '%(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 """
You can’t perform that action at this time.
0 commit comments