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 load my own channels data in LiteMol #70

Open
jingyile opened this issue Jun 27, 2021 · 6 comments
Open

how to load my own channels data in LiteMol #70

jingyile opened this issue Jun 27, 2021 · 6 comments

Comments

@jingyile
Copy link

Hello!
I am working on implementing the molecular viewer "LiteMol" on my html webpage. The plugin is working great in examples/Channels.
I found that the version of mole in data.json is 2.5.17.9.28, but my mole version in my own data.json is 2.5.17.4.24.(I found the current version of mole is 2.5.17.4.24 too, http://webchem.ncbr.muni.cz/Platform/App/Mole)
I can't display my own channel data. I guess this is a version problem, but I don't sure.
I desperately need your help! please!

my own data.json:
image
your data.json:
image

this is the issues:
image

@dsehnal
Copy link
Owner

dsehnal commented Jun 28, 2021

Hi,

it seems like your output doesn't contain the geometry of the channels. I don't remember it from the top of my head, but there is an option that adds that to the output.

David

@jingyile
Copy link
Author

Thank you very much for your reply!
Please take a look at this link, I want to know the source of data.json. I produced this file by the command line version of MOLE, but the structure of the data is different from yours.
So I want to know the version of MOLE that you used, or what adjustments can I make to display my data.
This problem has bothered me for many days.
in a word, I want to display my own channel data, my data.json is produced by the MOLE(version:2.5.17.4.24)
please help me. thank you very much!
data.json.zip

and I use LiteMol-example.js that from (https://litemol.org/Examples/Channels/).
image

@dsehnal
Copy link
Owner

dsehnal commented Jun 29, 2021

I am sorry, but this is more involved than I have time to help with now so you will have to figure out things on your own. I no longer develop LiteMol as I've shifted my efforts to develop Mol*. Writing an extension for Mol* that can display channels might be a good thing for community do. Do you think you can help with that?

@jingyile
Copy link
Author

jingyile commented Jul 3, 2021

I am honored to receive your suggestions. I also think this is a good idea.
But I am a student, and i don’t have much time to participate in it now.
I must try to display channels by LiteMol first.
if I hava enought time to do it in the future, I'm happy to try it.

By the way, do you have a mole of version 2.5.17.9.28? I am looking for it.
I can't find it in http://webchem.ncbr.muni.cz/Platform/App/Mole.
Thanks!

@dsehnal
Copy link
Owner

dsehnal commented Jul 3, 2021

That version isn't available online and it won't help you achieve your goal. The purpose of the LiteMol demo was to show how to do some custom visualizations in LiteMol, not for it to serve as a working app to display any channel.

As an alternative, can you compute your channels in https://mole.upol.cz/ ? You can then link to a result with the channels displayed, for example https://mole.upol.cz/online/fzSWlM4cWEqUmJ3EyRy7Qw/1 .

@jingyile
Copy link
Author

jingyile commented Jul 3, 2021

hahah!
I found that this output file(data.json) really has nothing to do with the version.
I happened to try this online version today. I also think I can achieve the same effect through the online version.
I will discuss with my mentor.
Your reply is very useful!
thank you!

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