Genome rearrangements with indels in intergenes restrict the scenario space
 562 Downloads
Abstract
Background
Given two genomes that have diverged by a series of rearrangements, we infer minimum Double CutandJoin (DCJ) scenarios to explain their organization differences, coupled with indel scenarios to explain their intergene size distribution, where DCJs themselves also alter the sizes of broken intergenes.
Results
We give a polynomialtime algorithm that, given two genomes with arbitrary intergene size distributions, outputs a DCJ scenario which optimizes on the number of DCJs, and given this optimal number of DCJs, optimizes on the total sum of the sizes of the indels.
Conclusions
We show that there is a valuable information in the intergene sizes concerning the rearrangement scenario itself. On simulated data we show that statistical properties of the inferred scenarios are closer to the true ones than DCJ only scenarios, i.e. scenarios which do not handle intergene sizes.
Keywords
DCJ Intergenic regions Indels Genome rearrangementsBackground
In a previous publication [1], we have argued that intergenic sizes were a crucial parameter to infer genome rearrangement distances. Indeed, ignoring this information, as all published distance estimations were doing so far [2], leads to strong biases in all estimations and validation procedures. Here we explore the information contained in intergene size distributions, not for rearrangement distances but for rearrangement scenarios. We use a weighted DCJ operation that acts both on gene order and intergene sizes [3]. In addition, in order to account for all the size variations in intergenic regions, we introduce the possibility of performing indels in intergenes.
We present a polynomialtime algorithm that reconstructs a DCJ scenario which optimizes on the number of DCJs, and given this optimal number of DCJs, optimizes on the total size of the indels. We use it to restrict the solution space of rearrangement scenarios. Indeed it is known that such a space is huge [4, 5], which makes it hard to analyze; several methods have thus been devised to add genomic or epigenomic constraints to restrict the search space [6, 7, 8]. So far, the potential of intergenic sizes has only been explored for distance computations [1, 3]. We show that it can also contain information on the scenarios, by characterizing categories of DCJs that can be used in optimal DCJs and indels scenarios.
In “Statement of the problem” section we define the model, give mathematical objects for genomes and rearrangement operations, from which we derive and prove some useful properties. Then we describe our algorithm in “Methods” section. We finally give the results of an implementation of our algorithm on simulated genomes, showing the limits of optimizing on indel sizes due to signal saturation, and how this optimization can improve the statistical properties of inferred DCJ scenarios. In the last section we explicit the limits of using this approach on biological data, and discuss some possible improvements on the model.
Statement of the problem
Genomes and DCJ
A genome g is defined as a set of n pairwise disjoint edges within a set of 2n vertices V (i.e., a perfect matching). A genome is weighted if a non negative integer weight (denoted by function w) is assigned to each edge, and unweighted otherwise. For the relation of this definition with various usual definitions of genomes in the context of rearrangements, see [2, 3, 9].
A DCJ is an operation on an unweighted genome transforming any pair of edges ab and cd into ac and bd. A wDCJ [3] acts similarly on a weighted genome, and additionally reassigns weights to the newly formed edges with the condition that w(a c)+w(b d)=w(a b)+w(c d), while the weight of the other edges remains unchanged. To any wDCJ can thus be associated an underlying DCJ, of which it is said to be a weighted realization.
An indel of size δ (where δ is a strictly positive integer) is an operation on a weighted genome consisting in increasing or decreasing the weight of an edge by δ.
Breakpoint graph and valid scenario
Given two genomes g _{1} and g _{2} on the same vertex set V, we define the breakpoint graph as BG(g _{1},g _{2})=(V,g _{1}∪g _{2}). This is a 2regular multigraph which can be partitioned into vertexdisjoint cycles, each of even length (the length of a cycle being defined as the number of edges it contains). A cycle of length 2 (thus consisting of twice the same edge: one from g _{1} and one from g _{2}) is called trivial. In the case of weighted genomes, a trivial cycle containing edges e _{1} and e _{2} is said to be balanced if w(e _{1})=w(e _{2}).
A wDCJ scenario with indels is a sequence of wDCJs and indels transforming one genome into the other (or, equivalently, transforming BG(g _{1},g _{2}) into n trivial balanced cycles). It is valid if the underlying wDCJ scenario is valid. Its cost c(g _{1},g _{2}) is the sum of the sizes of the indels it contains.
Balancing cycles
Given a path (or cycle) P of a breakpoint graph BG(g _{1},g _{2}), seen as a set of edges, let \(w_{i}(P)=\sum _{e\in P\cap g_{i}} w(e)\) for i∈{1,2}. Path P has imbalance I(P)=w _{1}(P)−w _{2}(P) and absolute imbalance I(P). The imbalance of a breakpoint graph I(BG(g _{1},g _{2})) is the sum of the absolute imbalances of the cycles it contains.
Given g _{1} and g _{2}, a wDCJ on g _{1} that yields g1′ is called steady (resp. increasing, decreasing) if the imbalance of the breakpoint graph remains unchanged (resp. increases, decreases), i.e. I(BG(g _{1},g _{2}))=I(BG(g1′,g _{2})) (resp. I(BG(g _{1},g _{2}))<I(BG(g1′,g _{2})), I(BG(g _{1},g _{2}))>I(BG(g1′,g _{2}))).
Sorting by wDCJs and indels in intergenes
SORTING BY WDCJS AND INDELS IN INTERGENES 
Instance : Two genomes g _{1} and g _{2} defined on the same 
set V of vertices. 
Find : A valid wDCJ scenario with indels, whose cost 
c(g _{1},g _{2}) is minimized. 
In other words, the above problem asks for a wDCJ scenario of minimum length (since it must only contain valid wDCJs) that, on the way, performs small indels in order to balance the intergene size. This definition is motivated by a parsimony argument: we look for a scenario minimizing the amount of genome events, especially largescale events such as DCJs.
In the following, for ease of presentation, instead of considering wDCJ scenarios with indels that act on only one genome (e.g. g _{1}) in order to reach the other, we actually consider wDCJ scenarios with indels acting on both g _{1} and g _{2}, until both genomes become identical (i.e., until the breakpoint graph contains only balanced trivial cycles). This approach implicitly yields a scenario of same cost for transforming g _{1} into g _{2}: first apply all wDCJs and indels for g _{1}, in the same order, then apply all inverses of the wDCJs and indels for g _{2} in reverse order.
In the following, we prove that in any wDCJs and indels scenario, the minimum cost of the indels is equal to the total imbalance of the breakpoint graph, I(BG(g _{1},g _{2})). We also provide a polynomialtime algorithm that outputs a valid wDCJ scenario with indels which achieves such cost.
Methods
In this section, we present our algorithm for sorting by wDCJs and indels in intergenes. In the following, we define a simple condition on the weights of a pair of edges in BG(g _{1},g _{2}). If this condition is fulfilled, such a pair will be called bounded. We then prove that there always exists a pair of bounded edges in a breakpoint graph (Lemma 1), and that any valid DCJ using a bounded pair of edges can be extended into a weighted realization keeping the total imbalance of the graph unchanged (Lemma 2). Along the way, we additionally show that no valid wDCJ can decrease the imbalance of the breakpoint graph, and that any steady scenario (i.e., any scenario using steady wDCJs only) must use only bounded pairs. In other words, we give a necessary and sufficient condition for a wDCJ to belong to an optimal scenario in terms of number of DCJs plus sizes of indels.
Definition 1
If e,f are both in g _{2}, the same definition applies using −I instead of I for computing the imbalance.
We first prove that there is always a bounded pair in a breakpoint graph of two weighted genomes.
Lemma 1
Let C be a nontrivial cycle, e _{ m } be an edge of minimum weight in C, and e,f be the two neighboring edges of e _{ m } in C. Then (e,f) is a bounded pair.
Proof
Assume wlog that e _{ m } is in g _{2} and e,f are in g _{1}. After removing e,f, one obtains two paths: P _{1}={e _{ m }} and P _{2}=C∖{e,f,e _{ m }}. Let W=w(e)+w(f). For the first path, we have I(P _{1})≤0 and I(P _{1})≥− min(w(e),w(f))≥−W, since I(P _{1})=−w(e _{ m }). Consider now P _{2}, and note that I(P _{2})=I(C)−W+w(e _{ m }). Hence, if I(C)≥0, we have I(P _{2})≥−W. Otherwise, since w(e _{ m })≤W, we have I(P _{2})≤I(C)≤0. □
We now prove that bounded pairs can be used to perform wDCJs preserving the total imbalance of the breakpoint graph.
Lemma 2
Let g _{1} and g _{2} be two weighted genomes, and consider a valid wDCJ transforming g _{1} into g1′. Then this wDCJ cannot be decreasing, and, if it is steady, then the pair of edges it is applied on is bounded. Conversely, any bounded pair of edges can be used to form a valid steady wDCJ.
Proof
Let e and f be the edges used by the wDCJ, e ^{′} and f ^{′} be the two edges it creates, C be the cycle containing both e and f, P _{1},P _{2} be the two paths obtained by removing e,f from C, and C _{1}=P _{1}∪{e ^{′}} and C _{2}=P _{2}∪{f ^{′}} be the two cycles created by the wDCJ.

