Skip to content

ERROR: Map file must have the same number of loci as hap file! Map file has 0 SNPs #40

Open

Description

@shreyashruti

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

@camaclean please look into it

Thanks in advance

Activity

  1. camaclean commented on Aug 1, 2017

    @camaclean
    Contributor

    How are you making your map file? For the 1000 Genomes data, you can use tools/make_map.py to generate a .map file.

  2. shreyashruti commented on Aug 2, 2017

    @shreyashruti
    Author

    @camaclean Thanks a ton for replying.
    Where can I get tools/make_map.py from? I couldnt find it in hapbin/tools

  3. camaclean commented on Aug 2, 2017

    @camaclean
    Contributor

    Woops, it looks like it was only in my fork.

    Until it's merged, see #41.

  4. camaclean commented on Aug 3, 2017

    @camaclean
    Contributor

    It's merged, now. You can run it as ./make_map.py --chromosome 22, for instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions