Skip to content
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

Efficient query for protein target classification #104

Open
BlakeList opened this issue May 17, 2021 · 0 comments
Open

Efficient query for protein target classification #104

BlakeList opened this issue May 17, 2021 · 0 comments

Comments

@BlakeList
Copy link

BlakeList commented May 17, 2021

Hi there,

I am wondering what is the most efficient way to get the protein target classification (e.g. Ion channel > Voltage-gated ion channel > Voltage-gated sodium channel) for a given chembl_id (e.g. CHEMBL4296) using chembl_webresource_client?

At the moment I am creating instances of the client for target, target_component, and protein_class so that I can get the 'component_id', 'protein_classification_id', and finally, the protein classification (e.g. 'l1). This can take a little bit of time if querying many gene targets and seems overly complicated, so I was wondering if there is a more elegant way to do this query using the package (as opposed to a standard SQL query to the API using a prebuilt chembl db).

Thank you,
Blake

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant