-
Notifications
You must be signed in to change notification settings - Fork 0
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
merge function is crashing #13
Comments
Thank you for reporting this. I will first check whether the latest commit has already fixed the issue. If not, I will need your files for debugging. Could you share the path to the files used in this command? Additionally, the merge process uses your VCF file, which should contain only biallelic sites. Could you also provide the path to the VCF file? |
Thanks!!! Here are the paths: IBD compressed files: /local/chib/toconnor_grp/TOPMed_analyses/IBD_analyses/IBDprocessing I did not see any flag for the vcf file Thanks! |
Oh, I meant the VCF file you used for "ibdtools encode: encode the IBD file, VCF file, and PLINK map file into binary format for better/quicker IO." In the current implementation, ibdtools assumes all sites are phased and biallelic to achieve high memory compaction for storing genotype information. Do you know if the VCF file used in ibdtools encode contains unphased or multiallelic sites? I am checking /local/chib/toconnor_grp/TOPMed_analyses/MAF_filtered/freeze.10b.chr19.phased.mac5.vcf.gz, but it is a bit large and takes some time to finish. Could you confirm that this was the VCF file you used for ibdtools encode? |
Oh! :( Thank you so much! |
Got it. Yes, please try to use only biallelic sites if possible. The human genome has plenty of biallelic sites, which should suffice for IBD calling.
Let me know your thoughts :) |
Could you also share the error message and the files used for the matrix function? |
when running the following command line
ibdtools merge options received:
--ibd_in: 19.sibd
--meta_in: 19.meta
--ibd_out: 19.mibd
--max_snp: 1
--max_cm: 0.6
--mem: 10
I am getting this error:
Error from ../src/../include/ibdmerger.hpp:168:
I am not sure what it means by this error but when. I increased the memory to 500I received:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
any thought?
The text was updated successfully, but these errors were encountered: