def fixed_length_vector_encoded_sequences(self, vector_encoding_name):
cache_key = (<EOL>"<STR_LIT>",<EOL>vector_encoding_name)<EOL>if cache_key not in self.encoding_cache:<EOL><INDENT>index_encoded_matrix = amino_acid.index_encoding(<EOL>self.fixed_length_sequences.values,<EOL>amino_acid.AMINO_ACID_INDEX)<EOL>vector_encoded = amino_acid.fixed_vectors_encoding(<EOL>index_encoded_matrix,<EOL>amino_acid.ENCODING_DATA_FRAMES[vector_encoding_name])<EOL>result = vector_encoded[self.indices]<EOL>self.encoding_cache[cache_key] = result<EOL><DEDENT>return self.encoding_cache[cache_key]<EOL>
Encode alleles.

Parameters
----------
vector_encoding_name : string
    How to represent amino acids.
    One of "BLOSUM62", "one-hot", etc. Full list of supported vector
    encodings is given by available_vector_encodings() in amino_acid.

Returns
-------
numpy.array with shape (num sequences, sequence length, m) where m is
vector_encoding_length(vector_encoding_name)