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.