Obtaining taxonomic ranks for genome accession numbers

How can I obtain the whole list of GTDB-taxonomic ranks (e.g.: d_Archaea;c_Methanobacteriota;[…]) for a collection of individual genome accession numbers in a convenient way?

Hello,
You can parse the taxonomy files available under Downloads on the GTDB website to obtain a specific list of genomes and their taxonomy strings.

Thanks,
Pierre