Skip to content

Reject VCF/BCF records with no REF allele#1204

Merged
pd3 merged 1 commit intosamtools:developfrom
daviesrob:check_for_ref
Jan 26, 2021
Merged

Reject VCF/BCF records with no REF allele#1204
pd3 merged 1 commit intosamtools:developfrom
daviesrob:check_for_ref

Conversation

@daviesrob
Copy link
Copy Markdown
Member

The specification says REF must be present, so reject reads that do not have one. Fixes a crash reported in bcf_sr_sort_set() which expects REF to be present.

Fixes samtools/bcftools#1361 (bcftools merge segfault when REF and ALT are unset)

The specification says REF must be present, so reject reads that
do not have one.  Fixes a crash reported in bcf_sr_sort_set()
which expects REF to be present.

Fixes samtools/bcftools#1361 (bcftools merge segfault when REF and
ALT are unset)
@pd3 pd3 merged commit a64c6c8 into samtools:develop Jan 26, 2021
@daviesrob daviesrob deleted the check_for_ref branch January 26, 2021 14:06
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.

bcftools merge segfault when REF and ALT are unset.

2 participants