prune_levels function

Prune not used taxonomic ranks