Gap Filling as Exact Path Length Problem.

Salmela L, Sahlin K, Mäkinen V, Tomescu AI

J. Comput. Biol. 23 (5) 347-361 [2016-05-00; online 2016-03-09]

One of the last steps in a genome assembly project is filling the gaps between consecutive contigs in the scaffolds. This problem can be naturally stated as finding an s-t path in a directed graph whose sum of arc costs belongs to a given range (the estimate on the gap length). Here s and t are any two contigs flanking a gap. This problem is known to be NP-hard in general. Here we derive a simpler dynamic programming solution than already known, pseudo-polynomial in the maximum value of the input range. We implemented various practical optimizations to it, and compared our exact gap-filling solution experimentally to popular gap-filling tools. Summing over all the bacterial assemblies considered in our experiments, we can in total fill 76% more gaps than the best previous tool, and the gaps filled by our method span 136% more sequence. Furthermore, the error level of the newly introduced sequence is comparable to that of the previous tools. The experiments also show that our exact approach does not easily scale to larger genomes, where the problem is in general difficult for all tools.

Affiliated researcher

Kristoffer Sahlin

SciLifeLab Fellow

PubMed 26959081

DOI 10.1089/cmb.2015.0197

Crossref 10.1089/cmb.2015.0197


Publications 9.5.1