SigProfilerExtractor icon indicating copy to clipboard operation
SigProfilerExtractor copied to clipboard

Decomposing De Novo Signatures

Open ywhnet opened this issue 9 months ago • 1 comments

Hello, I have an error message during decomposing De Novo Signatures. How can I handle this issue?

Decomposing De Novo Signatures ..... There may be an issue with the formatting of your matrix file. There may be an issue with the formatting of your matrix file. Traceback (most recent call last): File "", line 1, in File "/Users/whl/Downloads/SigProfilerExtractor/SigProfilerExtractor/sigpro.py", line 862, in sigProfilerExtractor decomp.spa_analyze(allgenomes, output, signatures=processAvg, genome_build=genome_build, cosmic_version=cosmic_version, exome=exome, verbose=False, File "/Users/whl/anaconda3/lib/python3.11/site-packages/SigProfilerAssignment/decomposition.py", line 780, in spa_analyze final_signatures = sub.signature_decomposition( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/whl/anaconda3/lib/python3.11/site-packages/SigProfilerAssignment/decompose_subroutines.py", line 598, in signature_decomposition byte_plot = sp.run_PlotDecomposition( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/whl/anaconda3/lib/python3.11/site-packages/SigProfilerAssignment/DecompositionPlots/PlotDecomposition.py", line 817, in run_PlotDecomposition denovo_plots_dict = convert_to_imgReaderDict(denovo_plots_dict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/whl/anaconda3/lib/python3.11/site-packages/SigProfilerAssignment/DecompositionPlots/PlotDecomposition.py", line 232, in convert_to_imgReaderDict for name in image_dict.keys(): ^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'keys'

ywhnet avatar May 05 '24 00:05 ywhnet

Hi @ywhnet,

Please review if either of the proposed solutions in these tickets helps resolve your issue:

  • https://github.com/AlexandrovLab/SigProfilerExtractor/issues/240
  • https://github.com/AlexandrovLab/SigProfilerExtractor/issues/227 Thanks!

mdbarnesUCSD avatar May 07 '24 17:05 mdbarnesUCSD

Please re-open if still encounter this issue after reviewing the other tickets. Thanks!

mdbarnesUCSD avatar May 10 '24 19:05 mdbarnesUCSD