Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package


query_entrez Namespace Reference


string my_browser = 'lynx'
tuple result_file = open(result_file_name, 'w')
tuple result_file_name = os.path.join(os.getcwd(), 'results.html')
tuple result_handle
string return_format = 'FASTA'
string search_command = 'Search'
string search_database = 'Nucleotide'
string search_term = 'Cypripedioideae'

Detailed Description

Example code for querying Entrez and saving the results.

This code is meant to go with the 'Connecting with biological databases'
section of the Tutorial demonstrates Entrez connectivity.

See http://www.ncbi.nlm.nih.gov/entrez/query/static/linking.html for
more help understanding the parameters passed.

This also requires a web browser to run -- either netscape or lynx
are supported in this example.

Generated by  Doxygen 1.6.0   Back to index