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

representation size? #28

Open
Glucksistemi opened this issue Jun 7, 2024 · 6 comments
Open

representation size? #28

Glucksistemi opened this issue Jun 7, 2024 · 6 comments

Comments

@Glucksistemi
Copy link

I have a structure with molecule in a water box. If I set 'ball_and-stick' representation to water, i get something like this:
fig.1
In Mol* itself I can set size of representation items (see figure below) but I found no option to control it from MVS.
изображение

So, is there a way to control such aspects of visualisation from MVS structure?

@sbittrich
Copy link
Member

Hi @Glucksistemi,

That's not possible at the moment. MolViewSpec only supports a small subset of the options available in Mol*. However, we are adding more detailed parameters as we go. Size (and transparency/opacity) are good candidates for that.

@Glucksistemi
Copy link
Author

@JonStargaryen, thank you for reply! I already found that it's not possible, but I hope that case I explained in this topic will help you with priorities for further development of MVS

@Raiyan-Rizwan
Copy link

Hi,
I wanted to ask if the feature to resize representations was added to MolViewSpec. It would be really helpful for me if it was available.

Thanks

@sbittrich
Copy link
Member

Hi @Raiyan-Rizwan,

Not yet available but scheduled to be added soon. Thank you for your patience.

@Raiyan-Rizwan
Copy link

Ok no worries. However, I was having issues visualizing protein structures with their respective cluster files(which represent the binding sites). However, each time I create the builder, get its state, upload it to Amazon AWS, and launch an HTML file to view it, the visualization page pops up on google, and keeps on loading until the browser crashes. I face this issue with files larger than 600 kilobytes. The problem is that majority of my cluster files are atleast 1,000 kilobytes, and I need to visualize each cluster file separately alongside their respective protein structures. Here is a sample cluster file I use. Let me know if you can provide me with a solution to this issue.

6YAC_1_cluster_1.zip

Just for your reference, if it helps you suggest me solutions, the cluster files which do load look like this: And this is what I am aiming for with the other files.
test1

@dsehnal
Copy link
Member

dsehnal commented Nov 13, 2024

I think instead of this, it might make more sense to use the upcoming geometrical primitives. This is a Mol* issue -- Mol* is not well equipped to render such small structures with 23k chains, one atom each... essentially the structure representation algorithm goes haywire.

But I think the MVS primitives (once fully available, for now you would have to construct the mesh manually) should be able to handles rendering this many spheres quite easily.

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

4 participants