crested.utils.hot_encoding_to_sequence

crested.utils.hot_encoding_to_sequence#

crested.utils.hot_encoding_to_sequence(one_hot_encoded_sequence)#

Decode a one hot encoded sequence to a DNA sequence string.

Parameters:

one_hot_encoded_sequence (ndarray) – A numpy array with shape (x, 4) with dtype=np.float32.

Return type:

str

Returns:

The DNA sequence string of length x.