Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with log_reg_case #22

Open
Asutu opened this issue Sep 16, 2020 · 3 comments
Open

Error with log_reg_case #22

Asutu opened this issue Sep 16, 2020 · 3 comments

Comments

@Asutu
Copy link

Asutu commented Sep 16, 2020

Hi,

I'm running into an error when calling the log_reg_case.out program.

$ $hawkDir/log_reg_case.out -t $noThread $sex_confounder_arg -p $noPC > pvals_case_top.txt
terminate called after throwing an instance of 'alglib::ap_error'
Aborted

the values of the variables set above are: noThread=1, noPC=2, and sex_confounder_arg is not set.

The number of lines in the (truncated) output is much less than those in the original sorted files:

$ wc -l pvals_case_top.txt
790000 pvals_case_top.txt
$ wc -l case_out_w_bonf_top.kmerDiff
107759269 case_out_w_bonf_top.kmerDiff

Any ideas on how to fix this?
Many thanks,
Pedro

@atifrahman
Copy link
Owner

Hi Pedro,

Sorry about this!

This sort of error may happen if some input file is not provided or provided empty or incomplete (e.g. pcs.evec, incomplete gwas_info.txt). Maybe checking the input files will reveal something,

Would it be possible to share the following files? We can take a look
pcs.evec
gwas_info.txt
gwas_eigenstratX.ind
case_total_kmers.txt
control_total_kmers.txt
case_out_w_bonf_top.kmerDiff
control_out_w_bonf_top.kmerDiff

@Asutu
Copy link
Author

Asutu commented Sep 24, 2020

Of course, many thanks for looking into this.

See the first 5 files attached. I had to gzip gwas_eigenstratX.ind and pcs.evec to be able to upload them here.
However, both case_out_w_bonf_top.kmerDiff and control_out_w_bonf_top.kmerDiff are way too big to share this way (9.6G and 3.7G, respectively).

case_total_kmers.txt
control_total_kmers.txt
gwas_eigenstratX.ind.gz
gwas_info.txt
pcs.evec.gz

@atifrahman
Copy link
Owner

One of the developers had a look and didn't find any problem in the files you provided. The problem may be with the kmerDiff files. If you can share those via Google Drive or something like that, we can try to find a solution. My email is [email protected]

Sorry about the problems

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants