Align the sequences of the specified paths. * @return the consensus sequence */
| 691 | * @return the consensus sequence |
| 692 | */ |
| 693 | static ContigPath align(const Graph& g, const vector<Path>& sequences, |
| 694 | ofstream& out) |
| 695 | { |
| 696 | assert(sequences.size() > 1); |
| 697 | return sequences.size() == 2 |
| 698 | ? alignPair(g, sequences, out) |
| 699 | : alignMulti(g, sequences, out); |
| 700 | } |
| 701 | |
| 702 | /** Return the consensus sequence of the specified gap. */ |
| 703 | static ContigPath fillGap(const Graph& g, |
no test coverage detected