If I(C)≥0, then I(C _{1})≥0 and I(C _{2})≥0. Hence, I(P _{1})+w(e ^{′})≥0 and I(P _{1})≥−W. Similarly I(P _{2})≥−W.

If I(C)<0, then I(C _{1})≤0 and I(C _{2})≤0. Hence, I(P _{1})+w(e ^{′})≤0 and I(P _{1})≤0. Similarly I(P _{2})≤0.
In both cases, the pair (e,f) is bounded.

If I(C)≥0 and I(P _{1})≤0, let w(e ^{′}):=−I(P _{1}) and w(f ^{′}):=W−w(e ^{′})=W+I(P _{1}). Then both quantities are positive (since by assumption I(P _{1})≥−W), I(C _{1})=I(P _{1})+w(e ^{′})≥0, and I(C _{2})=I(P _{2})+w(f ^{′})=I(C)≥0.

If I(C)≥0, I(P _{1})≥0 and I(P _{2})≥0, then any assignment of the weights (say, w(e ^{′})=w(f ^{′}):=W/2) satisfies I(C _{1})≥0, and I(C _{2})≥0.

If I(C)≥0 and I(P _{2})≤0, we are in a case similar to the first one: it thus suffices to set w(f ^{′}):=−I(P _{2}) and w(e ^{′}):=W−w(f ^{′}).

