fn() sumOfPairsScore
Given a multiple alignment, this function calculates the sum-of-pairs score.

Defined in <seqan/graph_msa.h>
Signature TScoreValue sumOfPairsScore(graph, scoringScheme);


graph An AlignmentGraph to use for the evaluation.
ScoringScheme The Score to use.

Return Values

TScoreValue The SOP score of the MSA (Metafunction: Value of the type of scoringScheme).

Detailed Description

This function does NOT assume independent columns. That is, gap openings are properly scored. If you want the fast version assuming independ columns use sumOfPairsScoreInd.

Data Races

If not stated otherwise, concurrent invocation is not guaranteed to be thread-safe.