htsget: add samples query parameter, principally to select subset of VCF columns#430
htsget: add samples query parameter, principally to select subset of VCF columns#430mlin wants to merge 2 commits intosamtools:masterfrom
samples query parameter, principally to select subset of VCF columns#430Conversation
|
Can a sample name have a comma in it? (@daviesrob) |
|
Correct me if wrong, but it is not forbidden for a VCF sample name to contain a comma. One possibility is to specify URI encoding of each element in the comma-separated list, so any comma within the sample name would be percent-encoded. A comma-separated list of individually URI-encoded elements seems like it would be a slightly tortured construct, though. Another possibility is reverting to the first straw man idea of providing the list through repeated query parameters, where each individual parameter would then be query string encoded as usual, e.g. The wart is that it's dissimilar from the existing |
|
Another idea: the default delimiter be comma and then have a parameter to control the delimiter? |
|
@daviesrob suggestion: percent-encoded tab delimiter |
|
Also, can sampleID be empty? |
e.g.
Previously I circulated a different version of this with a repeated
sample=xquery parameter. This single, comma separated list is more consistent with the existingfields&tagsquery parameters.