Class DefaultAAIndexProvider
java.lang.Object
org.biojava.nbio.core.alignment.matrices.DefaultAAIndexProvider
- All Implemented Interfaces:
AAIndexProvider
The default provider for AAINDEX loads substitution matrices from the AAINDEX file in the resources directory
- Author:
- Andreas Prlic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets a substitution matrix by its name.
-
Constructor Details
-
DefaultAAIndexProvider
public DefaultAAIndexProvider()
-
-
Method Details
-
getMatrix
Description copied from interface:AAIndexProvider
Gets a substitution matrix by its name. The matrices are defined in src/main/resources/matrices/AAINDEX.txt- Specified by:
getMatrix
in interfaceAAIndexProvider
- Parameters:
matrixName
-- Returns:
- The @{code}SubstitutionMatrix or null if not exists
-
getInputStreamToAAindexFile
-