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

[fix] Add VCF spanning deletion check #569

Merged
merged 1 commit into from Apr 7, 2023
Merged

[fix] Add VCF spanning deletion check #569

merged 1 commit into from Apr 7, 2023

Conversation

isinaltinkaya
Copy link
Collaborator

@isinaltinkaya isinaltinkaya commented Apr 7, 2023

Issue: VCF v4.2 introduced the use of asterisk notation (*) in ALTs to represent spanning deletions. If there are alternative alleles at a site, the ‘*’ allele is reserved to indicate that an allele allele is missing due to an upstream deletion. This was not considered in angsd VCF reading and led to segfaults. Fix: Add hasSpanningDeletion function to check if there is any spanning deletion and skip the sites with spanning deletion. Fixes #557

Add development-related files to gitignore:
-vgcore files from valgrind
-commit_message.txt commit message template

Issue: VCF v4.2 introduced the use of asterisk notation (*) in ALTs to represent spanning deletions. If there are alternative alleles at a site, the ‘*’ allele is reserved to indicate that an allele allele is missing due to an upstream deletion. This was not considered in angsd VCF reading and led to segfaults.
Fix: Add hasSpanningDeletion function to check if there is any spanning deletion and skip the sites with spanning deletion.
Fixes #557

Add development-related files to gitignore:
-vgcore files from valgrind
-commit_message.txt commit message template
@isinaltinkaya isinaltinkaya merged commit b7eb654 into master Apr 7, 2023
8 checks passed
@isinaltinkaya isinaltinkaya deleted the develop branch April 7, 2023 08:43
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

Successfully merging this pull request may close these issues.

Error message 'Segmentation fault'
1 participant