[FEATURE] added _getQueryLength to extract query length from cigar string