I have a vector that has strings of different length: As the example below:
head(taxon)
[1] "d_Bacteria|g_Thermobaculum"