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

How to do a custom query from a local file #58

Open
Inspriatio opened this issue Nov 21, 2019 · 1 comment
Open

How to do a custom query from a local file #58

Inspriatio opened this issue Nov 21, 2019 · 1 comment

Comments

@Inspriatio
Copy link

Inspriatio commented Nov 21, 2019

I am reading a pdb file from a local file. Can I do a custom query? For example, querying the 3D structure of a certain residue of the sequence?

<pdb-lite-mol pdb-id="'1cbs'" custom-query="residues?seqNumber=111" hide-controls="true" load-ed-maps="true"></pdb-lite-mol>
Reading the protein id can be done, but reading the local file can't be done. Is there any way to solve it? Thank you in advance
<pdb-lite-mol pdb-id="'1cbs'" source-url="http://localhost/pdbFile/1cbs.pdb" source-format="pdb" custom-query="residues?seqNumber=111" hide-controls="true" load-ed-maps="true"></pdb-lite-mol>

@dsehnal
Copy link
Owner

dsehnal commented Nov 22, 2019

Well, this custom query actually just downloads the appropriate residues from the coordinate server.

The commands example shows how to do queries on any loaded structure: Commands [ source | view live ]

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

2 participants