Yves-CHEN / DENTIST

DENTIST (Detecting Errors iN analyses of summary staTISTics) is a QC tool for summary-data-based analyses.
GNU Lesser General Public License v3.0
21 stars 6 forks source link

Aborted (core dumped) #8

Open yoshiyukiyukawa opened 4 years ago

yoshiyukiyukawa commented 4 years ago

Hi, I got this error.

[info] Performing DENTIST at 9999 SNPs shared between the summary and reference data.
0-6474, 1999208, 0
3491-9999, 1884649, 0
[info]  At least 400 Mb of memory is required.
0th - 6474th
..0.0%[info] LD matrix size is 335 Mb.
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

So, I reduced Variant's. then occur other error.

terminate called after throwing an instance of 'boost::wrapexcept<std::domain_error>'
  what():  Error in function boost::math::cdf(const chi_squared_distribution<double>&, double): Chi Square parameter was -nan, but must be > 0 !
Aborted (core dumped)

Could you give me some advice? best regards.

Yves-CHEN commented 3 years ago
  1. first error, what(): std::bad_alloc is like to be due to insufficient memory provided as indicated from the message. This is supported by that the tool clearly ran over this when you reduce the number of SNPs.
  2. "Chi Square parameter was -nan" is likely to be due to the NA genotypes in the bed file. If this is the case, run with --with-NA-geno