hts_parse_format

Accepts a string file format (sam, bam, cram, vcf, bam) optionally followed by a comma separated list of key=value options and splits these up into the fields of htsFormat struct.

Returns 0 on success -1 on failure.

extern (C)
int
hts_parse_format
(,
const(char)* str
)

Meta