Back to index

python-biopython  1.60
Namespaces | Functions | Variables
query_pubmed.py File Reference

Go to the source code of this file.

Namespaces

namespace  query_pubmed

Functions

def query_pubmed.print_usage

Variables

list query_pubmed.query = args[0]
 query_pubmed.show_help = False
 query_pubmed.count_only = False
tuple query_pubmed.handle = Entrez.esearch(db="pubmed", term=query)
tuple query_pubmed.search_results = Entrez.read(handle)
list query_pubmed.ids = search_results["IdList"]
tuple query_pubmed.count = len(ids)
list query_pubmed.webenv = search_results["WebEnv"]
list query_pubmed.query_key = search_results["QueryKey"]
int query_pubmed.batch_size = 3
tuple query_pubmed.end = min(count, start+batch_size)
tuple query_pubmed.fetch_handle
tuple query_pubmed.data = fetch_handle.read()