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
There are a number of short identifier-sized pieces of metadata that are used across many GA4GH products. For example:
Reference sequence names
In SAM/BAM/CRAM, this is the @SQ-SN header field and RNAME/RNEXT/etc fields.
In VCF/BCF, it's the ##contigID.
In htsget, it's referenceName.
In refget, it may be returned as an alias.
These items of metadata are embedded within the surrounding text using various delimiters in these various formats and protocols. So there are various restrictions on what characters may appear in them so as to avoid conflicting with the delimiter characters or otherwise requiring complicated escaping or encoding mechanisms. It would be good to harmonise these restrictions across GA4GH products, so that a value that was e.g. a valid Sample identifier in one product could be assumed to also be valid in other products.
There are a number of short identifier-sized pieces of metadata that are used across many GA4GH products. For example:
Reference sequence names
In SAM/BAM/CRAM, this is the
@SQ-SNheader field andRNAME/RNEXT/etc fields.In VCF/BCF, it's the
##contigID.In htsget, it's
referenceName.In refget, it may be returned as an
alias.Sample identifiers
In SAM/BAM/CRAM, this is the
@RG-SMheader field.In VCF/BCF, it's the
##SAMPLEIDand it also appears on the#CHROMheader line.In htsget, it forms the bulk of the
pathpart of request URLs, and there is a proposal to encode samples in thequerypart as well (htsget: addsamplesquery parameter, principally to select subset of VCF columns samtools/hts-specs#430).In Phenopackets, it's a Biosample's
idfield.These items of metadata are embedded within the surrounding text using various delimiters in these various formats and protocols. So there are various restrictions on what characters may appear in them so as to avoid conflicting with the delimiter characters or otherwise requiring complicated escaping or encoding mechanisms. It would be good to harmonise these restrictions across GA4GH products, so that a value that was e.g. a valid Sample identifier in one product could be assumed to also be valid in other products.