dipetkov / eems

Estimating Effective Migration Surfaces
GNU General Public License v2.0
102 stars 28 forks source link

Error in .coord file #63

Open kepperly opened 2 years ago

kepperly commented 2 years ago

Hello,

The same issue had been reported before, but was closed without stating the solution. I saw a few others were recently having the same issue, so I thought I would reopen it as a new issue.

When trying to run runeems_snps I run into an error when it gets to generating the population grid. It says "Check that /Users/path/to/data/files/datapath.coord is a list of locations, two coordinates per row. I don't see any issues with my .coord file (attached as a .txt file), and I used this same file a couple of years back and it ran fine.

Any help or insight would be much appreciated, thanks! datapath.coord.txt

Gintamumu commented 2 years ago

The key are nIndiv and nSites of configuration file need to be consistent with coord file and diffs file.

BridgetCampbell commented 11 months ago

Hi, I am having this same issue! I have checked and my nIndiv is the same as the number of rows in the .coord file and in the .diffs file.... is that what you mean?

I checked nSites against the number of loci in my dataset and it was the same. Would the bed2diffs function have changed the number of loci so that nSites is incorrect?