Created
February 26, 2013 12:01
-
-
Save aschreyer/5037974 to your computer and use it in GitHub Desktop.
USRCAT search with one of the OSDD Malaria compounds, OSM-S-35. The SMILES strings were obtained by using chemicalize.org on the relevant OSDD blog post. Two stereoisomers were found for OSM-S-35 and a conformer generated for each with OpenEye's OMEGA toolkit.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
headers = {'accept': 'application/json'} | |
files = {'file': open('/home/adrian/Dropbox/OSM-S-35-I.sdf')} | |
response = requests.post('http://marid.bioc.cam.ac.uk/credo/chemcomps/sim/usr/', | |
headers=headers, files=files, params={'usrcat':'t', 'limit':25}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment