@param fai Pointer to the faidx_t struct
@param reg Region in the format "chr2:20,000-30,000"
@param len Length of the region; -2 if seq not present, -1 general error
@return Pointer to the sequence; NULL on failure
The returned sequence is allocated by malloc() family and should be destroyed
by end users by calling free() on it.
@param fai Pointer to the faidx_t struct @param reg Region in the format "chr2:20,000-30,000" @param len Length of the region; -2 if seq not present, -1 general error @return Pointer to the sequence; NULL on failure
The returned sequence is allocated by malloc() family and should be destroyed by end users by calling free() on it.