Infers the schema of a set of BGEN files from the user-provided options and the header of each
file.
Currently the implementation is very simple. It checks if sample IDs are defined in either a
.sample file or in any of the headers. If so, it returns a fixed schema that includes a
sampleId genotype field. If not, it returns the same schema without a sampleId field.
Infers the schema of a set of BGEN files from the user-provided options and the header of each file.
Currently the implementation is very simple. It checks if sample IDs are defined in either a .sample file or in any of the headers. If so, it returns a fixed schema that includes a
sampleId
genotype field. If not, it returns the same schema without asampleId
field.