MutSig2CV icon indicating copy to clipboard operation
MutSig2CV copied to clipboard

Mutsig crashes with error "matrix dimensions must agree"

Open kbrar4013 opened this issue 1 year ago • 3 comments

Hi,

I'm using MutSig2CV on a Linux platform using the 64-bit executable with MATLAB 2013a runtime installed. I've attached the output of the tool below; it crashes with error "matrix dimensions must agree". Also, it's detecting "newbase" as a column, but this isn't actually a named column in my file. Any ideas on what might be going on here and what I can do to troubleshoot this?

mutsig-error-output

kbrar4013 avatar Nov 11 '23 18:11 kbrar4013

Hi,Looks like your MAF is malformed—there seem to be blank chromosomes, and a chromosome named “Chromosome,” suggesting that multiple TSVs have been catted together without removing headers in between.The newbase column gets added implicitly, and is not something to be concerned about.—JulianOn Nov 11, 2023, at 13:23, Karanbir Brar @.***> wrote: Hi, I'm using MutSig2CV on a Linux platform using the 64-bit executable with MATLAB 2013a runtime installed. I've attached the output of the tool below; it crashes with error "matrix dimensions must agree". Also, it's detecting "newbase" as a column, but this isn't actually a named column in my file. Any ideas on what might be going on here and what I can do to troubleshoot this?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

julianhess avatar Nov 11 '23 18:11 julianhess

Hi, thanks so much for your response. I'm editing my MAFs to remove all chromosomes that aren't 1-21, X, Y and running the tool with a MAF file that only includes 5 patients, just as a test to get the tool working. I'm now running into a different issue, as you can see below: it looks like there is an error for every gene with the error "Operands to the || and && operators must be convertible to logical scalar values". Would really appreciate any help you can provide - thanks again!

[ mutsig2cv-error-gene-names

kbrar4013 avatar Nov 13 '23 20:11 kbrar4013

Can you please post an excerpt of your MAF? Sounds like there are some other problems with the mutation data.

julianhess avatar Nov 27 '23 14:11 julianhess