Skip to content

Assertion `which_build_ref != ssimp:: which_build_t:: unknown' failed #118

@karanvirsingh99

Description

@karanvirsingh99

Hello,
I am running into a similar issue as posted previously. I am running version 0.5.6, compiled for macOS (I have tested the linux version as well and run into the same issue).

After running this:
./ssimp --gwas gwas/small.random.txt --ref 1KG/EUR --out output.txt

I get this error code:

file_name:gwas/small.random.txt ... loading the 1.7GB database of positions under three builds. This will take about a minute. Loaded. Estimating which build (hg18/hg19/hg37) of the reference panel and the GWAS file, in case it is necessary to modify the GWAS file to match the reference panel some_records_from_each_chromosome.size():0 (ref) :count_of_hg18_0based,count_of_hg19_0based,count_of_hg20_0based,count_of_hg18_1based,count_of_hg19_1based,count_of_hg20_1based: 0 , 0 , 0 , 0 , 0 , 0 gwas_all_chrpos.size():0 (gwas):count_of_hg18_0based,count_of_hg19_0based,count_of_hg20_0based,count_of_hg18_1based,count_of_hg19_1based,count_of_hg20_1based: 0 , 0 , 0 , 0 , 0 , 0 which_build_gwas,which_build_ref: unknown , unknown ssimp: src/ssimp.cc:877: int main(int, char**): Assertion which_build_ref != ssimp:: which_build_t:: unknown' failed.
Aborted (core dumped)
`

I have checked that the database.of.builds.1kg.uk10k.hrc.2018.01.18.bin file has size 1'789'839'360.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions