-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Optimal query for literature references linking targets and ligands #94
Comments
That query looks good for fetching the publications that we have for reporting each known target ligand interaction. There are a couple of things to add.
If you want to run this query for all targets, you'll probably have to paginate the results, or else it will be slow, and have a very large response. It seems your doing that already, so that's good.
The other thing to consider is that the data in TCRD (and subsequently Pharos) is a subset of ligand activities that come primarily from DrugCentral and Chembl, where activities below a threshold are not included.
If you want data outside those criteria, you'd probably want to get data straight from Chembl and DrugCentral. |
Thanks again @KeithKelleher, that's extremely helpful! We'll try those improvements and you can close this if you'd like, otherwise I'll leave it open and report back for the sake of posterity (or if any other questions come up). |
Glad to help. Yes, let us know how it goes, and if there's anything else. |
@KeithKelleher, thank you very much for your advice. We have run the following query looping over the offset and limit values. queryquery ($offset: Int!, $limit: Int!) { We found out that the default is to extract maximum 10 ligands per protein, so to override it, we need to add a
The counts of unique proteins and unique protein-ligids combinations are almost identical. Curiously, we extract little bit more records from |
I would like to know what publications associate targets and ligands such that the publications explicitly note some interaction/relationship between the pair (not just the target or just the ligand). The query in #93 seemed like a reasonable place to start. Is there a better way to do this?
I would also like to run this query infrequently (monthly or quarterly at most) and with no filter, i.e. I'd like to capture all ligand <-> target relationships with citations.
Any suggestions on the best way to accomplish this would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: