I have a bunch of refseq assembly genome number like
Now I want to use these to search which genome it is , for example, the first one is
Escherichia coli strain MOD1-EC3823, I try to use efetch to achieve this, but seems it does not work, it says
"urllib.error.HTTPError: HTTP Error 400: Bad Request" here is my python code:
from Bio import Entrez Entrez.email = "firstname.lastname@example.org" ID = open("assembly_ID").read() handle = Entrez.efetch(db="assembly", id= ID, rettype="gb") print(handle.read())
Does anyone have any idea?