superstring graph in compact space
play

Superstring Graph in compact space Bastien Cazaux and Eric Rivals - PowerPoint PPT Presentation

Superstring Graph in compact space Bastien Cazaux and Eric Rivals LIRMM & IBC, Montpellier February 5, 2020 (DSB 2020) Bastien Cazaux and Eric Rivals 1 / 1 Superstring Problems Bastien Cazaux and Eric Rivals 2 / 1 Linear and


  1. Superstring Graph in compact space Bastien Cazaux and Eric Rivals ∗ ∗ LIRMM & IBC, Montpellier February 5, 2020 (DSB 2020) Bastien Cazaux and Eric Rivals ∗ 1 / 1

  2. Superstring Problems Bastien Cazaux and Eric Rivals ∗ 2 / 1

  3. Linear and Cyclic words a b b a b b b a b a b b Bastien Cazaux and Eric Rivals ∗ 3 / 1

  4. Notation Definition [Gusfield 1997] Let w a string. ◮ a substring of w is a string included in w , ◮ a prefix of w is a substring which begins w and ◮ a suffix is a substring which ends w . ◮ an overlap from w over v is a suffix of w that is also a prefix of v . w a b a b b a b a a a Bastien Cazaux and Eric Rivals ∗ 4 / 1

  5. Notation Definition [Gusfield 1997] Let w a string. ◮ a substring of w is a string included in w , ◮ a prefix of w is a substring which begins w and ◮ a suffix is a substring which ends w . ◮ an overlap from w over v is a suffix of w that is also a prefix of v . w a b a b b a b a a a Bastien Cazaux and Eric Rivals ∗ 4 / 1

  6. Notation Definition [Gusfield 1997] Let w a string. ◮ a substring of w is a string included in w , ◮ a prefix of w is a substring which begins w and ◮ a suffix is a substring which ends w . ◮ an overlap from w over v is a suffix of w that is also a prefix of v . w a b a b b a b a a a Bastien Cazaux and Eric Rivals ∗ 4 / 1

  7. Notation Definition [Gusfield 1997] Let w a string. ◮ a substring of w is a string included in w , ◮ a prefix of w is a substring which begins w and ◮ a suffix is a substring which ends w . ◮ an overlap from w over v is a suffix of w that is also a prefix of v . w a b a b b a b a a a Bastien Cazaux and Eric Rivals ∗ 4 / 1

  8. Notation Definition [Gusfield 1997] Let w a string. ◮ a substring of w is a string included in w , ◮ a prefix of w is a substring which begins w and ◮ a suffix is a substring which ends w . ◮ an overlap from w over v is a suffix of w that is also a prefix of v . w a b a b b a b a a a v a b a a a b b b b Bastien Cazaux and Eric Rivals ∗ 4 / 1

  9. Notation Definition [Gusfield 1997] Let w a string. ◮ a substring of w is a string included in w , ◮ a prefix of w is a substring which begins w and ◮ a suffix is a substring which ends w . ◮ an overlap from w over v is a suffix of w that is also a prefix of v . w a b a b b a b a a a v a b a a a b b b b Bastien Cazaux and Eric Rivals ∗ 4 / 1

  10. Notation Definition [Gusfield 1997] Let w a string. ◮ a substring of w is a string included in w , ◮ a prefix of w is a substring which begins w and ◮ a suffix is a substring which ends w . ◮ an overlap from w over v is a suffix of w that is also a prefix of v . w a b a b b a b a a a v a b a a a b b b b u a b a a a Bastien Cazaux and Eric Rivals ∗ 4 / 1

  11. Notation Definition [Gusfield 1997] Let w a string. ◮ a substring of w is a string included in w , ◮ a prefix of w is a substring which begins w and ◮ a suffix is a substring which ends w . ◮ an overlap from w over v is a suffix of w that is also a prefix of v . w a b a b b a b a a a v a b a a a b b b b u a b a b b a b a a a b b b b pr ( w , v ) ov ( w , v ) su ( w , v ) w v M Bastien Cazaux and Eric Rivals ∗ 4 / 1

  12. Superstring Definition Let P = { s 1 , s 2 ,..., s p } be a set of strings. A superstring of P is a string w such that any s i is a substring of w . s 3 : a a b s 2 : a b s 1 : a a b w : a a a a b b 1 2 3 4 5 6 Bastien Cazaux and Eric Rivals ∗ 5 / 1

  13. Shortest Superstrings problems Input Bastien Cazaux and Eric Rivals ∗ 6 / 1

  14. Shortest Superstrings problems Shortest Linear Superstring Input Bastien Cazaux and Eric Rivals ∗ 6 / 1

  15. Shortest Superstrings problems Shortest Linear Superstring Input Shortest Cyclic Superstring Bastien Cazaux and Eric Rivals ∗ 6 / 1

  16. Shortest Superstrings problems Shortest Linear Superstring Input Shortest Cyclic Superstring Shortest Cyclic Cover of Strings Bastien Cazaux and Eric Rivals ∗ 6 / 1

  17. Shortest Superstrings problems ◮ NP-hard [Gallant 1980] ◮ APX-hard [Blum 1991] Shortest Linear Superstring ◮ Approximation 2 + 11 30 [Paluch 2015] Input Shortest Cyclic Superstring ◮ NP-hard [Cazaux PhD 2016] Shortest Cyclic Cover of Strings Bastien Cazaux and Eric Rivals ∗ 6 / 1

  18. Shortest Superstrings problems ◮ NP-hard [Gallant 1980] ◮ APX-hard [Blum 1991] Shortest Linear Superstring ◮ Approximation 2 + 11 30 [Paluch 2015] Input Shortest Cyclic Superstring ◮ NP-hard [Cazaux PhD 2016] Shortest Cyclic Cover of Strings ◮ In O ( | P | 3 + || P || ) time [Papadimitriou 1982] ◮ Linear time in || P || [Cazaux, Rivals JDA 2016] Bastien Cazaux and Eric Rivals ∗ 6 / 1

  19. Superstring Graph One graph to rule them all Bastien Cazaux and Eric Rivals ∗ 7 / 1

  20. Greedy Algorithm for SCCS a a b a b b a a b a a a b a b b Bastien Cazaux and Eric Rivals ∗ 8 / 1

  21. Greedy Algorithm for SCCS | ov ( ababb , abba ) | = | abb | = 3 a a b a b b a a b a a a b a b b Bastien Cazaux and Eric Rivals ∗ 8 / 1

  22. Greedy Algorithm for SCCS | ov ( ababb , abba ) | = | abb | = 3 a a b a b b a a b b a a b a b b a b a a a b a b b a a b a b b Bastien Cazaux and Eric Rivals ∗ 8 / 1

  23. Greedy Algorithm for SCCS | ov ( ababb , abba ) | = | abb | = 3 a a b a b a b b a a b a a a b a b b a Bastien Cazaux and Eric Rivals ∗ 8 / 1

  24. Greedy Algorithm for SCCS | ov ( abaa , aab ) | = | aa | = 2 a a b a b a b b a a b a a a a b a b a a a b a a b Bastien Cazaux and Eric Rivals ∗ 8 / 1

  25. Greedy Algorithm for SCCS | ov ( abaa , aab ) | = | aa | = 2 a b a a b a b a b b a a b a a b Bastien Cazaux and Eric Rivals ∗ 8 / 1

  26. Greedy Algorithm for SCCS | ov ( abaab , abaab ) | = | ab | = 2 a b a a b a b a b b a a b a a b a b a a b a a b Bastien Cazaux and Eric Rivals ∗ 8 / 1

  27. Greedy Algorithm for SCCS | ov ( abaab , abaab ) | = | ab | = 2 a a b a b a b b a a a b Bastien Cazaux and Eric Rivals ∗ 8 / 1

  28. Greedy Algorithm for SCCS An other solution a a a b b a b a a b b a b b b a Theorem [Cazaux et al. 2014] The greedy algorithm solves exactly the Shortest Cyclic Cover of Strings problem. Bastien Cazaux and Eric Rivals ∗ 8 / 1

  29. Extended Hierarchical Overlap Graph (EHOG) ababb aab abba abaa Bastien Cazaux and Eric Rivals ∗ 9 / 1

  30. Extended Hierarchical Overlap Graph (EHOG) ababb aab ab abb ε a aa abba abaa Bastien Cazaux and Eric Rivals ∗ 9 / 1

  31. Extended Hierarchical Overlap Graph (EHOG) ababb aab ab abb ε a aa abba abaa Bastien Cazaux and Eric Rivals ∗ 9 / 1

  32. Extended Hierarchical Overlap Graph (EHOG) ababb aab ab abb ε a aa abba abaa Bastien Cazaux and Eric Rivals ∗ 9 / 1

  33. Extended Hierarchical Overlap Graph (EHOG) ababb aab ab abb ε a aa abba abaa Bastien Cazaux and Eric Rivals ∗ 9 / 1

  34. Permutation of words on the EHOG ababb abba aab abaa ababb aab ab abb ε a aa abba abaa Bastien Cazaux and Eric Rivals ∗ 10 / 1

  35. Results on the Superstring Graph Definition All the solutions of the greedy algorithm for SCCS give the same graph on the EHOG, and it is called Superstring Graph. Bastien Cazaux and Eric Rivals ∗ 11 / 1

  36. Results on the Superstring Graph Definition All the solutions of the greedy algorithm for SCCS give the same graph on the EHOG, and it is called Superstring Graph. Propositions [Cazaux et al. 2015] ◮ The size of the Superstring Graph is linear in the size of the input. ◮ We can build the Superstring Graph in liner time in the size of the input. ◮ A labeled eulerian cycle of the Superstring Graph is a solution of the greedy algorithm for the Shortest Cyclic Cover of Strings problem. Bastien Cazaux and Eric Rivals ∗ 11 / 1

  37. Superstring Graph on the EHOG abb ababb aab b ab abb ε b a a aa aa abba abaa Bastien Cazaux and Eric Rivals ∗ 12 / 1

  38. Why do we want to compute the Superstring Graph? Bastien Cazaux and Eric Rivals ∗ 13 / 1

  39. Application 1: Compute bounds for optimal solution of SLS Bastien Cazaux and Eric Rivals ∗ 14 / 1

  40. Application 1: Compute bounds for optimal solution of SLS Bastien Cazaux and Eric Rivals ∗ 14 / 1

  41. Application 1: Compute bounds for optimal solution of SLS A B C Bastien Cazaux and Eric Rivals ∗ 14 / 1

  42. Application 1: Compute bounds for optimal solution of SLS c a b A B C Bastien Cazaux and Eric Rivals ∗ 14 / 1

  43. Application 1: Compute bounds for optimal solution of SLS c a b A B C With a ≥ b and a ≥ c, A + a + B + C ≤ | Optimal solution of SLS | ≤ A + a + B + b + C + c Bastien Cazaux and Eric Rivals ∗ 14 / 1

  44. Application 1: Compute bounds for optimal solution of SLS c a b A B C With a ≥ b and a ≥ c, A + a + B + C ≤ | Optimal solution of SLS | ≤ A + a + B + b + C + c Results on real data [Cazaux et al. 2018] Input: E. coli genome of 50x: 4 503 422 reads (454 845 622 symbols) Result: length of optimal solutions between 187 250 434 and 187 250 672 A difference of 710 symbols ( 0,00038 % ) Bastien Cazaux and Eric Rivals ∗ 14 / 1

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend