MCPcopy Create free account
hub / github.com/BirolLab/abyss / alignMulti

Function alignMulti

Align/align.cc:83–90  ·  view source on GitHub ↗

Align multiple sequences using DIALIGN-TX. */

Source from the content-addressed store, hash-verified

81
82/** Align multiple sequences using DIALIGN-TX. */
83static void alignMulti(const vector<string>& seq, ostream& out)
84{
85 unsigned match;
86 string alignment;
87 string consensus = dialign(seq, alignment, match);
88 float identity = (float)match / consensus.size();
89 out << alignment << consensus << '\n' << identity << "\n\n";
90}
91
92/** Align the specified sequences. */
93static void align(const vector<string>& seq, ostream& out)

Callers 1

alignFunction · 0.70

Calls 2

dialignFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected