Hi! I am writing a python script to obtain the taxonomic classification to the phylum level of some protein sequences. I currently have the NCBI accession numbers (see question Retrieving taxonomy from entrez search in biopython). I realized that I need the taxon ID to search it in the taxonomy database to obtain the information about the phylum. Do you know how to do this in Python?
Thank you!