next up previous contents index
Next: Multiple comparisons Up: Dynamic programming for sequence Previous: Local versus global alignment   Contents   Index

Similarity versus distance scores

Each scoring matrix contains a flag determining whether it is a distance or similarity matrix. An appropriate optimization is used automatically. This is achieved by using exactly the same code except that one side of comparisons is multiplied by $ -1$ when dealing with similarities as opposed to distances.



Automatic builds 2009-06-12