HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy feedback >> Error - matrix dimensions do not match
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1365087236

Message started by sspiel on Apr 4th, 2013 at 7:53am

Title: Error - matrix dimensions do not match
Post by sspiel on Apr 4th, 2013 at 7:53am
Hello,

Recently I've been encountering issues with some codon alignment files I'm inputting into FUBAR, which yields the following error message -

Error: Incompatible dimensions when trying to add or subtract matrices: first argument was a 4x3 matrix and the second was a 20x3 matrix.

Further, I tried other HyPhy algorithms to check if errors are always thrown,  and I receive error messages such as the following -

DataSetFilter 'filteredData' contains non-standard data and SelectTemplateModel is not applicable.



There seems to be no difference that I can see between files that work and files that do not work (especially since they were produced by the same pipeline). All are codon alignments, and I initially suspected that the issue might be due to ambiguous data (many N's in the alignment), but I have never had an issue with having ambiguous residues in the past. Perhaps there are too many in the alignments that give errors?

Any light you could shed on why I'm receiving this error would be appreciated!

Best,
Stephanie

Title: Re: Error - matrix dimensions do not match
Post by Sergei on Apr 15th, 2013 at 9:43am
Hi Stephanie,

Sorry for taking a while to respond. It seems to me like HyPhy is sometimes reading your nucleotide data as aminoacid data. This can happen if there are a lot of N's in the nucleotide alignment. Two possible solutions are:

1. Use rhe NEXUS file format -- you can specify the type of the data explicitly
2. Replace N's with ? in your input data

Sergei

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.