You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the ranker (DataManipulators/Counter.py) runs one query to PubChem for each compound in the dataset. Obviously this is incredibly slow and laborious but could be made faster with one query.
Could use SQLs GROUP statement to group by CIDs and query for all of the CIDs in the dataset at once to get the counts. This is easily possible with bioassays since each bioassay has only one CID. However, the biosystems have multiple CIDs so cannot group by CIDs. Maybe there is an alternative solution though...
The text was updated successfully, but these errors were encountered:
Currently the ranker (
DataManipulators/Counter.py
) runs one query to PubChem for each compound in the dataset. Obviously this is incredibly slow and laborious but could be made faster with one query.A request to https://pubchem.ncbi.nlm.nih.gov/sdq/sdqagent.cgi takes an SQL query string encoded in JSON as the query.
Example JSON:
Could use SQLs GROUP statement to group by CIDs and query for all of the CIDs in the dataset at once to get the counts. This is easily possible with bioassays since each bioassay has only one CID. However, the biosystems have multiple CIDs so cannot group by CIDs. Maybe there is an alternative solution though...
The text was updated successfully, but these errors were encountered: