hts-specs icon indicating copy to clipboard operation
hts-specs copied to clipboard

Clarification of empty vector representation

Open pd3 opened this issue 2 years ago • 3 comments

as triggered by https://github.com/samtools/bcftools/issues/1622 and https://github.com/samtools/hts-specs/issues/593

State explicitly that missing vectors (.) in fields of variable length are in BCF represented as MISSING,END_OF_VECTOR, i.e. the leading MISSING value must be always present.

pd3 avatar Dec 16 '21 10:12 pd3

Changed PDFs as of 9a5fdb0: VCFv4.3 (diff). This link will expire in 30 days

hts-specs-bot avatar Dec 16 '21 10:12 hts-specs-bot

#593 makes a case that [END_OF_VECTOR, END_OF_VECTOR] would also be a reasonable encoding of this situation.

What is the reason for requiring that “[e]mpty vectors (i.e. vectors with no data available)” be represented as [MISSING, END_OF_VECTOR] (which is seemingly less empty!)?

jmarshall avatar Feb 01 '22 14:02 jmarshall