-
Notifications
You must be signed in to change notification settings - Fork 2
Description
AlphaFamImpute, as all Alphatools who do phasing and imputation I guess, need a map file to recognize multiple chromosomes. I used the 1000 genomes extended dataset featuring around 600 trios added the 23andme data from my family to generate some phasing data to compare this in a plot. In theory this should work with this tool.
Command that was running when the error appeared :
AlphaFamImpute -o /media/oem/ssd_01/alphaimp_data/pa_offspring_map -genotype /media/oem/ssd_01/alphaimp_data/genotype_ll.txt -pedigree /media/oem/ssd_01/alphaimp_data/pedigree.txt -iothreads 12 -map /media/oem/ssd_01/Genomics_prac_guide/map/genetic_map_hg38_withX.txt
Error that appeared:
/home/oem/.local/lib/python3.10/site-packages/numpy/core/fromnumeric.py:3432: RuntimeWarning: Mean of empty slice. return _methods._mean(a, axis=axis, dtype=dtype, /home/oem/.local/lib/python3.10/site-packages/numpy/core/_methods.py:190: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) Segmentation fault (core dumped)
The last output from Alphafamimpute was (on chr2 I guess):
Imputing family of NA18523 and MotherOfNA18521, using 1 high-density offspring.
When I try to run Alphafamimpute without the map on the full chromosome set it works but should thereby provide false results since the algorithm anticipates only one chromosome.