You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ERROR: Map file must have the same number of loci as hap file! Map file has 0 SNPs #40
Hi.
I am trying to calculate EHH and IHs score from 1000 genomes data using hapbin.
And the error I am getting is "Map file must have the same number of loci as hap file! Map file has 0 SNPs".
Please help me fix the issue
Activity
camaclean commentedon Aug 1, 2017
How are you making your map file? For the 1000 Genomes data, you can use tools/make_map.py to generate a .map file.
shreyashruti commentedon Aug 2, 2017
@camaclean Thanks a ton for replying.
Where can I get tools/make_map.py from? I couldnt find it in hapbin/tools
camaclean commentedon Aug 2, 2017
Woops, it looks like it was only in my fork.
Until it's merged, see #41.
camaclean commentedon Aug 3, 2017
It's merged, now. You can run it as ./make_map.py --chromosome 22, for instance.