verkkofillet.pp.fillGaps

Contents

verkkofillet.pp.fillGaps#

verkkofillet.pp.fillGaps(obj, gapId, final_path, notes=None, cat='gapFill_with_evidence')[source]#

Fills gaps for a specific gapId, updates the ‘fixedPath’, ‘startMatch’, ‘endMatch’, and ‘finalGaf’ columns.

Parameters:
  • obj – An verkko fillet object that contains the ‘gap’ DataFrame in obj.gaps.

  • gapId – The identifier for the gap.

  • final_path – The final path to fill the gap.

  • notes – The notes to add to the gap. Default is None.

  • cat – “gapFill_with_evidence”, “random_assign”, “maynot_correct”

Returns:

obj – The updated verkko fillet object.

Return type:

object