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

run bgc error in docker #26

Open
lidanqi1990 opened this issue Mar 28, 2023 · 3 comments
Open

run bgc error in docker #26

lidanqi1990 opened this issue Mar 28, 2023 · 3 comments

Comments

@lidanqi1990
Copy link

Dear Martin:
I used the docker to run the bgc:
./bgc -a ~/test_file/YJS_newhybrids_chr10_filter_p0in.txt -b ~/test_file/YJS_newhybrids_chr10_filter_p1in.txt -h ~/test_file/YJS_newhybrids_chr10_filter_admixedin.txt -M ~/test_file/YJS_newhybrids_chr10_filter_map.txt -O 0 -x 50000 -n 25000 -p 1 -q 1 -N 1 -m 1 -D 0.5 -t 5 -E 0.0001 -d 1 -s 1 -I 0 -u 0.04
8fb7de8bec3ec5b1745de9ac6f0b8c0

but it have something wrong like:

Reading input files
Number of loci: 1090786
Number of admixed populations: 1
Number of individuals: 6
Using the linkage model for locus effects
Allowing for uncertainty in allele counts
Allocating memory
gsl: init_source.c:40: ERROR: failed to allocate space for block data
Default GSL error handler invoked.
Aborted (core dumped)

I don't know how to deal with it, any guidance would be fantastic. Thank you!

@tkchafin
Copy link
Collaborator

What are the correct numbers of loci and individuals? My guess without seeing the files would be to check that your files have Unix line endings.

@lidanqi1990
Copy link
Author

lidanqi1990 commented Mar 28, 2023 via email

@lidanqi1990
Copy link
Author

hi again. I can now run the program run_bgc.sh normally, and I am only using SNPs from one chromosome, approximately 1000000 of them, but it keeps stopping at "mcmc iteration: 0 ........ LnL: -9.80037e+06". Is this normal? Is there any way to make it faster?

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