I would like to acces to the reference genome RefSeq UID given a taxonomy id using the Genome database with biopython.
I will try to explain with images what I mean. I search in the Genome database using a taxonomy id. It returns me a single result, then i click on the "Reference genome" link.
Now I scroll to the bottom of the page and get RefSeq reference genome UID for the given taxonomy ID.
Sorry I think I did not explain myself correctly. I want to type a code that returns the RefSec reference genome UID and as input you only give it the taxonomy ID. So later I can fetch it from nucleotide db as you posted (this I already know how to do it).
If you must use biopython then you should be able to use
Bio.entrez
package (LINK).Using Entrezdirect you can simply do:
Sorry I think I did not explain myself correctly. I want to type a code that returns the RefSec reference genome UID and as input you only give it the taxonomy ID. So later I can fetch it from nucleotide db as you posted (this I already know how to do it).