You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than storing the entire header as a single string attribute, we should store all non-redundant header entries as a list of name,value tuples.
Non redundant here means not storing CONTIG, INFO, FILTER and FORMAT header entries as these are already fully encoded elsewhere.
We store the header metadata as a list of (name, value) tuples because there is no requirement that keys are unique. Header information SHOULD be stored in the same order that the items appear in the original header.
I think this is sufficient for lossless round-tripping.
The text was updated successfully, but these errors were encountered:
Rather than storing the entire header as a single string attribute, we should store all non-redundant header entries as a list of name,value tuples.
Non redundant here means not storing CONTIG, INFO, FILTER and FORMAT header entries as these are already fully encoded elsewhere.
We store the header metadata as a list of (name, value) tuples because there is no requirement that keys are unique. Header information SHOULD be stored in the same order that the items appear in the original header.
I think this is sufficient for lossless round-tripping.
The text was updated successfully, but these errors were encountered: