Plot produce with sig. mutations at 0
See original GitHub issueIssue Description
Hi,
We use SigProfiler in our cancer genome pipeline, on some sample decomposition verbose mode produce this output:
################ Sample 1 #################
############################# Initial Composition ####################################
SBS1 SBS5 SBS96A
0 1.0 1.0 68.0
L2%: 0.055660557522576835
############################## Composition After Initial Remove ###############################
SBS1 SBS5 SBS96C
0 0.0 0.0 70.0
L2%: 0.05906191827907873
Our sample match with SBS96C but figure produce contains graph for SBS1 and SBS5 this creates confusion. moreover, the number of sig. mutations signatures indicated is 0.
Code use to produce this figure:
signatures = (
output_dir
+ "SBS96/Suggested_Solution/De_Novo_Solution/De_Novo_Solution_Signatures_SBS96.txt"
)
activities = (
output_dir
+ "SBS96/Suggested_Solution/De_Novo_Solution/De_Novo_Solution_Activities_SBS96.txt"
)
samples = output_dir + "SBS96/Samples.txt"
output = output_dir + "Deconvolution_SB96_DeNovo"
decomp.decompose(
signatures, activities, samples, output, genome_build="GRCh38", verbose=True
)
Issue Analytics
- State:
- Created 2 years ago
- Comments:12
Top Results From Across the Web
CoMutPlotter: a web tool for visual summary of mutations in ...
This summary plot can inspect gene mutation rate and sample mutation burden with their relevant clinical details, which is a common first step ......
Read more >maftools : Summarize, Analyze and Visualize MAF Files
7.1 Plotting MAF summary. ... We can use plotmafSummary to plot the summary of the maf file, which displays number of variants in...
Read more >Identification and validation of significant gene mutations to ...
The aim of our research is to identify significant gene mutations which can predict clinical benefit of immune checkpoint inhibitors in LUAD ...
Read more >Rare Mutation Detection Best Practices Guidelines - Bio-Rad
Rare mutation detection (RMD) refers to detection of a sequence variant that is present at a very low frequency in a pool of...
Read more >Mutational Signatures - COSMIC - Wellcome Sanger Institute
Different mutational processes generate unique combinations of mutation types, ... This summary includes the mutational profile, proposed aetiology and ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We will be looking in the future to make updates to the decomposition module. We will look into modifying this behavior when we do so.
I have a similar question: I understand that SBS1 and SBS5 might appear in the decomposition plots although we have 0 mutations corresponding to those signatures. In that case, I would expect the contribution to the final signature to be 0%. I do, however, sometimes observe, that SBS1 or SBS5 contribute 0 mutations but around 2-3% to the final signature. Is there an explanation for that? Where do the 2-3% come from, if we have no mutations that contribute?
Thanks for your help and the development! Great tool!