Class SubstitutionMatrixHelper
java.lang.Object
org.biojava.nbio.core.alignment.matrices.SubstitutionMatrixHelper
- All Implemented Interfaces:
Serializable
Static utility to access substitution matrices that come bundled with BioJava. All matrices were downloaded from
ftp://ftp.ncbi.nih.gov/blast/matrices/
- Author:
- Mark Chapman, Paolo Pavan
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SubstitutionMatrix<AminoAcidCompound>
Returns a substitution matrix foramino acids
given by the namename
.static SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 100 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 30 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 35 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 40 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 45 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 50 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 55 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 60 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 62 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 65 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 70 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 75 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 80 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 85 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns Blosum 90 matrix by Henikoff & Henikoffstatic SubstitutionMatrix<AminoAcidCompound>
Returns PAM 250 matrix by Gonnet, Cohen & Bennerstatic SubstitutionMatrix<AminoAcidCompound>
static SubstitutionMatrix<AminoAcidCompound>
getMatrixFromAAINDEX
(String matrixName) Returns any matrix from the AAINDEX database filestatic SubstitutionMatrix<NucleotideCompound>
Returns Nuc 4.2 matrix by Lowe Only the first nucleotide sequence to align can contain ambiguous nucleotidesstatic SubstitutionMatrix<NucleotideCompound>
Returns Nuc 4.4 matrix by Lowe Both of the nucleotide sequences to align can contain ambiguous nucleotidesstatic SubstitutionMatrix<AminoAcidCompound>
Returns PAM 250 matrix by Dayhoff
-
Method Details
-
getMatrixFromAAINDEX
Returns any matrix from the AAINDEX database file- Parameters:
matrixName
-- Returns:
- a
SubstitutionMatrix
-
getIdentity
-
getBlosum100
Returns Blosum 100 matrix by Henikoff & Henikoff- Returns:
- Blosum 100 matrix
-
getBlosum30
Returns Blosum 30 matrix by Henikoff & Henikoff- Returns:
- Blosum 30 matrix
-
getBlosum35
Returns Blosum 35 matrix by Henikoff & Henikoff- Returns:
- Blosum 35 matrix
-
getBlosum40
Returns Blosum 40 matrix by Henikoff & Henikoff- Returns:
- Blosum 40 matrix
-
getBlosum45
Returns Blosum 45 matrix by Henikoff & Henikoff- Returns:
- Blosum 45 matrix
-
getBlosum50
Returns Blosum 50 matrix by Henikoff & Henikoff- Returns:
- Blosum 50 matrix
-
getBlosum55
Returns Blosum 55 matrix by Henikoff & Henikoff- Returns:
- Blosum 55 matrix
-
getBlosum60
Returns Blosum 60 matrix by Henikoff & Henikoff- Returns:
- Blosum 60 matrix
-
getBlosum62
Returns Blosum 62 matrix by Henikoff & Henikoff- Returns:
- Blosum 62 matrix
-
getBlosum65
Returns Blosum 65 matrix by Henikoff & Henikoff- Returns:
- Blosum 65 matrix
-
getBlosum70
Returns Blosum 70 matrix by Henikoff & Henikoff- Returns:
- Blosum 70 matrix
-
getBlosum75
Returns Blosum 75 matrix by Henikoff & Henikoff- Returns:
- Blosum 75 matrix
-
getBlosum80
Returns Blosum 80 matrix by Henikoff & Henikoff- Returns:
- Blosum 80 matrix
-
getBlosum85
Returns Blosum 85 matrix by Henikoff & Henikoff- Returns:
- Blosum 85 matrix
-
getBlosum90
Returns Blosum 90 matrix by Henikoff & Henikoff- Returns:
- Blosum 90 matrix
-
getGonnet250
Returns PAM 250 matrix by Gonnet, Cohen & Benner- Returns:
- Gonnet 250 matrix
-
getNuc4_2
Returns Nuc 4.2 matrix by Lowe Only the first nucleotide sequence to align can contain ambiguous nucleotides- Returns:
- Nuc 4.2 matrix
-
getNuc4_4
Returns Nuc 4.4 matrix by Lowe Both of the nucleotide sequences to align can contain ambiguous nucleotides- Returns:
- Nuc 4.4 matrix
-
getPAM250
Returns PAM 250 matrix by Dayhoff- Returns:
- PAM 250 matrix
-
getAminoAcidSubstitutionMatrix
Returns a substitution matrix foramino acids
given by the namename
. Searches first in the default AAINDEX file (see @linkgetMatrixFromAAINDEX(String)
), then in the classpath. If the required matrix does not exist, null is returned. Example names:- blosum62
- JOND920103
- pam250
- gonnet250
- Parameters:
name
- Either a common name or an AAINDEX name
-