The relationship between the structure of nucleotide sequences, the function they encode, and the taxonomy of the host is an important subject of study for molecular biologists and bioinformaticians, as well as specialists in processing big data arrays. There are various approaches in this direction; one of them is connected with the study of the relationship between the structure of biological macromolecules (specifically, bacterial ribosomal RNA molecules) and the taxonomy of their carriers. For these organisms, 16S RNA sequences are a classic subject of study. However, of no less interest is the study of the relationship be-tween structure and taxonomy for other sequences. In the framework of this work, we studied the relationship between structure and taxonomy using bacterial 5S RNA sequences as an example.