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

Function align

Align/align.cc:93–106  ·  view source on GitHub ↗

Align the specified sequences. */

Source from the content-addressed store, hash-verified

91
92/** Align the specified sequences. */
93static void align(const vector<string>& seq, ostream& out)
94{
95 switch (seq.size()) {
96 case 0:
97 return;
98 case 1:
99 out << seq.front() << '\n' << 1 << "\n\n";
100 return;
101 case 2:
102 return alignPair(seq[0], seq[1], out);
103 default:
104 return alignMulti(seq, out);
105 }
106}
107
108
109/** Align multiple sequences. */

Callers 3

alignFileFunction · 0.70
getAlignmentIdentityFunction · 0.50
connectPairsFunction · 0.50

Calls 4

alignPairFunction · 0.70
alignMultiFunction · 0.70
sizeMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected