code: public static SubstitutionMatrix<AminoAcidCompound> getAminoAcidSubstitutionMatrix(String name) {
  		SubstitutionMatrix<AminoAcidCompound> matrix = getMatrixFromAAINDEX(name);
  		if (matrix != null) return matrix;
  		return getAminoAcidMatrix(name);
  	}
docs: Returns a substitution matrix for {@link AminoAcidCompound amino acids} given by the name {@code name}.
  Searches first in the default AAINDEX file (see @link {@link #getMatrixFromAAINDEX(String)}), then in the classpath.
  If the required matrix does not exist, null is returned.
  Example names:
  <ul>
  <li>blosum62</li>
  <li>JOND920103</li>
  <li>pam250</li>
  <li>gonnet250</li>
  </ul>
  @param name Either a common name or an AAINDEX name