poli.objective_repository.gfp_cbas.cbas_alphabet_preprocessing.one_hot_encode_dna

poli.objective_repository.gfp_cbas.cbas_alphabet_preprocessing.one_hot_encode_dna#

poli.objective_repository.gfp_cbas.cbas_alphabet_preprocessing.one_hot_encode_dna(dna_str, pad=None, base_order='ATCG')#

Convert length M string into M x 4 tokenized array