Representation of a substitution matrix for alignment cost calculations.

Namespace:  BioSharp.Core.Bio.Alignment
Assembly:  BioSharp.Core (in BioSharp.Core.dll) Version: 0.1.3191.26120 (


public class SubstitutionMatrix


This object is able to read a substitution matrix file and constructs an int matrix to store the matrix. Every single element of the matrix can be accessed by the method GetValueAt with the parameters being two biosharp symbols. This is why it is not necessary to access the matrix directly. If there is no value for the two specified ISymbols an Exception is thrown.

Substitution matrix files, are available at the NCBI FTP directory -

Original BioJava version by Andreas Dräger. Port to C# by Doug Swisher.

Inheritance Hierarchy


See Also