fai_parse_region

@param fai Pointer to the faidx_t struct @param s Region string @param tid Returns which i-th sequence is described in the region. @param beg Returns the start of the region (0 based) @param end Returns the one past last of the region (0 based) @param flags Parsing method, see HTS_PARSE_* in hts.h. @return pointer to end of parsed s if successs, NULL if not.

To work around ambiguous parsing issues, eg both "chr1" and "chr1:100-200" are reference names, quote using curly braces. Thus "{chr1}:100-200" and "{chr1:100-200}" disambiguate the above example.

extern (C)
const(char)*
fai_parse_region
(
const(faidx_t)* fai
,
const(char)* s
,
int* tid
,,,
int flags
)

Meta