@param p pileup data
@param m state data for the base modification finder
@param ins the kstring where the insertion sequence will be written
@param del_len location for deletion length
@return the number of insertion string on success, with string length
being accessable via ins->l; -1 on failure.
Fills out the kstring with the padded insertion sequence for the current
location in 'p'. If this is not an insertion site, the string is blank.
The modification state needs to have been previously initialised using
bam_parse_basemod. It is permitted to be passed in as NULL, in which
case this function outputs identically to bam_plp_insertion.
If del_len is not NULL, the location pointed to is set to the length of
any deletion immediately following the insertion, or zero if none.
@param p pileup data @param m state data for the base modification finder @param ins the kstring where the insertion sequence will be written @param del_len location for deletion length @return the number of insertion string on success, with string length being accessable via ins->l; -1 on failure.
Fills out the kstring with the padded insertion sequence for the current location in 'p'. If this is not an insertion site, the string is blank.
The modification state needs to have been previously initialised using bam_parse_basemod. It is permitted to be passed in as NULL, in which case this function outputs identically to bam_plp_insertion.
If del_len is not NULL, the location pointed to is set to the length of any deletion immediately following the insertion, or zero if none.