verkkofillet.pp.connectContigs

Contents

verkkofillet.pp.connectContigs#

verkkofillet.pp.connectContigs(obj, contig, contig_to, at='left', gap='[N5000N:connectContig]', flip=False)[source]#

Connects two contigs by adding a gap between them.

Parameters:
  • obj – The VerkkoFillet object to be used.

  • contig – The name of the contig to connect.

  • contig_to – The name of the contig to connect to.

  • at – The position to connect the contig. Default is β€œleft”. Other option is β€œright”.

  • gap – The gap to add between the contigs. Default is β€œ[N5000N:connectContig]”.

  • flip – Whether to flip the path from contig. Default is False. If True, the path will be flipped.

Returns:

The updated VerkkoFillet object with new gap added.