@param idx Index
@param tid Target ID
@paramout mapped Location to store number of mapped reads
@paramout unmapped Location to store number of unmapped reads
@return 0 on success; -1 on failure (data not available)
BAI and CSI indexes store information on the number of reads for each
target that were mapped or unmapped (unmapped reads will generally have
a paired read that is mapped to the target). This function returns this
infomation if it is available.
@note Cram CRAI indexes do not include this information.
@param idx Index @param tid Target ID @paramout mapped Location to store number of mapped reads @paramout unmapped Location to store number of unmapped reads @return 0 on success; -1 on failure (data not available)
BAI and CSI indexes store information on the number of reads for each target that were mapped or unmapped (unmapped reads will generally have a paired read that is mapped to the target). This function returns this infomation if it is available.
@note Cram CRAI indexes do not include this information.