Skip to content

Instantly share code, notes, and snippets.

@chapmanb
Created February 9, 2010 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chapmanb/299035 to your computer and use it in GitHub Desktop.
Save chapmanb/299035 to your computer and use it in GitHub Desktop.
from systemsbio import *
server = Biogateway()
results = server.search("Homo sapiens",
[RetrieveProtein(), RetrieveInteractor()],
[SelectByGOTerm('insulin'), SelectByDisease('diabetes')])
print results.dtype.names
result = results[0]
print result['protein'], result['interactor'], result['GO_term']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment