AlexandrovLab / SigProfilerExtractor

SigProfilerExtractor allows de novo extraction of mutational signatures from data generated in a matrix format. The tool identifies the number of operative mutational signatures, their activities in each sample, and the probability for each signature to cause a specific mutation type in a cancer sample. The tool makes use of SigProfilerMatrixGenerator and SigProfilerPlotting.
BSD 2-Clause "Simplified" License
153 stars 51 forks source link

support MAF files? #258

Closed wangzunq closed 2 months ago

wangzunq commented 2 months ago

Hi, I finished SIgProfilerAssignment and got matrices in the output. Which matrices should I use as input to SigProfilerExtractor? I see it doesn't support MAF files for each samples like SigProfilerAssignment and SigProfilerMatrixGenerator. Please correct me if I misunderstand something or what should be the correct approach?

mdbarnesUCSD commented 2 months ago

Hi @wangzunq,

SigProfilerAssignment is a tool for assigning mutational signatures and SigProfilerExtractor does de novo signature extraction. The input for both tools is a mutational counts matrix, which can be generated using SigProfilerMatrixGenerator.

If you have the counts matrix, you can run with matrix as input and set the parameter input_type=matrix. Otherwise, if your inputs are MAF set input_type=vcf.

wangzunq commented 2 months ago

Thank you for explanation. I got matrices from SigProfilerMatrixGenerator, there are several under SBS folder. Should I use this folder as input to do extractor? Currently focus on SBS only.

Zunqiu Wang

Computational Biologist I

CLL Center, J. Brown lab

Dana Farber Cancer Institute | Department of Medical Oncology

450 Brookline Ave

SM 648

Boston, MA 02215

https://brownlab.dana-farber.org/

On Aug 27, 2024, at 12:38, mdbarnesUCSD @.***> wrote:



    External Email - Use Caution

Hi @wangzunqhttps://github.com/wangzunq,

SigProfilerAssignment is a tool for assigning mutational signatures and SigProfilerExtractor does de novo signature extraction. The input for both tools is a mutational counts matrix, which can be generated using SigProfilerMatrixGeneratorhttps://github.com/alexandrovlab/SigProfilerMatrixGenerator.

If you have the counts matrix, you can run with matrix as input and set the parameter input_type=matrix. Otherwise, if your inputs are MAF set input_type=vcf.

— Reply to this email directly, view it on GitHubhttps://github.com/AlexandrovLab/SigProfilerExtractor/issues/258#issuecomment-2313040920, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BHAFOAPQVGC66G3FHNFZ4O3ZTSTOVAVCNFSM6AAAAABNFLH2CKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJTGA2DAOJSGA. You are receiving this because you were mentioned.Message ID: @.***> The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed. It may also contain confidential and/or privileged material. Any use of the information transmitted by persons or entities other than the intended recipient is strictly prohibited. If this email was sent to you in error and includes sensitive Dana-Farber information (for example, patient information, Social Security Numbers, credit card information), please communicate this to Dana-Farber's Compliance Hotline at www.compliancereport.org http://www.compliancereport.org . If the information transmitted does not contain such sensitive information, please contact the sender and properly dispose of the email. Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.

mdbarnesUCSD commented 2 months ago

Yes, you will provide the path to one of those input matrices. You can learn more about these contexts on the wiki page for SigProfilerMatrixGenerator and in more detail in the publication.

Please reach out if you have any additional questions.