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

Assertion `RSDDataset->numberOfSamples>=1' #51

Open
ChrisK1988 opened this issue Apr 12, 2024 · 2 comments
Open

Assertion `RSDDataset->numberOfSamples>=1' #51

ChrisK1988 opened this issue Apr 12, 2024 · 2 comments

Comments

@ChrisK1988
Copy link

ChrisK1988 commented Apr 12, 2024

Hello,

I have been using RAiSD on a modern human dataset with ~4100 individuals to assess positive selection segments across the genome. I have separated my VCFs by population and am getting an error with only one population. It errors out on the following command with the below issue and I am not sure how to fix it.

Command: ./RAiSD -n FIN -I Path/to/VCF/FIN_only.ALLChroms.vcf -R

RAiSD: sources/RAiSD_Dataset.c:1806: RSDDataset_getNumberOfSamples_vcf: Assertion `RSDDataset->numberOfSamples>=1' failed.
Aborted

The VCF files were created at different times but from the same original data source. They followed the same construction commands so I am not sure why this specific population is throwing an error. Based on the error it is suggesting that I have some issues with the samples, but that is not the case as the samples appear to be correct and have corresponding phased genotypes (like the rest of the data did).

Thank you for your help!

Chris

@alachins
Copy link
Owner

alachins commented May 21, 2024 via email

@ChrisK1988
Copy link
Author

Hi. Sorry for the very late comment back. The VCF file does contain samples and SNPs. I am not sure the underlying mechanics behind it, but it seems like the issue was resolved by updating a version of some of the dependencies, which is interesting because it worked before without the update.

At any rate, it is resolved and I appreciate the response.

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