-
Notifications
You must be signed in to change notification settings - Fork 11
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 in Rcpp_get_top_K_or_more_matches_while_building_gamma #29
Comments
Hey, this is an error on QUILT's part, that something has gone wrong with the math / the HMM. I don't see it much anymore, I thought I had sorted out all of those bugs. It's not immediately obvious to me what it is, though one thing, how big is the region you're imputing? 600,000 reads is a LOT of reads for low coverage sequencing! If this is an entire chromosome, can you try imputing in smaller chunks, say 5 Mbp, this will also lead to more accurate imputation, given the underlying assumptions of the model |
Thanks for your timely reply! here is the log file: [2024-03-06 14:04:39] Imputing sample: 1 |
Hi
I am trying use QUILT to impute my data with a reference panel. But I get in some troubles.
This is my code:
for i in
cat list2
do
hap_file="/data/Yujz/quilt-2021/ref/chr${i}.hap.gz"
legend_file="/data/Yujz/quilt-2021/ref/chr${i}.legend.gz"
sample_file="/data/Yujz/quilt-2021/ref/chr${i}.samples"
mkdir impute-chr1-1
done
I met an error like:
[2024-03-03 12:44:40] Imputing sample: 1
[2024-03-03 12:45:52] downsample sample NKX06X40X21947 - 24 of 605786 reads removed
[2024-03-03 12:46:04] The average depth of this sample is:2.56574392710952
[2024-03-03 12:46:04] There are 605762 reads under consideration
[2024-03-03 12:46:08] i_gibbs=1, i_it = 1 small gibbs
[2024-03-03 12:49:39] i_gibbs=1, i_it = 1 full
[2024-03-03 12:50:20] i_gibbs=1, i_it = 2 small gibbs
[2024-03-03 12:53:48] i_gibbs=1, i_it = 2 full
[2024-03-03 12:54:30] i_gibbs=1, i_it = 3 small gibbs
[2024-03-03 12:57:58] i_gibbs=1, i_it = 3 full
[2024-03-03 12:58:57] i_gibbs=2, i_it = 1 small gibbs
[2024-03-03 13:02:22] i_gibbs=2, i_it = 1 full
problem with Rcpp_get_top_K_or_more_matches_while_building_gamma
iGrid = 27067
gamma_t_col(0) = -nan
alphaHat_t(0, iGrid) = -nan
betaHat_t_col(0) = 1
Error: upper value must be greater than lower value
Execution halted
This is an output of one single sample imputation, the depth of this sample is 2.5X. It seems like an error related samples, which means some samples would get in such error, but some else would not. I do not know how to deal with this problem, I have tracked in this error for a long time. Could you give me some advise?
Thanks!
The text was updated successfully, but these errors were encountered: