[Biopython] get more than 20 IDs in IdList

Mark Budde markbudde at gmail.com
Thu Dec 6 00:53:01 UTC 2012


Can someone help me understand how to get more than 20 records in the
IdList from esearch?

>>> from Bio import Entrez
>>> Entrez.email = "markbudde at gmail.com"
>>> handle = Entrez.esearch(db="protein",term="txid9606[Orgn] AND cftr")
>>> record = Entrez.read(handle)
>>> len(record["IdList"])
20
>>> record["Count"]
'354'


It seems that I can only ever get 20 IDs in the "IdList", even though the
"Count" can be much higher.
Thanks,
Mark



More information about the Biopython mailing list