If I(C)<0, then I(P _{1})≤0 and I(P _{2})≤0, and I(P _{1})+I(P _{2})+W=I(C). We let w(e ^{′}):= min(−I(P _{1}),W) and w(f ^{′}):=W−w(e ^{′}). Then I(C _{1})=I(P _{1})+w(e ^{′})≤I(P _{1})+(−I(P _{1})), and consequently I(C _{1})≤0.
We now have two cases to consider.
if −I(P _{1})≥W, then w(e ^{′})=W. Thus I(C _{2})=I(P _{2})+W−W=I(P _{2}), from which we conclude I(C _{2})≤0.

if −I(P _{1})<W, then w(e ^{′})=−I(P _{1}), and consequently I(C _{2})=I(P _{2})+W+I(P _{1})=I(C), and we also have I(C _{2})≤0.

In all cases, the imbalance of the two created cycles have the same sign as the imbalance of C, so I(C)=I(C _{1})+I(C _{2}), and the wDCJ is steady. □
By the above lemma, we know that no valid wDCJ scenario can be decreasing. Consequently, only an indel can reduce the imbalance of the breakpoint graph. We thus have the following corollary.
Corollary 1
Any valid wDCJ scenario with indels between two weighted genomes g _{1} and g _{2} satisfies c(g _{1},g _{2})≥I(BG(g _{1},g _{2})).
We now formally introduce our algorithm that optimally solves SORTING BY WDCJS AND INDELS IN INTERGENES for two genomes g _{1} and g _{2} (Algorithm 1).
Theorem 1
Algorithm 1 solves SORTING BY WDCJS AND INDELS IN INTERGENES in time O(n logn).
Proof
We first need a straightforward sanity check on Algorithm 1. First note that applying Line 4 is always possible due to Lemmas 1 and 2 (the edges neighboring e _{ m } form a bounded pair, and this pair yields a steady wDCJ). Algorithm 1 yields two scenarios transforming g _{1} (resp. g _{2}) into identical genomes (as obtained when the breakpoint graph contains only balanced trivial cycles), which in turn is equivalent to outputting a single scenario from g _{1} to g _{2} with the same cost. By Corollary 1, we know that I(BG(g _{1},g _{2})) is a lower bound on the cost of any valid wDCJ scenario with indels. Moreover, during the first while loop (Lines 2–5) our algorithm produces a scenario using only steady wDCJs, hence the imbalance of any intermediate breakpoint graph is the same as the original, i.e. I(BG(g _{1},g _{2})). During the second while loop (Lines 6–8), an indel of size I(C) is performed for each imbalanced cycle, hence the total cost of indels is I(BG(g _{1},g _{2})).
Overall Algorithm 1 is correct and reaches the lower bound of I(BG(g _{1},g _{2})) for the cost of the indels, hence it is optimal.
The running time can be achieved by sorting the edges by weight once (in O(n logn) time), and then keeping this structure sorted through wDCJs (each wDCJ needs to read and edit a constant number of weights, with cost O(logn) each time). □
Results and Discussion
In order to test the efficiency of our model and algorithmic result, we constructed simulated data in the following way: start with an arbitrary genome with n=1 000 edges, with arbitrary non negative integer weights of total sum 1 000·n. Perform a burnin step of 100 000 wDCJs, such that each couple of distinct edges ab and cd is equiprobable, and transform these edges into ac and bd (or with the same probability into ad and bc). The weights of the resulting edges ac and bd are chosen by picking two random numbers r _{1} and r _{2} uniformly in resp. [0,w(a b)] and [0,w(c d)]. The abovementioned burnin step is performed so that the weight distribution reaches an equilibrium.
Then from the resulting genome, we perform 500 wDCJs in the same way. We limited ourselves to 500 wDCJs after the starting point because it is the expected point where real scenarios stop to be parsimonious in terms of the number of DCJs. So over this point, computing parsimonious scenarios and comparing them to the real ones has less sense. Concerning the indels, between two wDCJs, we perform an indel in each edge with a certain probability p. We generated four sets of simulated data, one for each p∈{0,10^{−3},10^{−2},10^{−1}}. An indel consists in picking a random number in an exponential law with mean 1, and randomly adding or retracting its integer part δ to the edge weight.
We then discarded the simulation with probability p=0.1, since the results are too divergent from the simulated numbers – in other words, our model cannot handle such an indel rate. For each of the three remaining simulations, we first computed a random DCJ scenario, consisting in picking a random valid DCJ at each step, without consideration towards the weights. We then drew a random wDCJ scenario with indels – that we will denote by wDCJ scenario in the following. The wDCJ scenario is constructed from a randomized variant of Algorithm 1 which works as follows: in Line 4, instead of picking a bounded pair of edges in a deterministic way, we pick a random bounded pair of edges, by sampling random wDCJs until one is picked that acts on a bounded pair of edges.
We then tested the ability of our algorithm to produce scenarios that are closer to the real ones. We measured in particular, for each vertex of the breakpoint graph (i.e., each gene extremity), how many times a wDCJ chose an incident edge in one scenario. This gives, for one scenario, a vector with one entry per vertex, and a reconstructed scenario can be compared with a real one. We could compare two scenarios by computing the sum of the squares of the differences between each vector entry.
We checked that with this measure the computed wDCJ scenario was in mean less distant to the real scenario than a random wDCJ scenario, for all simulation conditions (with a mean improvement of 4, 1, 1.7 and 2.7 % for p=0, 0.001, 0.01 and 0.1 respectively). This again argues for the existence of information on the real scenario in the intergene sizes. However the difference with random scenarios, while real, is not sufficiently spectacular to encourage us to test the algorithm on real genomic data. This would require a finer model.
Conclusions
The contribution of this paper is twofold. First, the definition of weighted genomes [1, 3] opens combinatorial questions, one of which being the transformation of a genome into another in a minimum number of steps. In a previous paper [3] we solved the strict version of this problem, where genomes were forced to have the same total intergene sizes and only wDCJs were allowed. Here we add some flexibility to the problem, which allows all pairs of genomes to be compared, while indels are introduced to account for possible deviations in intergene sizes. Thus the present model is definitely closer to reality, where two genomes, even very close, cannot be expected to contain exactly the same total intergene sizes.
We give a polynomial solution to the distance problem, where only wDCJ optimal scenarios are allowed, and the total indel size of a scenario is minimized.
Second, this combinatorial question is related to the choice of a DCJ scenario among the many possible ones. It is a crucial question for several biological studies, about potential rearrangement hotspots for example [11]. Pevzner and Tesler [11] concluded about the existence of hotspots from the inversion distance computation, but were unable to localize them. It has even been argued that the conclusion on the existence of hotspots might depend on the choice of the scenario [12]. So it is important to exploit every available information on what might have been real scenarios. We show that some information is available in intergene sizes, by defining a necessary and sufficient property for a wDCJ to participate to an optimal scenario.
Additional work is necessary to use this information on biological data. Indeed, if there is information about the scenarios in intergene sizes, our combinatorial algorithm does not exploit it entirely. The solution space of our restricted version is still too large to propose a small number of scenarios with confidence. Statistical properties of the subspace of solutions are only slightly closer to true scenarios than statistical properties of the whole space.
Consequently, this work opens several perspectives concerning the model, and more precisely the scoring function that should be used. One possibility is to weight indels differently. For example, one could weight an indel by an affine or an exponential function of its length. This would be biologically more relevant and would also restrict further the scenario space. Another possibility is to extend our model so as to allow other wDCJs than valid ones, i.e. wDCJs that either decrease or do not change the number of cycles in the breakpoint graph. This would allow more flexibility as, for instance, merging two unbalanced cycles may lead to a balanced one, and may thus avoid some further indels. This, however, raises the question of a good scoring function, since four events are allowed in that case (indels, and 3 types of wDCJs, depending on whether the number of cycles is decreased, unchanged or increased), and one should cleverly weight each such event.
In all cases, the study of such optimization problems, ranging from combinatorial properties to algorithmic solutions to validation of the model (via e.g. tests on simulated and real data) remains open.
Notes
References
 1.Biller P, Knibbe C, Guéguen L, Tannier E. Breaking good: accounting for the diversity of fragile regions for estimating rearrangement distances. Genome Biol Evol. 2016; 8:1427–39.CrossRefPubMedPubMedCentralGoogle Scholar
 2.Fertin G, Labarre A, Rusu I, Tannier E, Vialette S. Combinatorics of Genome Rearrangements. Computational Molecular Biology. Cambridge: MIT Press; 2009.CrossRefGoogle Scholar
 3.Fertin G, Jean G, Tannier E. Genome rearrangements on both gene order and intergenic regions In: Springer, editor. WABI 2016. Lecture Notes in Bioinformatics. 2016;9838:162–73.Google Scholar
 4.Braga M, Sagot MF, Scornavacca C, Tannier E. Exploring the solution space of sorting by reversals with experiments and an application to evolution. IEEEACM Trans Comput Biol Bioinforma. 2008; 5:348–56.CrossRefGoogle Scholar
 5.Braga MDV, Stoye J. The solution space of sorting by DCJ. J Comput Biol. 2010; 17:1145–65.CrossRefPubMedGoogle Scholar
 6.Diekmann Y, Sagot MF, Tannier E. Evolution under reversals: Parsimony and conservation of common intervals. IEEEACM Trans Comput Biol Bioinforma. 2007; 4:301–9.CrossRefGoogle Scholar
 7.Baudet C, Dias U, Dias Z. Length and symmetry on the sorting by weighted inversions problem. In: Advances in Bioinformatics and Computational Biology (proceedings of BSB’14). Lecture Notes in Computer Science. vol. 8826. Springer: 2014. p. 99–106.Google Scholar
 8.Swenson KM, Blanchette M. Models and algorithms for genome rearrangement with positional constraints. In: Algorithms in Bioinformatics  15th International Workshop, WABI 2015, Atlanta, GA, USA, September 1012, 2015, Proceedings. Springer: 2015. p. 243–56.Google Scholar
 9.Biller P, Guéguen L, Tannier E. Moments of genome evolution by double cutandjoin. BMC Bioinforma. 2015; 16:7.CrossRefGoogle Scholar
 10.Yancopoulos S, Attie O, Friedberg R. Efficient sorting of genomic permutations by translocation, inversion and block interchange. Bioinformatics. 2005; 21(16):3340–346.CrossRefPubMedGoogle Scholar
 11.Pevzner P, Tesler G. Human and mouse genomic sequences reveal extensive breakpoint reuse in mammalian evolution. Proc Natl Acad Sci U S A. 2003; 100(13):7672–677.CrossRefPubMedPubMedCentralGoogle Scholar
 12.Attie O, Darling AE, Yancopoulos S. The rise and fall of breakpoint reuse depending on genome resolution. BMC Bioinforma. 2011; 12 Suppl 9:1.CrossRefGoogle Scholar
Copyright information
Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/) applies to the data made available in this article, unless otherwise stated.