Skip to content

arithmetic overflow for latest AADR on systems with 32 bit long #113

@libbro

Description

@libbro

I am trying to use convertf on the latest version of the AADR (v62.0_1240k_public) and have been running into some issues. Whenever I run convertf -p parconv where parconv is:

genotypename:    v62.0_1240k_public.geno
snpname:         v62.0_1240k_public.snp
indivname:       v62.0_1240k_public.ind
outputformat:    ANCESTRYMAP
genotypeoutname: test.ancestrymapgeno
snpoutname:      test.snp
indivoutname:    test.ind

I run into the following error message:

parameter file: parconv
genotypename: v62.0_1240k_public.geno
snpname: v62.0_1240k_public.snp
indivname: v62.0_1240k_public.ind
outputformat: ANCESTRYMAP
genotypeoutname: test.ancestrymapgeno
snpoutname: test.snp
indivoutname: test.ind
read failure (length mismatch): Success
fatalx:
(inpack) bad data read (length mismatch) 2147479552 1140154008
Aborted

This is rather strange as I am using a file from a source that should be all good (literally from the Reich Lab). Any ideas what may be causing this issue?

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