Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Check that the dissimilarity matrix is a square nIndiv-by-nIndiv matrix. #74

Open
hanjizhe18 opened this issue Mar 19, 2024 · 1 comment

Comments

@hanjizhe18
Copy link

Hello. I am getting this error message in the [Diffs::initialize] section of the nDemes log file when I try to run EEMS.
Error: checking if the dissimilarity matrix is an nIndiv×nIndiv square matrix. The details are as follows
[Diffs::initialize]
Error: Check that the dissimilarity matrix is a square nIndiv-by-nIndiv matrix.
I checked the Diffs file and it is a sample *sample matrix no problem. Is it caused by too many missing loci in the vcf file? Or is it some other reason?

@MboiTui
Copy link

MboiTui commented May 2, 2024

Hello,

I am having a similar issue so i thought i'd add my experience.

When I run eems_snps with the test data barrier-schemeX-nIndiv300-nSites3000 the software starts alright (see output below, manually stopped after 5000 iterations)

Screen Shot 2024-05-02 at 4 25 55 pm

When I use my own data, i get the following error:

Screen Shot 2024-05-02 at 4 27 16 pm

I produced my .diffs matrix with bed2diffs. When comparing to the example dataset I can't find any difference in terms of the format:

First 2 rows and 5 columns:
Screen Shot 2024-05-02 at 4 18 27 pm

Last 2 rows and 3 colums:
Screen Shot 2024-05-02 at 4 18 57 pm

Number of rows and columns:
Screen Shot 2024-05-02 at 4 19 54 pm

Any hints as to where the problem might lie would be appreciated

Cheers,
Lorenzo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants