AlexandrovLab / SigProfilerAssignment

Assignment of known mutational signatures to individual samples and individual somatic mutations
BSD 2-Clause "Simplified" License
42 stars 10 forks source link

[Question] Difference between denovo_fit and cosmic_fit #137

Closed JuseTiZ closed 1 month ago

JuseTiZ commented 1 month ago

When using cosmic_fit to assign mutational signatures to my samples, I identified SBS1, SBS5, and SBS19.

I then extracted these three signatures to refit using denovo_fit. However, I noticed differences in the distribution of these signatures. For example, SBS19 appeared in samples where it had not been detected previously with cosmic_fit.

Is this discrepancy due to differences in the processing methods of the two functions? If I want to compare the changes in fit after adding some signatures, should I compare the results of two denovo_fit runs (before and after adding the signatures), or should I compare the results of denovo_fit (after adding the signatures) with cosmic_fit?

Looking forward to your reply!

rvangara commented 1 month ago

Hi JuseTiZ,

Thank you for your question.

The discrepancy you observed between cosmic_fit and denovo_fit is indeed due to differences in the processing methods and parameter settings of the two functions.

Explanation:

Usually, if you have fewer samples and wish to fit with the existing databases of reference signatures, like COSMIC, cosmic_fit is better. If you are fitting with de novo signatures, which could be stemming from noisy data or sensitive to parameters of signature extraction, you can use denovo_fit.

I hope this helps clarify the differences and how to approach your analysis. Feel free to reach out if you have any more questions via email!

Best, Ravi