caught segfault
when i use the rehh to calculate the rehh for specfic snp, i get an error and didn't know how to solve it. here is the error *** caught segfault *** address 0x2bd4f35151c0, cause 'memory not mapped'
Traceback: 1: calc_ehh(hh, mrk = losid, include_nhaplo = TRUE) An irrecoverable exception occurred. R is aborting now ... /var/spool/slurm/d/job03484/slurm_script: line 12: 82270 Segmentation fault (core dumped) Rscript cal_ehh.R ASIA_D
the standard output here
-
- Reading input file(s) * Using package 'data.table' to read vcf. Extracting map information. Extracting ancestral allele from info field of vcf file. Extracting haplotypes. Number of individuals which are Haploid Diploid Triploid, ... : 1 2 0 680 Polarizing variants. 4368645 markers have been polarized. 0 unpolarized markers have been removed.
- Filtering data * Discard markers genotyped on less than 100 % of haplotypes. No marker discarded. Data consists of 1360 haplotypes and 4368645 markers. Number of mono-, bi-, multi-allelic markers: 1 2 869997 3498648
could you give some adivce to solve it? thank you best hongwei yin