Package Bio :: Package WWW :: Module InterPro
[hide private]
[frames] | no frames]

Source Code for Module Bio.WWW.InterPro

 1  # Copyright 2001 by Katharine Lindner.  All rights reserved. 
 2  # This code is part of the Biopython distribution and governed by its 
 3  # license.  Please see the LICENSE file that should have been included 
 4  # as part of this package. 
 5   
 6  """ 
 7  This module provides code to access resources at InterPro over the WWW. 
 8  http://www.ebi.ac.uk/interpro 
 9   
10   
11  Functions: 
12  get_interpro_entry 
13   
14  """ 
15  import time 
16  import urllib 
17   
18  from Bio import File 
19   
20   
21 -def get_interpro_entry( id ):
22 """get specified interpro entry""" 23 handle = urllib.urlopen("http://www.ebi.ac.uk/interpro/IEntry?ac=" + id ) 24 25 # XXX need to check to see if the entry exists! 26 return handle
27